45 #include "DetectorMessenger.hh"
46 #include "DetectorConstruction.hh"
63 fDetDir1->
SetGuidance(
" commands to define physics");
68 fAbsMaterCmd->
SetGuidance(
"Select Material of the target1.");
73 fWorldMaterCmd->
SetGuidance(
"Select Material of the target2.");
84 fAbsGapCmd->
SetGuidance(
"Set gap between absorbers");
102 fUpdateCmd->
SetGuidance(
"Update calorimeter geometry.");
103 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
104 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
114 fYMagFieldCmd->
SetGuidance(
"Define sensitive detector Z");
120 fZMagFieldCmd->
SetGuidance(
"Define shift of sensitive detector");
126 fHistoCmd->
SetGuidance(
"Set the name of the histo file");
131 fNumOfAbsCmd->
SetGuidance(
"Set number divisions R");
136 fNumOfEvt->
SetGuidance(
"Set number of divisions Z");
151 fDeltaECmd->
SetGuidance(
"Define scale of secondary energy histogram");
167 delete fWorldMaterCmd;
170 delete fXMagFieldCmd;
171 delete fYMagFieldCmd;
172 delete fZMagFieldCmd;
187 if( command == fAbsMaterCmd )
190 if( command == fWorldMaterCmd )
193 if( command == fAbsThickCmd )
196 if( command == fAbsGapCmd )
199 if( command == fAbsSizYZCmd )
202 if( command == fWorldXCmd )
205 if( command == fUpdateCmd )
208 if( command == fXMagFieldCmd )
211 if( command == fYMagFieldCmd )
216 if( command == fZMagFieldCmd )
219 if( command == fHistoCmd )
222 if( command == fNumOfAbsCmd )
225 if( command == fNumOfEvt )
228 if( command == fVerbCmd ){
233 if( command == fIntCmd )
236 if( command == fDeltaECmd )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGap(G4double val)
static Histo * GetPointer()
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)
void SetTarget2Z(G4double val)
static G4double GetNewDoubleValue(const char *paramString)
void SetTarget2Material(const G4String &m)
void SetAbsorberZ(G4double val)
void SetTarget1Z(G4double val)
void SetCheckShiftZ(G4double val)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetAbsorberShiftZ(G4double val)
void SetMylarZ(G4double val)
DetectorMessenger(DetectorConstruction *)
void SetTarget1Material(const G4String &m)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)