Geant4-11
|
#include <G4CsvNtupleFileManager.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 |
G4CsvNtupleFileManager ()=delete | |
G4CsvNtupleFileManager (const G4AnalysisManagerState &state) | |
G4String | GetFileType () const |
std::shared_ptr< G4CsvNtupleManager > | 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< G4CsvFileManager > fileManager) |
virtual void | SetNtupleMerging (G4bool mergeNtuples, G4int nofReducedNtupleFiles=0) |
virtual void | SetNtupleRowWise (G4bool rowWise, G4bool rowMode=true) |
virtual | ~G4CsvNtupleFileManager ()=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< G4CsvFileManager > | fFileManager { nullptr } |
std::shared_ptr< G4CsvNtupleManager > | fNtupleManager { nullptr } |
Static Private Attributes | |
static constexpr std::string_view | fkClass { "G4CsvNtupleFileManager" } |
Friends | |
class | G4CsvAnalysisManager |
Definition at line 44 of file G4CsvNtupleFileManager.hh.
|
explicit |
Definition at line 38 of file G4CsvNtupleFileManager.cc.
|
delete |
|
virtualdefault |
Implements G4VNtupleFileManager.
Definition at line 95 of file G4CsvNtupleFileManager.cc.
References CloseNtupleFiles(), fkClass, Reset(), and G4Analysis::Warn().
Implements G4VNtupleFileManager.
Definition at line 76 of file G4CsvNtupleFileManager.cc.
References G4VNtupleFileManager::fBookingManager, and fNtupleManager.
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 89 of file G4CsvNtupleFileManager.cc.
|
private |
Definition at line 47 of file G4CsvNtupleFileManager.cc.
References fFileManager, and fNtupleManager.
Referenced by ActionAtCloseFile().
|
overridevirtual |
Implements G4VNtupleFileManager.
Definition at line 65 of file G4CsvNtupleFileManager.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 114 of file G4CsvNtupleFileManager.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 79 of file G4CsvNtupleFileManager.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 G4CsvNtupleFileManager.hh.
|
protectedinherited |
Definition at line 90 of file G4VNtupleFileManager.hh.
Referenced by ActionAtOpenFile(), G4Hdf5NtupleFileManager::ActionAtOpenFile(), G4RootNtupleFileManager::ActionAtOpenFile(), G4XmlNtupleFileManager::ActionAtOpenFile(), G4RootNtupleFileManager::CreateNtupleManager(), and G4VNtupleFileManager::SetBookingManager().
|
private |
Definition at line 73 of file G4CsvNtupleFileManager.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 G4CsvNtupleFileManager.hh.
Referenced by ActionAtCloseFile().
|
private |
Definition at line 74 of file G4CsvNtupleFileManager.hh.
Referenced by ActionAtOpenFile(), CloseNtupleFiles(), CreateNtupleManager(), GetNtupleManager(), and Reset().
|
protectedinherited |
Definition at line 88 of file G4VNtupleFileManager.hh.
Referenced by CreateNtupleManager(), G4Hdf5NtupleFileManager::CreateNtupleManager(), G4RootNtupleFileManager::CreateNtupleManager(), G4XmlNtupleFileManager::CreateNtupleManager(), G4VNtupleFileManager::Message(), and G4RootNtupleFileManager::~G4RootNtupleFileManager().