Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SAXSDetectorConstructionMessenger Class Reference

DetectorConstruction messenger. More...

#include <Doxymodules_exoticphysics.h>

Inheritance diagram for SAXSDetectorConstructionMessenger:
G4UImessenger

Public Member Functions

 SAXSDetectorConstructionMessenger (SAXSDetectorConstruction *detconstr)
 
 ~SAXSDetectorConstructionMessenger ()
 
virtual void SetNewValue (G4UIcommand *command, G4String newValues)
 

Private Attributes

SAXSDetectorConstructionfDetector
 
G4UIdirectoryfCmdDir
 
G4UIcmdWithAStringfSetCustomMatFFfilename
 
G4UIcmdWithADoublefSetCustomMatDensityCmd
 
G4UIcmdWithADoublefSetCustomMatHmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatCmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatNmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatOmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatNamassfractCmd
 
G4UIcmdWithADoublefSetCustomMatPmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatSmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatClmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatKmassfractCmd
 
G4UIcmdWithADoublefSetCustomMatCamassfractCmd
 
G4UIcmdWithAnIntegerfPhantomMaterialCmd
 
G4UIcmdWithADoubleAndUnitfPhantomDiameterCmd
 
G4UIcmdWithADoubleAndUnitfPhantomHeightCmd
 
G4UIcmdWithADoubleAndUnitfPhantomZCmd
 
G4UIcmdWithADoublefSetComp0Cmd
 
G4UIcmdWithADoublefSetComp1Cmd
 
G4UIcmdWithADoublefSetComp2Cmd
 
G4UIcmdWithADoublefSetComp3Cmd
 
G4UIcmdWithADoublefThetaSetupCmd
 
G4UIcmdWithABoolfSetSlitsCmd
 
G4UIcmdWithADoubleAndUnitfSlit1ThicknessCmd
 
G4UIcmdWithADoubleAndUnitfSlit2ThicknessCmd
 
G4UIcmdWithADoubleAndUnitfSlit3ThicknessCmd
 
G4UIcmdWithADoubleAndUnitfSlit4ThicknessCmd
 
G4UIcmdWithADoubleAndUnitfSlit1DistanceCmd
 
G4UIcmdWithADoubleAndUnitfSlit2DistanceCmd
 
G4UIcmdWithADoubleAndUnitfSlit3DistanceCmd
 
G4UIcmdWithADoubleAndUnitfSlit4DistanceCmd
 
G4UIcmdWithADoubleAndUnitfSlit1xApertureCmd
 
G4UIcmdWithADoubleAndUnitfSlit2xApertureCmd
 
G4UIcmdWithADoubleAndUnitfSlit3xApertureCmd
 
G4UIcmdWithADoubleAndUnitfSlit4xApertureCmd
 
G4UIcmdWithADoubleAndUnitfSlit1yApertureCmd
 
G4UIcmdWithADoubleAndUnitfSlit2yApertureCmd
 
G4UIcmdWithADoubleAndUnitfSlit3yApertureCmd
 
G4UIcmdWithADoubleAndUnitfSlit4yApertureCmd
 
G4UIcmdWithADoubleAndUnitfDetectorThicknessCmd
 
G4UIcmdWithADoubleAndUnitfDetectorSizeCmd
 
G4UIcmdWithADoubleAndUnitfDetectorDistanceCmd
 

Detailed Description

DetectorConstruction messenger.

Definition at line 65 of file Doxymodules_exoticphysics.h.

Constructor & Destructor Documentation

◆ SAXSDetectorConstructionMessenger()

SAXSDetectorConstructionMessenger::SAXSDetectorConstructionMessenger ( SAXSDetectorConstruction detconstr)

Definition at line 47 of file SAXSDetectorConstructionMessenger.cc.

