34 #include "G4UIdirectory.hh" 35 #include "G4UIcmdWithAString.hh" 42 testemDir =
new G4UIdirectory(
"/testem/");
43 testemDir->SetGuidance(
"commands specific to this example");
45 detDir =
new G4UIdirectory(
"/testem/det/");
46 detDir->SetGuidance(
"detector construction commands");
48 MaterCmd =
new G4UIcmdWithAString(
"/testem/det/setMat",
this);
49 MaterCmd->SetGuidance(
"Select material of the box.");
50 MaterCmd->SetParameterName(
"choice",
false);
51 MaterCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
void SetNewValue(G4UIcommand *, G4String)
G4UIdirectory * testemDir
DetectorConstruction * Detector
DetectorMessenger(DetectorConstruction *)
G4UIcmdWithAString * MaterCmd
void SetMaterial(G4String)