47 : fGlobalField(pEMfield)
55 fCaptureB1Cmd->
SetGuidance(
"Set B1 of the Capture Magnet");
58 fCaptureB1Cmd->
SetRange(
"CSizeB1>0.");
62 fCaptureB2Cmd->
SetGuidance(
"Set B2 of the Capture Magnet");
65 fCaptureB2Cmd->
SetRange(
"CSizeB2>0.");
69 fTransferBCmd->
SetGuidance(
"Set B of the Transfer Magnet");
72 fTransferBCmd->
SetRange(
"TSizeB>0.");
76 fStepperCMD->
SetGuidance(
"Select stepper type for field");
83 fUpdateCMD->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
84 fUpdateCMD->
SetGuidance(
"if you changed field settings.");
101 fDeltaOneStepCMD->
SetGuidance(
"Define delta one step");
106 fDeltaIntersectionCMD =
108 fDeltaIntersectionCMD->
SetGuidance(
"Define delta intersection");
132 delete fCaptureB1Cmd;
133 delete fCaptureB2Cmd;
134 delete fTransferBCmd;
138 delete fDeltaChordCMD;
139 delete fDeltaOneStepCMD;
140 delete fDeltaIntersectionCMD;
151 if( command == fCaptureB1Cmd )
154 if( command == fCaptureB2Cmd )
157 if( command == fTransferBCmd )
160 if( command == fStepperCMD )
164 if( command == fUpdateCMD )
168 if( command == fMinStepCMD )
172 if( command == fDeltaChordCMD )
176 if( command == fDeltaOneStepCMD )
181 if( command == fDeltaIntersectionCMD )
186 if( command == fEpsMinCMD )
190 if( command == fEpsMaxCMD )
void SetCaptureMgntB2(G4double)
void SetEpsMax(G4double eps)
Set the maximum eps length.
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
Definition of the F04GlobalField class.
virtual ~F04FieldMessenger()
Definition of the F04FieldMessenger class.
void SetEpsMin(G4double eps)
Set the minimum eps length.
void UpdateField()
updates all field tracking objects and Clear()
static G4double GetNewDoubleValue(const char *paramString)
Definition of the F04DetectorConstruction class.
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDeltaChord(G4double dcr)
Set the delta chord length.
void SetDefaultUnit(const char *defUnit)
virtual void SetNewValue(G4UIcommand *, G4String)
void SetMinStep(G4double stp)
Set the minimum step length.
void SetDefaultValue(G4int defVal)
void SetTransferMgntB(G4double)
F04FieldMessenger(F04GlobalField *, F04DetectorConstruction *)
void SetCaptureMgntB1(G4double)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetStepperType(G4int i)
Set the Stepper types.