55 UpdateCmd->
SetGuidance(
"Update apparate geometry.");
56 UpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
57 UpdateCmd->
SetGuidance(
"if you changed geometrical value(s): /apparate/GrainDiameter and /apparate/sampleGranularity");
62 sampleCmd->
SetGuidance(
"select a diferent material for the sample: materials can be: Dolorite, Anorthosite, Mars1, HawaiianWD, HawaiianRF, IceBasalt, IcelandicWD, IcelandicRF, Gabbro, GabbroWD, GabbroRF, HPGe OR choosen from Nist database (see /material/nist/listMaterials for details");
68 detectorCmd->
SetGuidance(
"select a diferent detectorType");
75 grainDiaCmd->
SetGuidance(
"Set diameter of grains" );
76 grainDiaCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
83 granularityFlagCmd=
new G4UIcmdWithABool(
"/apparate/sampleGranularity",
this);
84 granularityFlagCmd->
SetGuidance(
"Set if sample granularity is present");
85 granularityFlagCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
91 OhmicPosThicknessCmd->
SetGuidance(
"Changes thickness of the detector anode" );
92 OhmicPosThicknessCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
93 OhmicPosThicknessCmd->
SetGuidance(
"Default: 0.005 mm " );
112 if( command == UpdateCmd )
115 else if ( command == sampleCmd )
118 else if ( command == detectorCmd )
121 else if ( command == grainDiaCmd )
127 else if ( command == granularityFlagCmd )
133 else if ( command == OhmicPosThicknessCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
XrayFluoDetectorMessenger(XrayFluoDetectorConstruction *)
~XrayFluoDetectorMessenger()
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
static G4bool GetNewBoolValue(const char *paramString)
void SetOhmicPosThickness(G4double)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGrainDia(G4double size)
void SetDetectorType(G4String type)
void SetSampleMaterial(G4String newMaterial)
void SetNewValue(G4UIcommand *, G4String)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void DeleteGrainObjects()
void SetDefaultValue(const char *defVal)
void SetDefaultUnit(const char *defUnit)
void SetCandidates(const char *candidateList)
void SetSampleGranularity(G4bool granularity)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)