34 #include "DetectorMessenger.hh"
36 #include "DetectorConstruction.hh"
57 fDetDir->
SetGuidance(
"detector construction commands");
60 fMaterCmd->
SetGuidance(
"Select material of the box.");
65 fSizeXCmd->
SetGuidance(
"Set sizeX of the absorber");
72 fSizeYZCmd->
SetGuidance(
"Set sizeYZ of the absorber");
79 fStepSizeCmd->
SetGuidance(
"Set maxStepSize in the absorber");
81 fStepSizeCmd->
SetRange(
"StepSize>0.");
87 fMagFieldCmd->
SetGuidance(
"Define magnetic field.");
88 fMagFieldCmd->
SetGuidance(
"Magnetic field will be in Z direction.");
94 fUpdateCmd->
SetGuidance(
"Update calorimeter geometry.");
95 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
96 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
117 if( command == fMaterCmd )
120 if( command == fSizeXCmd )
123 if( command == fSizeYZCmd )
126 if( command == fMagFieldCmd )
129 if( command == fStepSizeCmd )
132 if( command == fUpdateCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *, G4String)
void SetMaxStepSize(G4double)
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetMagField(G4double)
DetectorMessenger(DetectorConstruction *)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetMaterial(G4String)