Bug #906
CavityMode == Phased gives Electrostatic cavity
Added by Rogers, Chris about 11 years ago.
Updated about 11 years ago.
Start date:
15 February 2012
Description
Workaround - should use CavityMode AutomaticPhasing, but this is not documented anywhere...
Made Victoria and Androula watchers because she was talking about using this feature.
A bit more digging and it looks like that's not good enough... but I think there is a bug, code thinks the cavity is electrostatic. I'll fix it...
- Workflow changed from New Issue to Under Test
Needs line like
frequency = theModule->propertyDoubleThis("Frequency");
added to line 251 of BTFieldConstructor so that it reads
else
{
frequency = theModule->propertyDoubleThis("Frequency");
energyGain = theModule->propertyDoubleThis("PeakEField");
timeDelay = theModule->propertyDoubleThis("TimeDelay");
Previously the frequency was not set and code assumed it was electrostatic...
I applied the patch to G4MICE cvs repository for Andri and maus_rogers repository for everyone else... needs tests before I do the merge into maus trunk
File in G4MICE is BeamTools/src/BTFieldConstructor.cc
- Status changed from Open to Closed
- % Done changed from 0 to 100
- Target version changed from Future MAUS release to MAUS-v0.2.0
Also available in: Atom
PDF