48 :
49 G4UImessenger(), fDetector(detconstr)
50{
51 fCmdDir = new G4UIdirectory("/det/");
52 fCmdDir->SetGuidance("Detector Control");
53
54 fSetCustomMatFFfilename = new G4UIcmdWithAString("/det/SetCustomMatFF",this);
55 fSetCustomMatFFfilename->SetGuidance("Set CustomMat FF filename");
56 fSetCustomMatFFfilename->SetParameterName("mmff",false);
57 fSetCustomMatFFfilename->AvailableForStates(G4State_PreInit);
58
59 fSetCustomMatDensityCmd = new G4UIcmdWithADouble("/det/setCustomMatDensity",
60 this);
61 fSetCustomMatDensityCmd->SetGuidance("Set density for custom material");
62 fSetCustomMatDensityCmd->SetParameterName("cmden",false);
63 fSetCustomMatDensityCmd->SetRange("cmden>0.");
64 fSetCustomMatDensityCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
65
67 ("/det/setCustomMatHmassfract",this);
69 SetGuidance("Set H mass fraction for custom material");
70 fSetCustomMatHmassfractCmd->SetParameterName("cmHmf",false);
71 fSetCustomMatHmassfractCmd->SetRange("cmHmf>=0.");
72 fSetCustomMatHmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
73
75 ("/det/setCustomMatCmassfract",this);
77 SetGuidance("Set C mass fraction for custom material");
78 fSetCustomMatCmassfractCmd->SetParameterName("cmCmf",false);
79 fSetCustomMatCmassfractCmd->SetRange("cmCmf>=0.");
80 fSetCustomMatCmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
81
83 ("/det/setCustomMatNmassfract",this);
85 ("Set N mass fraction for custom material");
86 fSetCustomMatNmassfractCmd->SetParameterName("cmNmf",false);
87 fSetCustomMatNmassfractCmd->SetRange("cmNmf>=0.");
88 fSetCustomMatNmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
89
91 ("/det/setCustomMatOmassfract",this);
93 ("Set O mass fraction for custom material");
94 fSetCustomMatOmassfractCmd->SetParameterName("cmOmf",false);
95 fSetCustomMatOmassfractCmd->SetRange("cmOmf>=0.");
96 fSetCustomMatOmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
97
99 ("/det/setCustomMatNamassfract",this);
101 SetGuidance("Set Na mass fraction for custom material");
102 fSetCustomMatNamassfractCmd->SetParameterName("cmNamf",false);
103 fSetCustomMatNamassfractCmd->SetRange("cmNamf>=0.");
104 fSetCustomMatNamassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
105
107 ("/det/setCustomMatPmassfract",this);
109 SetGuidance("Set P mass fraction for custom material");
110 fSetCustomMatPmassfractCmd->SetParameterName("cmPmf",false);
111 fSetCustomMatPmassfractCmd->SetRange("cmPmf>=0.");
112 fSetCustomMatPmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
113
115 ("/det/setCustomMatSmassfract",this);
117 SetGuidance("Set S mass fraction for custom material");
118 fSetCustomMatSmassfractCmd->SetParameterName("cmSmf",false);
119 fSetCustomMatSmassfractCmd->SetRange("cmSmf>=0.");
120 fSetCustomMatSmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
121
123 new G4UIcmdWithADouble("/det/setCustomMatClmassfract",this);
125 SetGuidance("Set Cl mass fraction for custom material");
126 fSetCustomMatClmassfractCmd->SetParameterName("cmClmf",false);
127 fSetCustomMatClmassfractCmd->SetRange("cmClmf>=0.");
128 fSetCustomMatClmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
129
131 ("/det/setCustomMatKmassfract",this);
133 SetGuidance("Set K mass fraction for custom material");
134 fSetCustomMatKmassfractCmd->SetParameterName("cmKmf",false);
135 fSetCustomMatKmassfractCmd->SetRange("cmKmf>=0.");
136 fSetCustomMatKmassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
137
139 ("/det/setCustomMatCamassfract",this);
141 SetGuidance("Set Ca mass fraction for custom material");
142 fSetCustomMatCamassfractCmd->SetParameterName("cmCamf",false);
143 fSetCustomMatCamassfractCmd->SetRange("cmCamf>=0.");
144 fSetCustomMatCamassfractCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
145
146 fPhantomMaterialCmd = new G4UIcmdWithAnInteger("/det/setPhantomMaterial",this);
147 fPhantomMaterialCmd->SetGuidance("Set Phantom material");
148 fPhantomMaterialCmd->SetParameterName("PhantomMat",false);
149 fPhantomMaterialCmd->SetRange("PhantomMat>=1 && PhantomMat<=30");
150 fPhantomMaterialCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
151
153 new G4UIcmdWithADoubleAndUnit("/det/setPhantomDiameter",this);
154 fPhantomDiameterCmd->SetGuidance("Set Phantom Diameter");
155 fPhantomDiameterCmd->SetParameterName("PhantomDiameter",false);
156 fPhantomDiameterCmd->SetUnitCategory("Length");
157 fPhantomDiameterCmd->SetRange("PhantomDiameter>0.");
158 fPhantomDiameterCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
159
160 fPhantomHeightCmd = new G4UIcmdWithADoubleAndUnit("/det/setPhantomHeight",this);
161 fPhantomHeightCmd->SetGuidance("Set Phantom Thickness");
162 fPhantomHeightCmd->SetParameterName("PhantomHeight",false);
163 fPhantomHeightCmd->SetUnitCategory("Length");
164 fPhantomHeightCmd->SetRange("PhantomHeight>0.");
165 fPhantomHeightCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
166
167 fPhantomZCmd = new G4UIcmdWithADoubleAndUnit("/det/setPhantomZ",this);
168 fPhantomZCmd->SetGuidance("Set Phantom Z");
169 fPhantomZCmd->SetParameterName("PhantomZ",false);
170 fPhantomZCmd->SetUnitCategory("Length");
171 fPhantomZCmd->SetRange("PhantomZ>=0.");
172 fPhantomZCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
173
174 fSetComp0Cmd = new G4UIcmdWithADouble("/det/setComp0",this);
175 fSetComp0Cmd->SetGuidance("Set Comp0 for medical material");
176 fSetComp0Cmd->SetParameterName("c0",false);
177 fSetComp0Cmd->SetRange("c0>=0.");
178 fSetComp0Cmd->AvailableForStates(G4State_PreInit,G4State_Idle);
179
180 fSetComp1Cmd = new G4UIcmdWithADouble("/det/setComp1",this);
181 fSetComp1Cmd->SetGuidance("Set Comp1 for medical material");
182 fSetComp1Cmd->SetParameterName("c1",false);
183 fSetComp1Cmd->SetRange("c1>=0.");
184 fSetComp1Cmd->AvailableForStates(G4State_PreInit,G4State_Idle);
185
186 fSetComp2Cmd = new G4UIcmdWithADouble("/det/setComp2",this);
187 fSetComp2Cmd->SetGuidance("Set Comp2 for medical material");
188 fSetComp2Cmd->SetParameterName("c2",false);
189 fSetComp2Cmd->SetRange("c2>=0.");
190 fSetComp2Cmd->AvailableForStates(G4State_PreInit,G4State_Idle);
191
192 fSetComp3Cmd = new G4UIcmdWithADouble("/det/setComp3",this);
193 fSetComp3Cmd->SetGuidance("Set Comp3 for medical material");
194 fSetComp3Cmd->SetParameterName("c3",false);
195 fSetComp3Cmd->SetRange("c3>=0.");
196 fSetComp3Cmd->AvailableForStates(G4State_PreInit,G4State_Idle);
197
198 fThetaSetupCmd = new G4UIcmdWithADouble("/det/setThetaSetup",this);
199 fThetaSetupCmd->SetGuidance("Set theta setup (rad)");
200 fThetaSetupCmd->SetParameterName("theta",false);
201 fThetaSetupCmd->SetRange("theta>=0.");
202 fThetaSetupCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
203
204 fSetSlitsCmd = new G4UIcmdWithABool("/det/setSlits", this);
205 fSetSlitsCmd->SetGuidance("set Slits");
206 fSetSlitsCmd->SetParameterName("fIWantSlits",true);
207 fSetSlitsCmd->SetDefaultValue(false);
208
209 fSlit1ThicknessCmd = new G4UIcmdWithADoubleAndUnit("/det/setSlit1Thickness",this);
210 fSlit1ThicknessCmd->SetGuidance("Set Slit1 Thickness");
211 fSlit1ThicknessCmd->SetParameterName("Slit1Thickness",false);
212 fSlit1ThicknessCmd->SetUnitCategory("Length");
213 fSlit1ThicknessCmd->SetRange("Slit1Thickness>0.");
214 fSlit1ThicknessCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
215
216 fSlit2ThicknessCmd = new G4UIcmdWithADoubleAndUnit("/det/setSlit2Thickness",this);
217 fSlit2ThicknessCmd->SetGuidance("Set Slit2 Thickness");
218 fSlit2ThicknessCmd->SetParameterName("Slit2Thickness",false);
219 fSlit2ThicknessCmd->SetUnitCategory("Length");
220 fSlit2ThicknessCmd->SetRange("Slit2Thickness>0.");
221 fSlit2ThicknessCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
222
223 fSlit3ThicknessCmd = new G4UIcmdWithADoubleAndUnit("/det/setSlit3Thickness",this);
224 fSlit3ThicknessCmd->SetGuidance("Set Slit3 Thickness");
225 fSlit3ThicknessCmd->SetParameterName("Slit3Thickness",false);
226 fSlit3ThicknessCmd->SetUnitCategory("Length");
227 fSlit3ThicknessCmd->SetRange("Slit3Thickness>0.");
228 fSlit3ThicknessCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
229
230 fSlit4ThicknessCmd = new G4UIcmdWithADoubleAndUnit("/det/setSlit4Thickness",this);
231 fSlit4ThicknessCmd->SetGuidance("Set Slit4 Thickness");
232 fSlit4ThicknessCmd->SetParameterName("Slit4Thickness",false);
233 fSlit4ThicknessCmd->SetUnitCategory("Length");
234 fSlit4ThicknessCmd->SetRange("Slit4Thickness>0.");
235 fSlit4ThicknessCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
236
238 new G4UIcmdWithADoubleAndUnit("/det/setSlit1SampleDistance",this);
239 fSlit1DistanceCmd->SetGuidance("Set Slit1-to-Sample Distance");
240 fSlit1DistanceCmd->SetParameterName("Slit1dist",false);
241 fSlit1DistanceCmd->SetUnitCategory("Length");
242 fSlit1DistanceCmd->SetRange("Slit1dist>0.");
243 fSlit1DistanceCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
244
246 new G4UIcmdWithADoubleAndUnit("/det/setSlit2SampleDistance",this);
247 fSlit2DistanceCmd->SetGuidance("Set Slit2-to-Sample Distance");
248 fSlit2DistanceCmd->SetParameterName("Slit2dist",false);
249 fSlit2DistanceCmd->SetUnitCategory("Length");
250 fSlit2DistanceCmd->SetRange("Slit2dist>0.");
251 fSlit2DistanceCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
252
254 new G4UIcmdWithADoubleAndUnit("/det/setSlit3SampleDistance",this);
255 fSlit3DistanceCmd->SetGuidance("Set Slit3-to-Sample Distance");
256 fSlit3DistanceCmd->SetParameterName("Slit3dist",false);
257 fSlit3DistanceCmd->SetUnitCategory("Length");
258 fSlit3DistanceCmd->SetRange("Slit3dist>0.");
259 fSlit3DistanceCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
260
262 new G4UIcmdWithADoubleAndUnit("/det/setSlit4SampleDistance",this);
263 fSlit4DistanceCmd->SetGuidance("Set Slit4-to-Sample Distance");
264 fSlit4DistanceCmd->SetParameterName("Slit4dist",false);
265 fSlit4DistanceCmd->SetUnitCategory("Length");
266 fSlit4DistanceCmd->SetRange("Slit4dist>0.");
267 fSlit4DistanceCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
268
270 new G4UIcmdWithADoubleAndUnit("/det/setSlit1xAperture",this);
271 fSlit1xApertureCmd->SetGuidance("Set Slit1 x Aperture");
272 fSlit1xApertureCmd->SetParameterName("Slit1xAp",false);
273 fSlit1xApertureCmd->SetUnitCategory("Length");
274 fSlit1xApertureCmd->SetRange("Slit1xAp>0.");
275 fSlit1xApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
276
278 new G4UIcmdWithADoubleAndUnit("/det/setSlit2xAperture",this);
279 fSlit2xApertureCmd->SetGuidance("Set Slit2 x Aperture");
280 fSlit2xApertureCmd->SetParameterName("Slit2xAp",false);
281 fSlit2xApertureCmd->SetUnitCategory("Length");
282 fSlit2xApertureCmd->SetRange("Slit2xAp>0.");
283 fSlit2xApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
284
286 new G4UIcmdWithADoubleAndUnit("/det/setSlit3xAperture",this);
287 fSlit3xApertureCmd->SetGuidance("Set Slit3 x Aperture");
288 fSlit3xApertureCmd->SetParameterName("Slit3xAp",false);
289 fSlit3xApertureCmd->SetUnitCategory("Length");
290 fSlit3xApertureCmd->SetRange("Slit3xAp>0.");
291 fSlit3xApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
292
294 new G4UIcmdWithADoubleAndUnit("/det/setSlit4xAperture",this);
295 fSlit4xApertureCmd->SetGuidance("Set Slit4 x Aperture");
296 fSlit4xApertureCmd->SetParameterName("Slit4xAp",false);
297 fSlit4xApertureCmd->SetUnitCategory("Length");
298 fSlit4xApertureCmd->SetRange("Slit4xAp>0.");
299 fSlit4xApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
300
302 new G4UIcmdWithADoubleAndUnit("/det/setSlit1yAperture",this);
303 fSlit1yApertureCmd->SetGuidance("Set Slit1 y Aperture");
304 fSlit1yApertureCmd->SetParameterName("Slit1yAp",false);
305 fSlit1yApertureCmd->SetUnitCategory("Length");
306 fSlit1yApertureCmd->SetRange("Slit1yAp>0.");
307 fSlit1yApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
308
310 new G4UIcmdWithADoubleAndUnit("/det/setSlit2yAperture",this);
311 fSlit2yApertureCmd->SetGuidance("Set Slit2 y Aperture");
312 fSlit2yApertureCmd->SetParameterName("Slit2yAp",false);
313 fSlit2yApertureCmd->SetUnitCategory("Length");
314 fSlit2yApertureCmd->SetRange("Slit2yAp>0.");
315 fSlit2yApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
316
318 new G4UIcmdWithADoubleAndUnit("/det/setSlit3yAperture",this);
319 fSlit3yApertureCmd->SetGuidance("Set Slit3 y Aperture");
320 fSlit3yApertureCmd->SetParameterName("Slit3yAp",false);
321 fSlit3yApertureCmd->SetUnitCategory("Length");
322 fSlit3yApertureCmd->SetRange("Slit3yAp>0.");
323 fSlit3yApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
324
326 new G4UIcmdWithADoubleAndUnit("/det/setSlit4yAperture",this);
327 fSlit4yApertureCmd->SetGuidance("Set Slit4 y Aperture");
328 fSlit4yApertureCmd->SetParameterName("Slit4yAp",false);
329 fSlit4yApertureCmd->SetUnitCategory("Length");
330 fSlit4yApertureCmd->SetRange("Slit4yAp>0.");
331 fSlit4yApertureCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
332
334 ("/det/setDetectorThickness",this);
335 fDetectorThicknessCmd->SetGuidance("Set Detector Thickness");
336 fDetectorThicknessCmd->SetParameterName("DetectorThickness",false);
337 fDetectorThicknessCmd->SetUnitCategory("Length");
338 fDetectorThicknessCmd->SetRange("DetectorThickness>0.");
339 fDetectorThicknessCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
340
341 fDetectorSizeCmd = new G4UIcmdWithADoubleAndUnit("/det/setDetectorSize",this);
342 fDetectorSizeCmd->SetGuidance("Set DetectorSize");
343 fDetectorSizeCmd->SetParameterName("scrnsize",false);
344 fDetectorSizeCmd->SetUnitCategory("Length");
345 fDetectorSizeCmd->SetRange("scrnsize>0.");
346 fDetectorSizeCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
347
349 ("/det/setDetectorSampleDistance",this);
350 fDetectorDistanceCmd->SetGuidance("Set Detector Distance");
351 fDetectorDistanceCmd->SetParameterName("detDist",false);
352 fDetectorDistanceCmd->SetUnitCategory("Length");
353 fDetectorDistanceCmd->SetRange("detDist>0.");
354 fDetectorDistanceCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
355}

