31#ifndef G4VFileManager_h
32#define G4VFileManager_h 1
80 template <
typename HT>
114std::shared_ptr<G4VTHnFileManager<tools::histo::h1d>>
115G4VFileManager::GetHnFileManager<tools::histo::h1d>()
const
116{
return fH1FileManager; }
120std::shared_ptr<G4VTHnFileManager<tools::histo::h2d>>
121G4VFileManager::GetHnFileManager<tools::histo::h2d>()
const
122{
return fH2FileManager; }
126std::shared_ptr<G4VTHnFileManager<tools::histo::h3d>>
127G4VFileManager::GetHnFileManager<tools::histo::h3d>()
const
128{
return fH3FileManager; }
132std::shared_ptr<G4VTHnFileManager<tools::histo::p1d>>
133G4VFileManager::GetHnFileManager<tools::histo::p1d>()
const
134{
return fP1FileManager; }
138std::shared_ptr<G4VTHnFileManager<tools::histo::p2d>>
139G4VFileManager::GetHnFileManager<tools::histo::p2d>()
const
140{
return fP2FileManager; }
virtual G4bool SetIsEmpty(const G4String &fileName, G4bool isEmpty)=0
virtual G4bool CloseFile(const G4String &fileName)=0
G4String GetNtupleDirectoryName() const
virtual G4bool WriteFile(const G4String &fileName)=0
virtual ~G4VFileManager()
std::shared_ptr< G4VTHnFileManager< tools::histo::h3d > > fH3FileManager
G4String GetHistoDirectoryName() const
G4bool SetHistoDirectoryName(const G4String &dirName)
std::shared_ptr< G4VTHnFileManager< tools::histo::h1d > > fH1FileManager
std::shared_ptr< G4VTHnFileManager< tools::histo::p1d > > fP1FileManager
G4bool IsOpenFile() const
G4String fNtupleDirectoryName
std::shared_ptr< G4VTHnFileManager< HT > > GetHnFileManager() const
std::shared_ptr< G4VTHnFileManager< tools::histo::p2d > > fP2FileManager
G4bool fLockDirectoryNames
virtual G4bool SetFileName(const G4String &fileName) final
virtual G4bool CloseFiles()=0
G4bool SetNtupleDirectoryName(const G4String &dirName)
void LockDirectoryNames()
virtual G4bool OpenFile(const G4String &fileName)=0
std::shared_ptr< G4VTHnFileManager< tools::histo::h2d > > fH2FileManager
virtual G4bool DeleteEmptyFiles()=0
virtual G4bool CreateFile(const G4String &fileName)=0
G4String fHistoDirectoryName
virtual G4bool WriteFiles()=0