34 #include "DetectorMessenger.hh"
36 #include "DetectorConstruction.hh"
46 fDetector(det), fTestemDir(0), fDetDir(0),
47 fMaterCmd(0), fSizeXYCmd(0), fSizeZCmd(0), fUpdateCmd(0)
50 fTestemDir->
SetGuidance(
"commands specific to this example");
56 fMaterCmd->
SetGuidance(
"Select material of the box.");
75 fUpdateCmd->
SetGuidance(
"Update calorimeter geometry.");
76 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
77 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
97 if( command == fMaterCmd )
100 if( command == fSizeXYCmd )
103 if( command == fSizeZCmd )
106 if( command == fUpdateCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *, G4String)
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 SetTargetMaterial(const G4String &)
DetectorMessenger(DetectorConstruction *)
Detector construction class to define materials and geometry.
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)