55 fDirectory->
SetGuidance(
"UI commands of this example");
61 matList += (*matTbl)[i]->GetName();
66 fAbsMaterialCmd->
SetGuidance(
"Select Material of the Absorber.");
72 fGapMaterialCmd->
SetGuidance(
"Select Material of the Gap.");
85 ->
SetGuidance(
"Select calorimeters to be placed in serial or parallel.");
105 delete fAbsMaterialCmd;
106 delete fGapMaterialCmd;
114 if( command == fAbsMaterialCmd ) {
117 }
else if( command == fGapMaterialCmd ){
120 }
else if( command == fNumLayerCmd ) {
123 }
else if( command == fSerialCmd ) {
126 }
else if( command == fVerboseCmd ) {
129 }
else if( command == fAddMaterialCmd ) {
131 UpdateMaterialList();
140 if( command == fAbsMaterialCmd ){
143 }
else if( command == fGapMaterialCmd ){
146 }
else if( command == fNumLayerCmd ) {
149 }
else if( command == fSerialCmd ){
152 }
else if( command == fSerialCmd ) {
155 }
else if( command == fVerboseCmd ) {
164 void RE06DetectorMessenger::UpdateMaterialList()
170 matList += (*matTbl)[i]->GetName();
174 if(fAbsMaterialCmd !=0) {
177 if (fGapMaterialCmd !=0) {
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
virtual G4String GetCurrentValue(G4UIcommand *command)
Definition of the RE06DetectorMessenger class.
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
virtual void SetNewValue(G4UIcommand *, G4String)
static G4int GetNewIntValue(const char *paramString)
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
static G4String ConvertToString(G4bool boolVal)
RE06DetectorMessenger(RE06DetectorConstruction *)
G4String GetGapMaterial() const
static G4bool GetNewBoolValue(const char *paramString)
void SetVerboseLevel(G4int val)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetSerialGeometry(G4bool ser)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
G4String GetAbsorberMaterial() const
void AvailableForStates(G4ApplicationState s1)
static size_t GetNumberOfMaterials()
virtual ~RE06DetectorMessenger()
void SetAbsorberMaterial(G4String materialChoice)
void SetNumberOfLayers(G4int nl)
void SetCandidates(const char *candidateList)
Definition of the RE06DetectorConstruction class.
void SetGapMaterial(G4String materialChoice)
G4int GetNumberOfLayers() const
G4int GetVerboseLevel() const