34 #include "DetectorMessenger.hh"
36 #include "DetectorConstruction.hh"
56 fDetDir->
SetGuidance(
"detector construction commands");
59 fMaterCmd->
SetGuidance(
"Select material of the box.");
65 fRadiusCmd->
SetGuidance(
"Set radius of the absorber");
75 fNbLayersCmd->
SetRange(
"NbLayers>0");
95 if( command == fMaterCmd )
98 if( command == fRadiusCmd )
101 if( command == fNbLayersCmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *, G4String)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetToBeBroadcasted(G4bool val)
void SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetNbOfLayers(G4int)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
DetectorMessenger(DetectorConstruction *)
Detector construction class to define materials and geometry.
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetMaterial(G4String)