34 #include "DetectorMessenger.hh"
36 #include "DetectorConstruction.hh"
60 fDetDir->
SetGuidance(
"detector construction commands");
63 fMaterCmd->
SetGuidance(
"Select material of the box.");
75 fMagFieldCmd->
SetGuidance(
"Define magnetic field.");
76 fMagFieldCmd->
SetGuidance(
"Magnetic field will be in Z direction.");
82 fUpdateCmd->
SetGuidance(
"Update calorimeter geometry.");
83 fUpdateCmd->
SetGuidance(
"This command MUST be applied before \"beamOn\" ");
84 fUpdateCmd->
SetGuidance(
"if you changed geometrical value(s).");
88 fMaxStepCmd->
SetGuidance(
"Set max allowed step size");
97 fMaxStepLength->
SetGuidance(
"Set the maximum length of tracking step");
98 fMaxStepLength->
SetGuidance(
"when integrating magnetic field line.");
100 fMaxStepLength->
SetRange(
"Size>0.");
114 delete fMaxStepLength;
124 if( command == fMaterCmd )
127 if( command == fSizeCmd )
130 if( command == fMagFieldCmd )
133 if( command == fUpdateCmd )
136 if( command == fMaxStepCmd )
139 if( command == fMaxStepLength )
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetNewValue(G4UIcommand *, G4String)
void SetMaxStepSize(G4double)
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 SetMagField(G4double)
void SetMaxStepLength(G4double)
DetectorMessenger(DetectorConstruction *)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetMaterial(G4String)