◆ ~SAXSDetectorConstructionMessenger()

SAXSDetectorConstructionMessenger::~SAXSDetectorConstructionMessenger ( )

Definition at line 359 of file SAXSDetectorConstructionMessenger.cc.

360{
361 delete fCmdDir;
362
375
376 delete fPhantomMaterialCmd;
377 delete fPhantomDiameterCmd;
378 delete fPhantomHeightCmd;
379 delete fPhantomZCmd;
380
381 delete fSetComp0Cmd;
382 delete fSetComp1Cmd;
383 delete fSetComp2Cmd;
384 delete fSetComp3Cmd;
385
386 delete fThetaSetupCmd;
387
388 delete fSetSlitsCmd;
389 delete fSlit1ThicknessCmd;
390 delete fSlit2ThicknessCmd;
391 delete fSlit3ThicknessCmd;
392 delete fSlit4ThicknessCmd;
393 delete fSlit1DistanceCmd;
394 delete fSlit2DistanceCmd;
395 delete fSlit3DistanceCmd;
396 delete fSlit4DistanceCmd;
397 delete fSlit1xApertureCmd;
398 delete fSlit2xApertureCmd;
399 delete fSlit3xApertureCmd;
400 delete fSlit4xApertureCmd;
401 delete fSlit1yApertureCmd;
402 delete fSlit2yApertureCmd;
403 delete fSlit3yApertureCmd;
404 delete fSlit4yApertureCmd;
405
406 delete fDetectorThicknessCmd;
407 delete fDetectorSizeCmd;
408 delete fDetectorDistanceCmd;
409}

