Geant4-11
|
#include <G4Hdf5NtupleFileManager.hh>
Public Member Functions | |
virtual G4bool | ActionAtCloseFile (G4bool reset) override |
virtual G4bool | ActionAtOpenFile (const G4String &fileName) override |
virtual G4bool | ActionAtWrite () override |
virtual std::shared_ptr< G4VNtupleManager > | CreateNtupleManager () override |
G4Hdf5NtupleFileManager ()=delete | |
G4Hdf5NtupleFileManager (const G4AnalysisManagerState &state) | |
G4String | GetFileType () const |
std::shared_ptr< G4Hdf5NtupleManager > | GetNtupleManager () const |
virtual G4bool | IsNtupleMergingSupported () const |
virtual G4bool | Reset () override |
virtual void | SetBasketEntries (unsigned int basketEntries) |
virtual void | SetBasketSize (unsigned int basketSize) |
virtual void | SetBookingManager (std::shared_ptr< G4NtupleBookingManager > bookingManager) |
void | SetFileManager (std::shared_ptr< G4Hdf5FileManager > fileManager) |
virtual void | SetNtupleMerging (G4bool mergeNtuples, G4int nofReducedNtupleFiles=0) |
virtual void | SetNtupleRowWise (G4bool rowWise, G4bool rowMode=true) |
virtual | ~G4Hdf5NtupleFileManager ()=default |
Protected Member Functions | |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
Protected Attributes | |
std::shared_ptr< G4NtupleBookingManager > | fBookingManager { nullptr } |
G4String | fFileType |
const G4AnalysisManagerState & | fState |
Private Member Functions | |
G4bool | CloseNtupleFiles () |
Private Attributes | |
std::shared_ptr< G4Hdf5FileManager > | fFileManager { nullptr } |
std::shared_ptr< G4Hdf5NtupleManager > | fNtupleManager { nullptr } |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4Hdf5NtupleFileManager" } |
Friends | |
class | G4Hdf5AnalysisManager |
Definition at line 44 of file G4Hdf5NtupleFileManager.hh.
|
explicit |
Definition at line 42 of file G4Hdf5NtupleFileManager.cc.
|
delete |
|
virtualdefault |
Implements G4VNtupleFileManager.
Definition at line 98 of file G4Hdf5NtupleFileManager.cc.
References CloseNtupleFiles(), fkClass, Reset(), and G4Analysis::Warn().
Implements G4VNtupleFileManager.
Definition at line 80 of file G4Hdf5NtupleFileManager.cc.
References G4VNtupleFileManager::fBookingManager, and fNtupleManager.
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 91 of file G4Hdf5NtupleFileManager.cc.
|
private |
Definition at line 51 of file G4Hdf5NtupleFileManager.cc.
References fFileManager, and fNtupleManager.
Referenced by ActionAtCloseFile().
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 69 of file G4Hdf5NtupleFileManager.cc.
References fFileManager, fNtupleManager, and G4VNtupleFileManager::fState.
|
inlineinherited |
Definition at line 107 of file G4VNtupleFileManager.hh.
References G4VNtupleFileManager::fFileType.
|
inline |
|
inlinevirtualinherited |
Reimplemented in G4RootNtupleFileManager.
Definition at line 103 of file G4VNtupleFileManager.hh.
|
inlineprotectedinherited |
Definition at line 111 of file G4VNtupleFileManager.hh.
References geant4_check_module_cycles::action, G4VNtupleFileManager::fState, and G4AnalysisManagerState::Message().
Referenced by G4RootNtupleFileManager::ActionAtOpenFile(), G4RootNtupleFileManager::ActionAtWrite(), G4RootNtupleFileManager::CreateNtupleManager(), G4RootNtupleFileManager::SetNtupleMergingMode(), and G4RootNtupleFileManager::SetNtupleRowWise().
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 117 of file G4Hdf5NtupleFileManager.cc.
References fNtupleManager.
Referenced by ActionAtCloseFile().
|
virtualinherited |
Reimplemented in G4RootNtupleFileManager.
Definition at line 85 of file G4VNtupleFileManager.cc.
References G4VNtupleFileManager::fFileType, G4VNtupleFileManager::fkClass, and anonymous_namespace{G4VNtupleFileManager.cc}::NtupleMergingWarning().
|
virtualinherited |
Reimplemented in G4RootNtupleFileManager.
Definition at line 76 of file G4VNtupleFileManager.cc.
References G4VNtupleFileManager::fFileType, G4VNtupleFileManager::fkClass, and anonymous_namespace{G4VNtupleFileManager.cc}::NtupleMergingWarning().
|
inlinevirtualinherited |
Definition at line 99 of file G4VNtupleFileManager.hh.
References G4VNtupleFileManager::fBookingManager.
|
inline |
Definition at line 77 of file G4Hdf5NtupleFileManager.hh.
References fFileManager.
|
virtualinherited |
Reimplemented in G4RootNtupleFileManager.
Definition at line 56 of file G4VNtupleFileManager.cc.
References G4VNtupleFileManager::fFileType, G4VNtupleFileManager::fkClass, and anonymous_namespace{G4VNtupleFileManager.cc}::NtupleMergingWarning().
|
virtualinherited |
Reimplemented in G4RootNtupleFileManager.
Definition at line 66 of file G4VNtupleFileManager.cc.
References G4VNtupleFileManager::fFileType, G4VNtupleFileManager::fkClass, and anonymous_namespace{G4VNtupleFileManager.cc}::NtupleMergingWarning().
|
friend |
Definition at line 46 of file G4Hdf5NtupleFileManager.hh.
|
protectedinherited |
Definition at line 90 of file G4VNtupleFileManager.hh.
Referenced by G4CsvNtupleFileManager::ActionAtOpenFile(), ActionAtOpenFile(), G4RootNtupleFileManager::ActionAtOpenFile(), G4XmlNtupleFileManager::ActionAtOpenFile(), G4RootNtupleFileManager::CreateNtupleManager(), and G4VNtupleFileManager::SetBookingManager().
|
private |
Definition at line 73 of file G4Hdf5NtupleFileManager.hh.
Referenced by CloseNtupleFiles(), CreateNtupleManager(), and SetFileManager().
|
protectedinherited |
Definition at line 89 of file G4VNtupleFileManager.hh.
Referenced by G4VNtupleFileManager::GetFileType(), G4VNtupleFileManager::SetBasketEntries(), G4VNtupleFileManager::SetBasketSize(), G4VNtupleFileManager::SetNtupleMerging(), and G4VNtupleFileManager::SetNtupleRowWise().
|
staticconstexprprivate |
Definition at line 70 of file G4Hdf5NtupleFileManager.hh.
Referenced by ActionAtCloseFile().
|
private |
Definition at line 74 of file G4Hdf5NtupleFileManager.hh.
Referenced by ActionAtOpenFile(), CloseNtupleFiles(), CreateNtupleManager(), GetNtupleManager(), and Reset().
|
protectedinherited |
Definition at line 88 of file G4VNtupleFileManager.hh.
Referenced by G4CsvNtupleFileManager::CreateNtupleManager(), CreateNtupleManager(), G4RootNtupleFileManager::CreateNtupleManager(), G4XmlNtupleFileManager::CreateNtupleManager(), G4VNtupleFileManager::Message(), and G4RootNtupleFileManager::~G4RootNtupleFileManager().