37 #include "DetectorMessenger.hh"
39 #include "DetectorConstruction.hh"
61 fN03Dir->
SetGuidance(
"UI commands of this example");
68 fAbsMaterCmd->
SetGuidance(
"Select Material of the Absorber.");
73 fGapMaterCmd->
SetGuidance(
"Select Material of the Gap.");
78 fAbsThickCmd->
SetGuidance(
"Set Thickness of the Absorber");
85 fGapThickCmd->
SetGuidance(
"Set Thickness of the Gap");
92 fSizeYZCmd->
SetGuidance(
"Set tranverse size of the calorimeter");
101 fNbLayersCmd->
SetRange(
"NbLayers>0 && NbLayers<500");
111 delete fAbsMaterCmd;
delete fGapMaterCmd;
112 delete fAbsThickCmd;
delete fGapThickCmd;
122 if( command == fAbsMaterCmd )
125 if( command == fGapMaterCmd )
128 if( command == fAbsThickCmd )
130 ->GetNewDoubleValue(newValue));}
132 if( command == fGapThickCmd )
135 if( command == fSizeYZCmd )
138 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 SetUnitCategory(const char *unitCategory)
static G4double GetNewDoubleValue(const char *paramString)
void SetNbOfLayers(G4int)
void SetAbsorberThickness(G4double)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetGapMaterial(G4String)
void SetCalorSizeYZ(G4double)
DetectorMessenger(DetectorConstruction *)
Detector construction class to define materials and geometry.
void SetGapThickness(G4double)
void SetAbsorberMaterial(G4String)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)