34 #include "DetectorMessenger.hh"
36 #include "DetectorConstruction.hh"
45 :fDetector(Det), fTestemDir(0), fDetDir(0), fWallMater(0), fWallThick(0),
46 fCavThick(0), fWorldRadius(0), fUpdateCmd(0)
52 fDetDir->
SetGuidance(
"detector construction commands");
55 fWallMater->
SetGuidance(
"Set material of the wall.");
59 fWallThick->
SetGuidance(
"Set tickness of the wall");
65 fCavThick->
SetGuidance(
"Set tickness of the cavity");
67 fCavThick->
SetRange(
"cavityTick>0.");
71 fWorldRadius->
SetGuidance(
"Set radius of the cavity");
73 fWorldRadius->
SetRange(
"cavityRadius>0.");
78 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
79 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
102 if( command == fWallMater )
105 if( command == fWallThick )
108 if( command == fCavThick )
111 if( command == fWorldRadius )
114 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 SetWallMaterial(G4String)
void SetCavityThickness(G4double)
void SetWorldRadius(G4double)
void SetWallThickness(G4double)
DetectorMessenger(DetectorConstruction *)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)