56 UpdateCmd->
SetGuidance(
"Update apparate geometry.");
57 UpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
58 UpdateCmd->
SetGuidance(
"if you changed geometrical value(s): /apparate/GrainDiameter and /apparate/sampleGranularity");
63 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");
69 detectorCmd->
SetGuidance(
"select a diferent detectorType");
76 grainDiaCmd->
SetGuidance(
"Set diameter of grains" );
77 grainDiaCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
84 granularityFlagCmd=
new G4UIcmdWithABool(
"/apparate/sampleGranularity",
this);
85 granularityFlagCmd->
SetGuidance(
"Set if sample granularity is present");
86 granularityFlagCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
92 OhmicPosThicknessCmd->
SetGuidance(
"Changes thickness of the detector anode" );
93 OhmicPosThicknessCmd->
SetGuidance(
"After this, /apparate/update must be executed before BeamOn" );
94 OhmicPosThicknessCmd->
SetGuidance(
"Default: 0.005 mm " );
113 if( command == UpdateCmd )
120 else if ( command == sampleCmd )
125 else if ( command == detectorCmd )
129 else if ( command == grainDiaCmd )
135 else if ( command == granularityFlagCmd )
141 else if ( command == OhmicPosThicknessCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void GeometryHasBeenModified(G4bool prop=true)
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)
static G4RunManager * GetRunManager()
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)