47 fWorldMaterCmd->
SetGuidance(
"Select Material of the World");
67 fCaptureRCmd->
SetGuidance(
"Set Radius of the Capture Magnet");
74 fCaptureZCmd->
SetGuidance(
"Set Length of the Capture Magnet");
81 fCaptureB1Cmd->
SetGuidance(
"Set B1 of the Capture Magnet");
84 fCaptureB1Cmd->
SetRange(
"CSizeB1>0.");
88 fCaptureB2Cmd->
SetGuidance(
"Set B2 of the Capture Magnet");
91 fCaptureB2Cmd->
SetRange(
"CSizeB2>0.");
95 fTransferRCmd->
SetGuidance(
"Set Radius of the Transfer Magnet");
98 fTransferRCmd->
SetRange(
"TSizeR>0.");
102 fTransferZCmd->
SetGuidance(
"Set Length of the Transfer Magnet");
105 fTransferZCmd->
SetRange(
"TSizeZ>0.");
109 fTransferBCmd->
SetGuidance(
"Set B of the Transfer Magnet");
112 fTransferBCmd->
SetRange(
"TSizeB>0.");
116 fTransferPCmd->
SetGuidance(
"Set Z pos of the T-Mgnt from end of C-Mgnt");
122 fTgtMaterCmd->
SetGuidance(
"Select Material of the Target");
128 fTgtRadCmd->
SetGuidance(
"Set Radius of the Target");
131 fTgtRadCmd->
SetRange(
"TgtSizeR>0.");
135 fTgtThickCmd->
SetGuidance(
"Set Thickness of the Target");
138 fTgtThickCmd->
SetRange(
"TgtSizeZ>0.");
142 fTgtPosCmd->
SetGuidance(
"Set Z pos of the tgt relative to C-Mgnt centre");
149 SetGuidance(
"Set the angle [in deg] of the Tgt relative to C-Mgnt centre");
153 fDgrMaterCmd->
SetGuidance(
"Select Material of the Degrader");
159 fDgrRadCmd->
SetGuidance(
"Set Radius of the Degrader");
162 fDgrRadCmd->
SetRange(
"DrgSizeR>0.");
166 fDgrThickCmd->
SetGuidance(
"Set Thickness of the Degrader");
169 fDgrThickCmd->
SetRange(
"DgrSizeZ>0.");
173 fDgrPosCmd->
SetGuidance(
"Set Z pos of the Dgr relative to T-Mgnt centre");
179 fUpdateCmd->
SetGuidance(
"Update field04 geometry");
180 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
181 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
192 delete fWorldMaterCmd;
198 delete fCaptureB1Cmd;
199 delete fCaptureB2Cmd;
201 delete fTransferRCmd;
202 delete fTransferZCmd;
203 delete fTransferBCmd;
204 delete fTransferPCmd;
224 if( command == fWorldMaterCmd )
227 if( command == fTgtMaterCmd )
230 if( command == fDgrMaterCmd )
233 if( command == fWorldRCmd )
236 if( command == fWorldZCmd )
239 if( command == fCaptureRCmd )
242 if( command == fCaptureZCmd )
245 if( command == fCaptureB1Cmd )
248 if( command == fCaptureB2Cmd )
251 if( command == fTransferRCmd )
254 if( command == fTransferZCmd )
257 if( command == fTransferBCmd )
260 if( command == fTransferPCmd )
263 if( command == fTgtRadCmd )
266 if( command == fTgtThickCmd )
269 if( command == fTgtPosCmd )
272 if( command == fTgtAngCmd )
275 if( command == fDgrRadCmd )
278 if( command == fDgrThickCmd )
281 if( command == fDgrPosCmd )
284 if( command == fWorldZCmd )
287 if( command == fWorldRCmd )