Member Function Documentation

◆ SetNewValue()

void SAXSDetectorConstructionMessenger::SetNewValue ( G4UIcommand command,
G4String  newValues 
)
virtual

Definition at line 413 of file SAXSDetectorConstructionMessenger.cc.

415{
416 if (command == fSetCustomMatFFfilename)
417 fDetector->SetCustomMatFF(newValue);
418
419 if (command == fSetCustomMatDensityCmd)
421 (fSetCustomMatDensityCmd->GetNewDoubleValue(newValue));
422
423 if (command == fSetCustomMatHmassfractCmd)
425 (fSetCustomMatHmassfractCmd->GetNewDoubleValue(newValue));
426
427 if (command == fSetCustomMatCmassfractCmd)
429 (fSetCustomMatCmassfractCmd->GetNewDoubleValue(newValue));
430 if (command == fSetCustomMatNmassfractCmd)
432 (fSetCustomMatNmassfractCmd->GetNewDoubleValue(newValue));
433 if (command == fSetCustomMatOmassfractCmd)
435 (fSetCustomMatOmassfractCmd->GetNewDoubleValue(newValue));
436 if (command == fSetCustomMatNamassfractCmd)
438 (fSetCustomMatNamassfractCmd->GetNewDoubleValue(newValue));
439 if (command == fSetCustomMatPmassfractCmd)
441 (fSetCustomMatPmassfractCmd->GetNewDoubleValue(newValue));
442 if (command == fSetCustomMatSmassfractCmd)
444 (fSetCustomMatSmassfractCmd->GetNewDoubleValue(newValue));
445 if (command == fSetCustomMatClmassfractCmd)
447 (fSetCustomMatClmassfractCmd->GetNewDoubleValue(newValue));
448 if (command == fSetCustomMatKmassfractCmd)
450 (fSetCustomMatKmassfractCmd->GetNewDoubleValue(newValue));
451 if (command == fSetCustomMatCamassfractCmd)
453 (fSetCustomMatCamassfractCmd->GetNewDoubleValue(newValue));
454
455 if (command == fPhantomMaterialCmd) {
457 (fPhantomMaterialCmd->GetNewIntValue(newValue));}
458 if (command == fPhantomDiameterCmd) {
460 (fPhantomDiameterCmd->GetNewDoubleValue(newValue));}
461 if (command == fPhantomHeightCmd) {
463 (fPhantomHeightCmd->GetNewDoubleValue(newValue));}
464 if (command == fPhantomZCmd) {
466 (fPhantomZCmd->GetNewDoubleValue(newValue));}
467
468 if (command == fSetComp0Cmd)
469 fDetector->SetComp0(fSetComp0Cmd->GetNewDoubleValue(newValue));
470 if (command == fSetComp1Cmd)
471 fDetector->SetComp1(fSetComp1Cmd->GetNewDoubleValue(newValue));
472 if (command == fSetComp2Cmd)
473 fDetector->SetComp2(fSetComp2Cmd->GetNewDoubleValue(newValue));
474 if (command == fSetComp3Cmd)
475 fDetector->SetComp3(fSetComp3Cmd->GetNewDoubleValue(newValue));
476
477 if (command == fThetaSetupCmd)
479 (fThetaSetupCmd->GetNewDoubleValue(newValue));
480 if (command == fSetSlitsCmd)
481 fDetector->SetSlits(fSetSlitsCmd->GetNewBoolValue(newValue));
482 if (command == fSlit1ThicknessCmd)
484 (fSlit1ThicknessCmd->GetNewDoubleValue(newValue));
485 if (command == fSlit2ThicknessCmd)
487 (fSlit2ThicknessCmd->GetNewDoubleValue(newValue));
488 if (command == fSlit3ThicknessCmd)
490 (fSlit3ThicknessCmd->GetNewDoubleValue(newValue));
491 if (command == fSlit4ThicknessCmd)
493 (fSlit4ThicknessCmd->GetNewDoubleValue(newValue));
494 if (command == fSlit1DistanceCmd)
496 (fSlit1DistanceCmd->GetNewDoubleValue(newValue));
497 if (command == fSlit2DistanceCmd)
499 (fSlit2DistanceCmd->GetNewDoubleValue(newValue));
500 if (command == fSlit3DistanceCmd)
502 (fSlit3DistanceCmd->GetNewDoubleValue(newValue));
503 if (command == fSlit4DistanceCmd)
505 (fSlit4DistanceCmd->GetNewDoubleValue(newValue));
506 if (command == fSlit1xApertureCmd)
508 (fSlit1xApertureCmd->GetNewDoubleValue(newValue));
509 if (command == fSlit2xApertureCmd)
511 (fSlit2xApertureCmd->GetNewDoubleValue(newValue));
512 if (command == fSlit3xApertureCmd)
514 (fSlit3xApertureCmd->GetNewDoubleValue(newValue));
515 if (command == fSlit4xApertureCmd)
517 (fSlit4xApertureCmd->GetNewDoubleValue(newValue));
518 if (command == fSlit1yApertureCmd)
520 (fSlit1yApertureCmd->GetNewDoubleValue(newValue));
521 if (command == fSlit2yApertureCmd)
523 (fSlit2yApertureCmd->GetNewDoubleValue(newValue));
524 if (command == fSlit3yApertureCmd)
526 (fSlit3yApertureCmd->GetNewDoubleValue(newValue));
527 if (command == fSlit4yApertureCmd)
529 (fSlit4yApertureCmd->GetNewDoubleValue(newValue));
530 if (command == fDetectorThicknessCmd)
532 (fDetectorThicknessCmd->GetNewDoubleValue(newValue));
533 if (command == fDetectorSizeCmd)
535 (fDetectorSizeCmd->GetNewDoubleValue(newValue));
536 if (command == fDetectorDistanceCmd)
538 (fDetectorDistanceCmd->GetNewDoubleValue(newValue));
539}
void SetSlit3SampleDistance(G4double slSampleDist3)
void SetCustomMatSmassfract(G4double csSmf)
void SetSlit4xAperture(G4double aperture4x)
void SetCustomMatKmassfract(G4double csKmf)
void SetCustomMatClmassfract(G4double csClmf)
void SetDetectorSampleDistance(G4double detDist)
void SetSlit1SampleDistance(G4double slSampleDist1)
void SetSlit1yAperture(G4double aperture1y)
void SetDetectorThickness(G4double detTh)
void SetCustomMatNamassfract(G4double csNamf)
void SetCustomMatHmassfract(G4double csHmf)
void SetCustomMatPmassfract(G4double csPmf)
void SetCustomMatCmassfract(G4double csCmf)
void SetSlit2xAperture(G4double aperture2x)
void SetCustomMatCamassfract(G4double csCamf)
void SetCustomMatNmassfract(G4double csNmf)
void SetSlit4SampleDistance(G4double slSampleDist4)
void SetSlit2yAperture(G4double aperture2y)
void SetSlit1xAperture(G4double aperture1x)
void SetSlit2SampleDistance(G4double slSampleDist2)
void SetCustomMatFF(const G4String &ffname)
void SetSlit3xAperture(G4double aperture3x)
void SetDetectorSize(G4double detSize)
void SetSlit3yAperture(G4double aperture3y)
void SetCustomMatOmassfract(G4double csOmf)
void SetSlit4yAperture(G4double aperture4y)

