37 using namespace G4Analysis;
43 fSetFileNameCmd(nullptr),
44 fSetHistoDirNameCmd(nullptr),
45 fSetNtupleDirNameCmd(nullptr)
47 fSetFileNameCmd = G4Analysis::make_unique<G4UIcmdWithAString>(
"/analysis/setFileName",
this);
48 fSetFileNameCmd->SetGuidance(
"Set name for the histograms & ntuple file");
52 fSetHistoDirNameCmd = G4Analysis::make_unique<G4UIcmdWithAString>(
"/analysis/setHistoDirName",
this);
57 fSetNtupleDirNameCmd = G4Analysis::make_unique<G4UIcmdWithAString>(
"/analysis/setNtupleDirName",
this);
G4bool SetHistoDirectoryName(const G4String &dirName)
G4FileMessenger(G4VAnalysisManager *manager)
G4bool SetFileName(const G4String &fileName)
std::unique_ptr< G4UIcmdWithAString > fSetNtupleDirNameCmd
virtual ~G4FileMessenger()
virtual void SetNewValue(G4UIcommand *command, G4String value) final
std::unique_ptr< G4UIcmdWithAString > fSetHistoDirNameCmd
G4VAnalysisManager * fManager
Associated class.
G4bool SetNtupleDirectoryName(const G4String &dirName)
G4GLOB_DLL std::ostream G4cout
std::unique_ptr< G4UIcmdWithAString > fSetFileNameCmd