Geant4
10.03
|
#include <G4RootNtupleManager.hh>
Public Member Functions | |
G4RootNtupleManager (const G4AnalysisManagerState &state, G4int nofMainManagers=0) | |
virtual | ~G4RootNtupleManager () |
Public Member Functions inherited from G4TNtupleManager< tools::wroot::ntuple > | |
G4TNtupleManager (const G4AnalysisManagerState &state) | |
~G4TNtupleManager () | |
Public Member Functions inherited from G4VNtupleManager | |
G4VNtupleManager (const G4AnalysisManagerState &state) | |
virtual | ~G4VNtupleManager () |
G4VNtupleManager (const G4VNtupleManager &rhs)=delete | |
G4VNtupleManager & | operator= (const G4VNtupleManager &rhs)=delete |
Public Member Functions inherited from G4BaseAnalysisManager | |
G4BaseAnalysisManager (const G4AnalysisManagerState &state) | |
virtual | ~G4BaseAnalysisManager () |
G4bool | SetFirstId (G4int firstId) |
void | SetLockFirstId (G4bool lockFirstId) |
G4int | GetFirstId () const |
Private Types | |
using | NtupleType = tools::wroot::ntuple |
using | NtupleDescriptionType = G4TNtupleDescription< NtupleType > |
Private Member Functions | |
void | SetNtupleDirectory (tools::wroot::directory *directory) |
void | SetFileManager (std::shared_ptr< G4RootFileManager > fileManager) |
virtual void | CreateTNtuple (NtupleDescriptionType *ntupleDescription, const G4String &name, const G4String &title) final |
virtual void | CreateTNtupleFromBooking (NtupleDescriptionType *ntupleDescription) final |
virtual void | FinishTNtuple (NtupleDescriptionType *ntupleDescription) final |
virtual G4bool | Reset (G4bool deleteNtuple) |
G4bool | Merge () |
const std::vector < NtupleDescriptionType * > & | GetNtupleDescriptionVector () const |
G4RootMainNtupleManager * | GetMainNtupleManager (G4int index) const |
unsigned int | GetBasketSize () const |
void | SetCreateMode () |
Private Attributes | |
G4NtupleCreateMode | fCreateMode |
std::shared_ptr < G4RootFileManager > | fFileManager |
tools::wroot::directory * | fNtupleDirectory |
std::vector < G4RootMainNtupleManager * > | fMainNtupleManagers |
Friends | |
class | G4RootAnalysisManager |
class | G4RootMainNtupleManager |
Additional Inherited Members | |
Protected Member Functions inherited from G4TNtupleManager< tools::wroot::ntuple > | |
void | CreateNtuplesFromBooking () |
G4bool | IsEmpty () const |
G4bool | Reset (G4bool deleteNtuple) |
virtual G4int | CreateNtuple (const G4String &name, const G4String &title) final |
virtual G4int | CreateNtupleIColumn (const G4String &name, std::vector< int > *vector) final |
virtual G4int | CreateNtupleIColumn (G4int ntupleId, const G4String &name, std::vector< int > *vector) final |
virtual G4int | CreateNtupleFColumn (const G4String &name, std::vector< float > *vector) final |
virtual G4int | CreateNtupleFColumn (G4int ntupleId, const G4String &name, std::vector< float > *vector) final |
virtual G4int | CreateNtupleDColumn (const G4String &name, std::vector< double > *vector) final |
virtual G4int | CreateNtupleDColumn (G4int ntupleId, const G4String &name, std::vector< double > *vector) final |
virtual G4int | CreateNtupleSColumn (const G4String &name) final |
virtual G4int | CreateNtupleSColumn (G4int ntupleId, const G4String &name) final |
virtual void | FinishNtuple () final |
virtual void | FinishNtuple (G4int ntupleId) final |
virtual G4bool | FillNtupleIColumn (G4int columnId, G4int value) final |
virtual G4bool | FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value) final |
virtual G4bool | FillNtupleFColumn (G4int columnId, G4float value) final |
virtual G4bool | FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value) final |
virtual G4bool | FillNtupleDColumn (G4int columnId, G4double value) final |
virtual G4bool | FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value) final |
virtual G4bool | FillNtupleSColumn (G4int columnId, const G4String &value) final |
virtual G4bool | FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value) final |
virtual G4bool | AddNtupleRow () final |
virtual G4bool | AddNtupleRow (G4int ntupleId) final |
virtual void | SetActivation (G4bool activation) final |
virtual void | SetActivation (G4int ntupleId, G4bool activation) final |
virtual G4bool | GetActivation (G4int ntupleId) const final |
tools::wroot::ntuple * | GetNtuple () const |
tools::wroot::ntuple * | GetNtuple (G4int ntupleId) const |
virtual G4int | GetNofNtuples () const final |
std::vector < tools::wroot::ntuple * > ::iterator | BeginNtuple () |
std::vector < tools::wroot::ntuple * > ::iterator | EndNtuple () |
std::vector < tools::wroot::ntuple * > ::const_iterator | BeginConstNtuple () const |
std::vector < tools::wroot::ntuple * > ::const_iterator | EndConstNtuple () const |
Protected Member Functions inherited from G4VNtupleManager | |
G4bool | SetFirstNtupleColumnId (G4int firstId) |
G4int | GetFirstNtupleColumnId () const |
Protected Attributes inherited from G4TNtupleManager< tools::wroot::ntuple > | |
std::vector < G4TNtupleDescription < tools::wroot::ntuple > * > | fNtupleDescriptionVector |
std::vector < tools::wroot::ntuple * > | fNtupleVector |
Protected Attributes inherited from G4VNtupleManager | |
G4int | fFirstNtupleColumnId |
G4bool | fLockFirstNtupleColumnId |
Protected Attributes inherited from G4BaseAnalysisManager | |
const G4AnalysisManagerState & | fState |
G4int | fFirstId |
G4bool | fLockFirstId |
Definition at line 72 of file G4RootNtupleManager.hh.
|
private |
Definition at line 85 of file G4RootNtupleManager.hh.
|
private |
Definition at line 84 of file G4RootNtupleManager.hh.
|
explicit |
Definition at line 41 of file G4RootNtupleManager.cc.
References fMainNtupleManagers, G4BaseAnalysisManager::fState, G4RootMainNtupleManager, and kUndefined.
|
virtual |
Definition at line 56 of file G4RootNtupleManager.cc.
|
finalprivatevirtual |
Definition at line 104 of file G4RootNtupleManager.cc.
References fCreateMode, G4TNtupleDescription< TNTUPLE >::fIsNtupleOwner, G4TNtupleDescription< TNTUPLE >::fNtuple, fNtupleDirectory, G4TNtupleManager< tools::wroot::ntuple >::fNtupleVector, kNoMergeAfterOpen, and SetCreateMode().
|
finalprivatevirtual |
Definition at line 121 of file G4RootNtupleManager.cc.
References fCreateMode, fFileManager, G4TNtupleDescription< TNTUPLE >::fIsNtupleOwner, fMainNtupleManagers, G4TNtupleDescription< TNTUPLE >::fNtuple, G4TNtupleDescription< TNTUPLE >::fNtupleBooking, fNtupleDirectory, G4TNtupleManager< tools::wroot::ntuple >::fNtupleVector, kMainBeforeOpen, and kNoMergeBeforeOpen.
|
finalprivatevirtual |
Definition at line 151 of file G4RootNtupleManager.cc.
References fCreateMode, fFileManager, fMainNtupleManagers, G4TNtupleDescription< TNTUPLE >::fNtupleBooking, and kMainAfterOpen.
|
private |
Definition at line 215 of file G4RootNtupleManager.cc.
References fFileManager, G4Exception(), and JustWarning.
Referenced by G4RootMainNtupleManager::CreateNtuple().
|
private |
Definition at line 201 of file G4RootNtupleManager.cc.
References fMainNtupleManagers, G4Exception(), and JustWarning.
Referenced by G4RootAnalysisManager::CreateNtupleManagers().
|
inlineprivate |
Definition at line 138 of file G4RootNtupleManager.hh.
References G4TNtupleManager< tools::wroot::ntuple >::fNtupleDescriptionVector.
Referenced by G4RootMainNtupleManager::CreateNtuplesFromBooking(), and G4RootMainNtupleManager::GetNtupleDescriptionVector().
|
private |
Definition at line 188 of file G4RootNtupleManager.cc.
References fMainNtupleManagers.
Referenced by G4RootAnalysisManager::WriteNtuple().
Definition at line 168 of file G4RootNtupleManager.cc.
References fCreateMode, fMainNtupleManagers, G4TNtupleManager< tools::wroot::ntuple >::fNtupleDescriptionVector, kNoMergeAfterOpen, and G4TNtupleManager< TNTUPLE >::Reset().
Referenced by G4RootAnalysisManager::Reset().
|
private |
Definition at line 64 of file G4RootNtupleManager.cc.
References fCreateMode, fFileManager, fMainNtupleManagers, fNtupleDirectory, G4BaseAnalysisManager::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), kMainAfterOpen, kMainBeforeOpen, kNoMergeAfterOpen, kNoMergeBeforeOpen, kUndefined, and G4AnalysisVerbose::Message().
Referenced by CreateTNtuple().
|
inlineprivate |
Definition at line 134 of file G4RootNtupleManager.hh.
References fFileManager.
Referenced by G4RootAnalysisManager::CreateNtupleManagers().
|
inlineprivate |
Definition at line 130 of file G4RootNtupleManager.hh.
References fNtupleDirectory.
Referenced by G4RootAnalysisManager::OpenFileImpl().
|
friend |
Definition at line 74 of file G4RootNtupleManager.hh.
|
friend |
Definition at line 75 of file G4RootNtupleManager.hh.
Referenced by G4RootNtupleManager().
|
private |
Definition at line 121 of file G4RootNtupleManager.hh.
Referenced by CreateTNtuple(), CreateTNtupleFromBooking(), FinishTNtuple(), Reset(), and SetCreateMode().
|
private |
Definition at line 122 of file G4RootNtupleManager.hh.
Referenced by CreateTNtupleFromBooking(), FinishTNtuple(), GetBasketSize(), SetCreateMode(), and SetFileManager().
|
private |
Definition at line 124 of file G4RootNtupleManager.hh.
Referenced by CreateTNtupleFromBooking(), FinishTNtuple(), G4RootNtupleManager(), GetMainNtupleManager(), Merge(), Reset(), and SetCreateMode().
|
private |
Definition at line 123 of file G4RootNtupleManager.hh.
Referenced by CreateTNtuple(), CreateTNtupleFromBooking(), SetCreateMode(), and SetNtupleDirectory().