Member Data Documentation

◆ fDetector

SAXSDetectorConstruction* SAXSDetectorConstructionMessenger::fDetector
private

Definition at line 60 of file SAXSDetectorConstructionMessenger.hh.

◆ fCmdDir

G4UIdirectory* SAXSDetectorConstructionMessenger::fCmdDir
private

Definition at line 62 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatFFfilename

G4UIcmdWithAString* SAXSDetectorConstructionMessenger::fSetCustomMatFFfilename
private

Definition at line 64 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatDensityCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatDensityCmd
private

Definition at line 65 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatHmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatHmassfractCmd
private

Definition at line 66 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatCmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatCmassfractCmd
private

Definition at line 67 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatNmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatNmassfractCmd
private

Definition at line 68 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatOmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatOmassfractCmd
private

Definition at line 69 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatNamassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatNamassfractCmd
private

Definition at line 70 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatPmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatPmassfractCmd
private

Definition at line 71 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatSmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatSmassfractCmd
private

Definition at line 72 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatClmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatClmassfractCmd
private

Definition at line 73 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatKmassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatKmassfractCmd
private

Definition at line 74 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetCustomMatCamassfractCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetCustomMatCamassfractCmd
private

Definition at line 75 of file SAXSDetectorConstructionMessenger.hh.

