57 UpdateCmd->
SetGuidance(
"Update apparate geometry.");
58 UpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
59 UpdateCmd->
SetGuidance(
"if you changed geometrical value(s): /apparate/GrainDiameter and /apparate/sampleGranularity");
64 sampleCmd->
SetGuidance(
"select a diferent material for the plane");
67 sampleCmd->
SetCandidates(
"Dolorite Anorthosite Mars1 IceBasalt");
71 detectorCmd->
SetGuidance(
"select a diferent detectorType");
78 grainDiaCmd->
SetGuidance(
"Set diameter of grains" );
79 grainDiaCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
86 granularityFlagCmd=
new G4UIcmdWithABool(
"/apparate/sampleGranularity",
this);
87 granularityFlagCmd->
SetGuidance(
"Set if sample granularity is present");
88 granularityFlagCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
107 if( command == UpdateCmd )
110 else if ( command == sampleCmd )
113 else if ( command == detectorCmd )
116 else if ( command == grainDiaCmd )
122 else if ( command == granularityFlagCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDetectorType(G4String type)
void SetGrainDia(G4double size)
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
~XrayFluoPlaneDetectorMessenger()
static G4bool GetNewBoolValue(const char *paramString)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetPlaneGranularity(G4bool granularity)
void DeleteGrainObjects()
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
XrayFluoPlaneDetectorMessenger(XrayFluoPlaneDetectorConstruction *)
void SetDefaultValue(const char *defVal)
void SetDefaultUnit(const char *defUnit)
void SetCandidates(const char *candidateList)
void SetNewValue(G4UIcommand *, G4String)
void SetPlaneMaterial(G4String newMaterial)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)