46 fDirectory->
SetGuidance(
"UI commands of this example");
52 matList += (*matTbl)[i]->GetName();
57 fAbsMaterialCmd->
SetGuidance(
"Select Material of the Absorber.");
63 fGapMaterialCmd->
SetGuidance(
"Select Material of the Gap.");
86 delete fAbsMaterialCmd;
87 delete fGapMaterialCmd;
97 if( command == fAbsMaterialCmd ) {
100 }
else if( command == fGapMaterialCmd ){
103 }
else if( command == fNumLayerCmd ) {
106 }
else if( command == fVerboseCmd ) {
116 if( command == fAbsMaterialCmd ){
119 }
else if( command == fGapMaterialCmd ){
122 }
else if( command == fNumLayerCmd ) {
125 }
else if( command == fVerboseCmd ) {
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
G4String GetGapMaterial() const
Definition of the GB03DetectorConstruction class.
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
static G4String ConvertToString(G4bool boolVal)
Definition of the GB03DetectorMessenger class.
virtual ~GB03DetectorMessenger()
void SetGapMaterial(G4String materialChoice)
static G4int GetNumberOfLayers()
virtual G4String GetCurrentValue(G4UIcommand *command)
GB03DetectorMessenger(GB03DetectorConstruction *)
G4int GetVerboseLevel() const
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetVerboseLevel(G4int val)
void SetNumberOfLayers(G4int nl)
static size_t GetNumberOfMaterials()
void SetAbsorberMaterial(G4String materialChoice)
void SetCandidates(const char *candidateList)
G4String GetAbsorberMaterial() const
virtual void SetNewValue(G4UIcommand *, G4String)