◆ fPhantomMaterialCmd

G4UIcmdWithAnInteger* SAXSDetectorConstructionMessenger::fPhantomMaterialCmd
private

Definition at line 77 of file SAXSDetectorConstructionMessenger.hh.

◆ fPhantomDiameterCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fPhantomDiameterCmd
private

Definition at line 78 of file SAXSDetectorConstructionMessenger.hh.

◆ fPhantomHeightCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fPhantomHeightCmd
private

Definition at line 79 of file SAXSDetectorConstructionMessenger.hh.

◆ fPhantomZCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fPhantomZCmd
private

Definition at line 80 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetComp0Cmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetComp0Cmd
private

Definition at line 82 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetComp1Cmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetComp1Cmd
private

Definition at line 83 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetComp2Cmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetComp2Cmd
private

Definition at line 84 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetComp3Cmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fSetComp3Cmd
private

Definition at line 85 of file SAXSDetectorConstructionMessenger.hh.

◆ fThetaSetupCmd

G4UIcmdWithADouble* SAXSDetectorConstructionMessenger::fThetaSetupCmd
private

Definition at line 87 of file SAXSDetectorConstructionMessenger.hh.

◆ fSetSlitsCmd

G4UIcmdWithABool* SAXSDetectorConstructionMessenger::fSetSlitsCmd
private

