30#include "G4UIdirectory.hh"
31#include "G4UIcmdWithABool.hh"
32#include "G4UIcmdWithAString.hh"
39 , fOpNoviceDetCon(detcon)
42 fDetConDir->SetGuidance(
"Configuring Detector Construction");
46 fVerboseCmd->SetGuidance(
"Set flag for enabling verbose diagnostic printout");
53 "Set flag for enabling dumping the detector to a gdml file");
58 "/OpNovice/DetectorConstruction/dumpGdmlFileName",
this);
85 dc1->SetDumpGdml(
fDumpGdmlCmd->GetNewBoolValue(newValue));
87 dc1->SetDumpGdmlFile(newValue);
95 dc2->SetDumpGdml(
fDumpGdmlCmd->GetNewBoolValue(newValue));
97 dc2->SetDumpGdmlFile(newValue);
Definition of the OpNoviceDetectorConstruction class.
Definition of the OpNoviceDetectorMessenger class.
void SetVerbose(G4bool verbose)
G4UIcmdWithABool * fVerboseCmd
G4VUserDetectorConstruction * fOpNoviceDetCon
void SetNewValue(G4UIcommand *, G4String) override
G4UIdirectory * fDetConDir
OpNoviceDetectorMessenger(G4VUserDetectorConstruction *)
G4UIcmdWithAString * fDumpGdmlFileNameCmd
~OpNoviceDetectorMessenger() override
G4UIcmdWithABool * fDumpGdmlCmd
void SetVerbose(G4bool fverbose)