36#include "G4UIdirectory.hh"
37#include "G4UIcmdWithAString.hh"
38#include "G4UIcmdWithADoubleAndUnit.hh"
39#include "G4UIcmdWithoutParameter.hh"
47 fTestemDir->SetGuidance(
"commands specific to this example");
50 fDetDir->SetGuidance(
"detector construction commands");
53 fMaterCmd->SetGuidance(
"Select material of the box.");
54 fMaterCmd->SetParameterName(
"choice",
false);
55 fMaterCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
59 fSizeCmd->SetGuidance(
"Set size of the box");
60 fSizeCmd->SetParameterName(
"Size",
false);
63 fSizeCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
Definition of the DetectorConstruction class.
Definition of the DetectorMessenger class.
void SetMaterial(const G4String &)
G4UIcmdWithADoubleAndUnit * fSizeCmd
G4UIdirectory * fTestemDir
DetectorMessenger(DetectorConstruction *)
void SetNewValue(G4UIcommand *, G4String) override
DetectorConstruction * fDetector
~DetectorMessenger() override
G4UIcmdWithAString * fMaterCmd