30#include "DetectorMessenger.hh"
31#include "DetectorConstruction.hh"
33#include "G4UIdirectory.hh"
34#include "G4UIcmdWithAString.hh"
35#include "G4UIcmdWithADoubleAndUnit.hh"
43 : fDetectorConstruction(Det)
46 fDirectory->SetGuidance(
"UI commands specific to this example.");
52 fTargMatCmd->SetGuidance(
"Select Material of the Target.");
54 fTargMatCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
57 fChamMatCmd->SetGuidance(
"Select Material of the Chamber.");
59 fChamMatCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
Detector construction class to define materials, geometry and global uniform magnetic field.
void SetMaxStep(G4double)
void SetTargetMaterial(G4String)
void SetChamberMaterial(G4String)
~DetectorMessenger() override
DetectorMessenger(DetectorConstruction *)
G4UIcmdWithADoubleAndUnit * fStepMaxCmd
void SetNewValue(G4UIcommand *, G4String) override
G4UIdirectory * fDetDirectory
G4UIcmdWithAString * fTargMatCmd
G4UIcmdWithAString * fChamMatCmd
G4UIdirectory * fDirectory
DetectorConstruction * fDetectorConstruction