#include <OpNoviceDetectorMessenger.hh>
◆ OpNoviceDetectorMessenger()
Definition at line 36 of file OpNoviceDetectorMessenger.cc.
40{
42 fDetConDir->SetGuidance(
"Configuring Detector Construction");
43
46 fVerboseCmd->SetGuidance(
"Set flag for enabling verbose diagnostic printout");
49
53 "Set flag for enabling dumping the detector to a gdml file");
56
58 "/OpNovice/DetectorConstruction/dumpGdmlFileName", this);
62}
G4UIcmdWithABool * fVerboseCmd
G4VUserDetectorConstruction * fOpNoviceDetCon
G4UIdirectory * fDetConDir
G4UIcmdWithAString * fDumpGdmlFileNameCmd
G4UIcmdWithABool * fDumpGdmlCmd
◆ ~OpNoviceDetectorMessenger()
OpNoviceDetectorMessenger::~OpNoviceDetectorMessenger |
( |
| ) |
|
|
override |
◆ SetNewValue()
Definition at line 76 of file OpNoviceDetectorMessenger.cc.
78{
80 if(dc1 != nullptr)
81 {
85 dc1->SetDumpGdml(
fDumpGdmlCmd->GetNewBoolValue(newValue));
87 dc1->SetDumpGdmlFile(newValue);
88 }
89 else
90 {
95 dc2->SetDumpGdml(
fDumpGdmlCmd->GetNewBoolValue(newValue));
97 dc2->SetDumpGdmlFile(newValue);
98 }
99}
void SetVerbose(G4bool verbose)
void SetVerbose(G4bool fverbose)
◆ fOpNoviceDetCon
◆ fDetConDir
◆ fVerboseCmd
◆ fDumpGdmlCmd
◆ fDumpGdmlFileNameCmd
The documentation for this class was generated from the following files: