53 phaseSpaceCentre->
SetGuidance(
"position of the centre of the plane phase space");
59 phaseSpaceHalfSize->
SetGuidance(
"half size of the plane phase space");
64 bSavePhaseSpace->
SetGuidance(
"true if to save the phase space");
67 bForcePhaseSpaceBeforeJaws=
new G4UIcmdWithABool(
"/general/bForcePhaseSpaceBeforeJaws",
this);
69 bForcePhaseSpaceBeforeJaws->
SetGuidance(
"to automatically put the phase plane before the jaws");
74 bStopAtPhaseSpace->
SetGuidance(
"true if to kill the particle at the phase space");
79 bSaveROG->
SetGuidance(
"true if save the ROG volume");
84 bOnlyVisio->
SetGuidance(
"switch the visualization mode");
89 ROGOutFile->
SetGuidance(
"full path of the ROG file name");
94 phaseSPaceOutFile->
SetGuidance(
"full file name of the phase space");
99 maxNumberOfEvents->
SetGuidance(
" maximum number of events at least in one experimental voxel");
104 nMaxLoop->
SetGuidance(
"it is used if /convergence/bCompareExp is false");
109 bCompareExp->
SetGuidance(
"to compare the data with an experimental file data");
112 fileExperimentalData=
new G4UIcmdWithAString(
"/convergence/fileExperimentalData",
this);
114 fileExperimentalData->
SetGuidance(
"full path and name of the experimental file results");
117 fileExperimentalDataOut=
new G4UIcmdWithAString(
"/convergence/fileExperimentalDataOut",
this);
119 fileExperimentalDataOut->
SetGuidance(
"full path and name of the experimental file results");
127 nMaxParticlesInRamPlanePhaseSpace=
new G4UIcmdWithAnInteger(
"/general/nMaxParticlesInRamPlanePhaseSpace",
this);
129 nMaxParticlesInRamPlanePhaseSpace->
SetGuidance(
"maximum particle number stored in RAM before saving - for phase space");
132 saving_in_Selected_Voxels_every_events=
new G4UIcmdWithAnInteger(
"/general/saving_in_Selected_Voxels_every_events",
this);
134 saving_in_Selected_Voxels_every_events->
SetGuidance(
"maximum particle number stored before saving - for experiemntal data comparison");
137 saving_in_ROG_Voxels_every_events=
new G4UIcmdWithAnInteger(
"/general/saving_in_ROG_Voxels_every_events",
this);
139 saving_in_ROG_Voxels_every_events->
SetGuidance(
"maximum particle number stored before saving - for ROG");
142 max_N_particles_in_PhSp_File=
new G4UIcmdWithAnInteger(
"/general/max_N_particles_in_PhSp_File",
this);
144 max_N_particles_in_PhSp_File->
SetGuidance(
"maximum particle number stored in the phase space file");
150 delete saving_in_Selected_Voxels_every_events;
151 delete saving_in_ROG_Voxels_every_events;
152 delete max_N_particles_in_PhSp_File;
153 delete phaseSpaceCentre;
154 delete phaseSpaceHalfSize;
155 delete phaseSPaceOutFile;
157 delete bSavePhaseSpace;
158 delete bForcePhaseSpaceBeforeJaws;
159 delete bStopAtPhaseSpace;
163 delete nMaxParticlesInRamPlanePhaseSpace;
165 delete maxNumberOfEvents;
168 delete fileExperimentalData;
169 delete fileExperimentalDataOut;
178 if (cmd==nMaxParticlesInRamPlanePhaseSpace)
181 if (cmd==saving_in_Selected_Voxels_every_events)
184 if (cmd==saving_in_ROG_Voxels_every_events)
187 if (cmd==max_N_particles_in_PhSp_File)
190 if (cmd==phaseSpaceCentre)
193 if (cmd==phaseSpaceHalfSize)
201 if (cmd==bForcePhaseSpaceBeforeJaws)
204 if (cmd==bSavePhaseSpace)
210 if (cmd==bStopAtPhaseSpace)
213 if (cmd==phaseSPaceOutFile)
219 if (cmd==maxNumberOfEvents)
225 if (cmd==bCompareExp)
228 if (cmd==fileExperimentalData)
231 if (cmd==fileExperimentalDataOut)
static constexpr double mm
CLHEP::Hep3Vector G4ThreeVector
static G4int GetNewIntValue(const char *paramString)
void SetDefaultUnit(const char *defUnit)
static G4bool GetNewBoolValue(const char *paramString)
void SetDefaultValue(G4bool defVal)
void SetGuidance(const char *aGuidance)
CML2MainMessenger(CML2CInputData *CInputData)
void SetDefaultValue(G4ThreeVector defVal)
void SetNewValue(G4UIcommand *cmd, G4String newValue)
void SetDefaultValue(const char *defVal)
void SetDefaultValue(G4int defVal)
static G4ThreeVector GetNew3VectorRawValue(const char *paramString)