Geant4
10.03
|
#include <G4RootFileManager.hh>
Private Member Functions | |
G4bool | OpenNtupleFiles () |
G4bool | WriteFile (std::shared_ptr< tools::wroot::file > rfile, const G4String &fileName) |
G4bool | CloseFile (std::shared_ptr< tools::wroot::file > rfile, const G4String &fileName) |
Private Attributes | |
std::shared_ptr < tools::wroot::file > | fFile |
tools::wroot::directory * | fHistoDirectory |
tools::wroot::directory * | fNtupleDirectory |
G4int | fNofNtupleFiles |
std::vector< std::shared_ptr < tools::wroot::file > > | fNtupleFiles |
std::vector < tools::wroot::directory * > | fMainNtupleDirectories |
unsigned int | fBasketSize |
Additional Inherited Members | |
Protected Member Functions inherited from G4BaseFileManager | |
G4String | TakeOffExtension (G4String &name) const |
Protected Attributes inherited from G4VFileManager | |
G4bool | fIsOpenFile |
G4String | fHistoDirectoryName |
G4String | fNtupleDirectoryName |
G4bool | fLockFileName |
G4bool | fLockHistoDirectoryName |
G4bool | fLockNtupleDirectoryName |
Protected Attributes inherited from G4BaseFileManager | |
const G4AnalysisManagerState & | fState |
G4String | fFileName |
Definition at line 48 of file G4RootFileManager.hh.
|
explicit |
Definition at line 43 of file G4RootFileManager.cc.
|
virtual |
Definition at line 55 of file G4RootFileManager.cc.
|
finalvirtual |
Implements G4VFileManager.
Definition at line 226 of file G4RootFileManager.cc.
References fFile, G4VFileManager::fIsOpenFile, G4VFileManager::fLockFileName, fNtupleFiles, G4BaseFileManager::GetFullFileName(), and G4BaseFileManager::GetNtupleFileName().
|
private |
Definition at line 145 of file G4RootFileManager.cc.
G4bool G4RootFileManager::CreateHistoDirectory | ( | ) |
Definition at line 246 of file G4RootFileManager.cc.
References fFile, fHistoDirectory, G4VFileManager::fHistoDirectoryName, G4BaseFileManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Referenced by OpenFile().
G4bool G4RootFileManager::CreateNtupleDirectory | ( | ) |
Definition at line 280 of file G4RootFileManager.cc.
References fFile, fNtupleDirectory, G4VFileManager::fNtupleDirectoryName, G4BaseFileManager::fState, G4Exception(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, and G4AnalysisVerbose::Message().
Referenced by OpenFile().
|
inline |
Definition at line 105 of file G4RootFileManager.hh.
References fBasketSize.
|
inline |
Definition at line 99 of file G4RootFileManager.hh.
References fHistoDirectory.
tools::wroot::directory * G4RootFileManager::GetMainNtupleDirectory | ( | G4int | index | ) | const |
Definition at line 332 of file G4RootFileManager.cc.
References fMainNtupleDirectories, fNtupleDirectory, G4Exception(), and JustWarning.
|
inline |
Definition at line 102 of file G4RootFileManager.hh.
References fNtupleDirectory.
std::shared_ptr< tools::wroot::file > G4RootFileManager::GetNtupleFile | ( | G4int | index | ) | const |
Definition at line 315 of file G4RootFileManager.cc.
References fFile, fNtupleFiles, G4Exception(), and JustWarning.
Implements G4VFileManager.
Definition at line 171 of file G4RootFileManager.cc.
References CreateHistoDirectory(), CreateNtupleDirectory(), fFile, G4BaseFileManager::fFileName, G4VFileManager::fIsOpenFile, G4VFileManager::fLockFileName, G4VFileManager::fLockHistoDirectoryName, G4VFileManager::fLockNtupleDirectoryName, G4BaseFileManager::fState, G4cout, G4Exception(), G4AnalysisManagerState::GetCompressionLevel(), G4BaseFileManager::GetFullFileName(), JustWarning, G4InuclParticleNames::name(), and OpenNtupleFiles().
|
private |
Definition at line 63 of file G4RootFileManager.cc.
References fFile, fMainNtupleDirectories, fNofNtupleFiles, G4VFileManager::fNtupleDirectoryName, fNtupleFiles, G4BaseFileManager::fState, G4cout, G4Exception(), G4AnalysisManagerState::GetCompressionLevel(), G4BaseFileManager::GetNtupleFileName(), G4AnalysisManagerState::GetVerboseL1(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4AnalysisVerbose::Message(), and G4InuclParticleNames::name().
Referenced by OpenFile().
|
inline |
Definition at line 96 of file G4RootFileManager.hh.
References fBasketSize.
|
inline |
Definition at line 93 of file G4RootFileManager.hh.
References fNofNtupleFiles.
|
finalvirtual |
Implements G4VFileManager.
Definition at line 210 of file G4RootFileManager.cc.
References fFile, fNtupleFiles, G4BaseFileManager::GetFullFileName(), and G4BaseFileManager::GetNtupleFileName().
|
private |
Definition at line 121 of file G4RootFileManager.cc.
References n.
|
private |
Definition at line 88 of file G4RootFileManager.hh.
Referenced by GetBasketSize(), and SetBasketSize().
|
private |
Definition at line 82 of file G4RootFileManager.hh.
Referenced by CloseFile(), CreateHistoDirectory(), CreateNtupleDirectory(), GetNtupleFile(), OpenFile(), OpenNtupleFiles(), and WriteFile().
|
private |
Definition at line 83 of file G4RootFileManager.hh.
Referenced by CreateHistoDirectory(), and GetHistoDirectory().
|
private |
Definition at line 87 of file G4RootFileManager.hh.
Referenced by GetMainNtupleDirectory(), and OpenNtupleFiles().
|
private |
Definition at line 85 of file G4RootFileManager.hh.
Referenced by OpenNtupleFiles(), and SetNofNtupleFiles().
|
private |
Definition at line 84 of file G4RootFileManager.hh.
Referenced by CreateNtupleDirectory(), GetMainNtupleDirectory(), and GetNtupleDirectory().
|
private |
Definition at line 86 of file G4RootFileManager.hh.
Referenced by CloseFile(), GetNtupleFile(), OpenNtupleFiles(), and WriteFile().