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