49 fWorldMaterCmd->
SetGuidance(
"Select Material of the World");
69 fCaptureRCmd->
SetGuidance(
"Set Radius of the Capture Magnet");
76 fCaptureZCmd->
SetGuidance(
"Set Length of the Capture Magnet");
83 fTransferRCmd->
SetGuidance(
"Set Radius of the Transfer Magnet");
86 fTransferRCmd->
SetRange(
"TSizeR>0.");
90 fTransferZCmd->
SetGuidance(
"Set Length of the Transfer Magnet");
93 fTransferZCmd->
SetRange(
"TSizeZ>0.");
97 fTransferPCmd->
SetGuidance(
"Set Z pos of the T-Mgnt from end of C-Mgnt");
103 fTgtMaterCmd->
SetGuidance(
"Select Material of the Target");
109 fTgtRadCmd->
SetGuidance(
"Set Radius of the Target");
112 fTgtRadCmd->
SetRange(
"TgtSizeR>0.");
116 fTgtThickCmd->
SetGuidance(
"Set Thickness of the Target");
119 fTgtThickCmd->
SetRange(
"TgtSizeZ>0.");
123 fTgtPosCmd->
SetGuidance(
"Set Z pos of the tgt relative to C-Mgnt centre");
130 SetGuidance(
"Set the angle [in deg] of the Tgt relative to C-Mgnt centre");
134 fDgrMaterCmd->
SetGuidance(
"Select Material of the Degrader");
140 fDgrRadCmd->
SetGuidance(
"Set Radius of the Degrader");
143 fDgrRadCmd->
SetRange(
"DrgSizeR>0.");
147 fDgrThickCmd->
SetGuidance(
"Set Thickness of the Degrader");
150 fDgrThickCmd->
SetRange(
"DgrSizeZ>0.");
154 fDgrPosCmd->
SetGuidance(
"Set Z pos of the Dgr relative to T-Mgnt centre");
160 fUpdateCmd->
SetGuidance(
"Update field04 geometry");
161 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
162 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
173 delete fWorldMaterCmd;
180 delete fTransferRCmd;
181 delete fTransferZCmd;
182 delete fTransferPCmd;
202 if( command == fWorldMaterCmd )
205 if( command == fTgtMaterCmd )
208 if( command == fDgrMaterCmd )
211 if( command == fWorldRCmd )
214 if( command == fWorldZCmd )
217 if( command == fCaptureRCmd )
220 if( command == fCaptureZCmd )
223 if( command == fTransferRCmd )
226 if( command == fTransferZCmd )
229 if( command == fTransferPCmd )
232 if( command == fTgtRadCmd )
235 if( command == fTgtThickCmd )
238 if( command == fTgtPosCmd )
241 if( command == fTgtAngCmd )
244 if( command == fDgrRadCmd )
247 if( command == fDgrThickCmd )
250 if( command == fDgrPosCmd )
253 if( command == fWorldZCmd )
256 if( command == fWorldRCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetTargetAngle(G4int)
virtual ~F04DetectorMessenger()
void SetTransferMgntLength(G4double)
static G4int GetNewIntValue(const char *paramString)
void SetDegraderPos(G4double)
void SetTargetThickness(G4double)
void SetDegraderMaterial(G4String)
void SetCaptureMgntLength(G4double)
void SetTargetMaterial(G4String)
F04DetectorMessenger(F04DetectorConstruction *)
static G4double GetNewDoubleValue(const char *paramString)
virtual void SetNewValue(G4UIcommand *, G4String)
void SetDegraderRadius(G4double)
void SetWorldSizeZ(G4double)
void SetWorldMaterial(G4String)
Definition of the F04DetectorMessenger class.
void SetCaptureMgntRadius(G4double)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void SetDegraderThickness(G4double)
void SetTargetPos(G4double)
void AvailableForStates(G4ApplicationState s1)
void SetTransferMgntRadius(G4double)
void SetDefaultValue(const char *defVal)
void SetDefaultUnit(const char *defUnit)
void SetTargetRadius(G4double)
void SetWorldSizeR(G4double)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetTransferMgntPos(G4double)