53 Warn(fileName +
" file extension is not valid for " +
GetFileType() +
" output.\n" +
54 name +
" will be used.",
fkClass,
"SetFileName");
64 Warn(
"Cannot set Histo directory name as its value was already used.",
65 fkClass,
"SetHistoDirectoryName");
77 Warn(
"Cannot set Ntuple directory name as its value was already used.",
78 fkClass,
"SetNtupleDirectoryName");
virtual G4bool SetFileName(const G4String &fileName)
virtual G4String GetFileType() const
virtual G4bool SetHistoDirectoryName(const G4String &dirName)
G4String fNtupleDirectoryName
G4bool fLockDirectoryNames
G4bool SetFileName(const G4String &fileName) final
virtual G4bool SetNtupleDirectoryName(const G4String &dirName)
G4String fHistoDirectoryName
static constexpr std::string_view fkClass
G4String GetExtension(const G4String &fileName, const G4String &defaultExtension="")
G4String GetBaseName(const G4String &fileName)
void Warn(const G4String &message, const std::string_view inClass, const std::string_view inFunction)