Definition at line 89 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit1ThicknessCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit1ThicknessCmd
private

Definition at line 90 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit2ThicknessCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit2ThicknessCmd
private

Definition at line 91 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit3ThicknessCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit3ThicknessCmd
private

Definition at line 92 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit4ThicknessCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit4ThicknessCmd
private

Definition at line 93 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit1DistanceCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit1DistanceCmd
private

Definition at line 94 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit2DistanceCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit2DistanceCmd
private

Definition at line 95 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit3DistanceCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit3DistanceCmd
private

Definition at line 96 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit4DistanceCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit4DistanceCmd
private

Definition at line 97 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit1xApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit1xApertureCmd
private

Definition at line 98 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit2xApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit2xApertureCmd
private

Definition at line 99 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit3xApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit3xApertureCmd
private

Definition at line 100 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit4xApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit4xApertureCmd
private

Definition at line 101 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit1yApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit1yApertureCmd
private

Definition at line 102 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit2yApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit2yApertureCmd
private

Definition at line 103 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit3yApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit3yApertureCmd
private

Definition at line 104 of file SAXSDetectorConstructionMessenger.hh.

◆ fSlit4yApertureCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fSlit4yApertureCmd
private

Definition at line 105 of file SAXSDetectorConstructionMessenger.hh.

◆ fDetectorThicknessCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fDetectorThicknessCmd
private

Definition at line 107 of file SAXSDetectorConstructionMessenger.hh.

◆ fDetectorSizeCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fDetectorSizeCmd
private

Definition at line 108 of file SAXSDetectorConstructionMessenger.hh.

◆ fDetectorDistanceCmd

G4UIcmdWithADoubleAndUnit* SAXSDetectorConstructionMessenger::fDetectorDistanceCmd
private

Definition at line 109 of file SAXSDetectorConstructionMessenger.hh.


The documentation for this class was generated from the following files:

Applications | User Support | Publications | Collaboration