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