58 UpdateCmd->
SetGuidance(
"Update apparate geometry.");
59 UpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
60 UpdateCmd->
SetGuidance(
"if you changed geometrical value(s): /apparate/GrainDiameter and /apparate/sampleGranularity");
65 sampleCmd->
SetGuidance(
"select a diferent material for the plane");
68 sampleCmd->
SetCandidates(
"Dolorite Anorthosite Mars1 IceBasalt");
72 detectorCmd->
SetGuidance(
"select a diferent detectorType");
79 grainDiaCmd->
SetGuidance(
"Set diameter of grains" );
80 grainDiaCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
87 granularityFlagCmd=
new G4UIcmdWithABool(
"/apparate/sampleGranularity",
this);
88 granularityFlagCmd->
SetGuidance(
"Set if sample granularity is present");
89 granularityFlagCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
108 if( command == UpdateCmd )
115 else if ( command == sampleCmd )
119 else if ( command == detectorCmd )
123 else if ( command == grainDiaCmd )
128 else if ( command == granularityFlagCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void GeometryHasBeenModified(G4bool prop=true)
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 *)
static G4RunManager * GetRunManager()
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)