ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Private Types | |
enum | G4PNtupleCreateMode |
Private Member Functions | |
void | SetNtupleDirectory (tools::wroot::directory *directory) |
void | SetFileManager (std::shared_ptr< G4RootFileManager > fileManager) |
void | CreateNtuple (G4RootMpiPNtupleDescription *ntupleDescription) |
void | CreateNtuplesFromBooking () |
virtual G4int | CreateNtuple (const G4String &name, const G4String &title) final |
virtual G4int | CreateNtupleIColumn (G4int ntupleId, const G4String &name, std::vector< int > *vector) final |
virtual G4int | CreateNtupleFColumn (G4int ntupleId, const G4String &name, std::vector< float > *vector) final |
virtual G4int | CreateNtupleDColumn (G4int ntupleId, const G4String &name, std::vector< double > *vector) final |
virtual G4int | CreateNtupleSColumn (G4int ntupleId, const G4String &name) final |
virtual void | FinishNtuple (G4int ntupleId) final |
virtual G4bool | FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value) final |
virtual G4bool | FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value) final |
virtual G4bool | FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value) final |
virtual G4bool | FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value) final |
virtual G4bool | AddNtupleRow (G4int ntupleId) final |
virtual G4bool | Merge () final |
virtual G4bool | Reset (G4bool deleteNtuple) final |
virtual void | SetActivation (G4bool activation) final |
virtual void | SetActivation (G4int ntupleId, G4bool activation) final |
virtual G4bool | GetActivation (G4int ntupleId) const final |
virtual G4bool | IsEmpty () const final |
virtual G4int | GetNofNtuples () const final |
virtual G4int | GetNofNtupleBookings () const final |
const std::vector < G4RootMpiPNtupleDescription * > & | GetNtupleDescriptionVector () const |
unsigned int | GetBasketSize () const |
G4RootMpiPNtupleDescription * | GetNtupleDescriptionInFunction (G4int id, G4String function, G4bool warn=true) const |
tools::wroot::base_pntuple * | GetNtupleInFunction (G4int id, G4String function, G4bool warn=true) const |
template<typename T > | |
G4int | CreateNtupleTColumn (G4int ntupleId, const G4String &name, std::vector< T > *vector) |
template<typename T > | |
G4int | CreateNtupleTColumn (const G4String &name, std::vector< T > *vector) |
template<typename T > | |
G4bool | FillNtupleTColumn (G4int ntupleId, G4int columnId, const T &value) |
Private Attributes | |
std::shared_ptr < G4RootFileManager > | fFileManager |
tools::wroot::directory * | fNtupleDirectory |
std::vector < G4RootMpiPNtupleDescription * > | fNtupleDescriptionVector |
std::vector < tools::wroot::impi_ntuple * > | fNtupleVector |
tools::impi * | fImpi |
G4int | fMpiRank |
G4int | fDestinationRank |
Friends | |
class | G4RootMpiAnalysisManager |
class | G4RootAnalysisManager |
class | G4RootNtupleManager |
Additional Inherited Members | |
Protected Member Functions inherited from G4BaseNtupleManager | |
virtual G4int | CreateNtupleIColumn (const G4String &name, std::vector< int > *vector) final |
virtual G4int | CreateNtupleFColumn (const G4String &name, std::vector< float > *vector) final |
virtual G4int | CreateNtupleDColumn (const G4String &name, std::vector< double > *vector) final |
virtual G4int | CreateNtupleSColumn (const G4String &name) |
virtual void | FinishNtuple () final |
virtual G4bool | SetFirstNtupleColumnId (G4int firstId) final |
G4int | GetFirstNtupleColumnId () const final |
virtual G4bool | FillNtupleIColumn (G4int id, G4int value) final |
virtual G4bool | FillNtupleFColumn (G4int id, G4float value) final |
virtual G4bool | FillNtupleDColumn (G4int id, G4double value) final |
virtual G4bool | FillNtupleSColumn (G4int id, const G4String &value) final |
virtual G4bool | AddNtupleRow () final |
Protected Attributes inherited from G4BaseNtupleManager | |
G4int | fFirstNtupleColumnId |
G4bool | fLockFirstNtupleColumnId |
Definition at line 58 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 58 of file G4RootMpiPNtupleManager.hh
|
private |
Definition at line 70 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 70 of file G4RootMpiPNtupleManager.hh
|
explicit |
Definition at line 41 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 41 of file G4RootMpiPNtupleManager.cc
G4RootMpiPNtupleManager::~G4RootMpiPNtupleManager | ( | ) |
Definition at line 53 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 53 of file G4RootMpiPNtupleManager.cc
References fNtupleDescriptionVector.
Implements G4BaseNtupleManager.
Definition at line 369 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 369 of file G4RootMpiPNtupleManager.cc
References fImpi, G4BaseAnalysisManager::fState, G4Exception(), GetActivation(), G4AnalysisManagerState::GetIsActivation(), GetNtupleDescriptionInFunction(), G4AnalysisManagerState::GetVerboseL3(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, kTAG_NTUPLE, and G4AnalysisVerbose::Message().
|
private |
Definition at line 109 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 109 of file G4RootMpiPNtupleManager.cc
References G4RootMpiPNtupleDescription::fBasePNtuple, fDestinationRank, G4RootMpiPNtupleDescription::fImpi, fImpi, G4RootMpiPNtupleDescription::fIsNtupleOwner, fMpiRank, G4RootMpiPNtupleDescription::fNtuple, G4RootMpiPNtupleDescription::fNtupleBooking, fNtupleVector, G4BaseAnalysisManager::fState, G4cerr, G4cout, G4endl, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL3(), G4AnalysisManagerState::GetVerboseL4(), kTAG_NTUPLE, G4AnalysisVerbose::Message(), and ntuple.
Referenced by CreateNtuplesFromBooking().
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 274 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 274 of file G4RootMpiPNtupleManager.cc
References fDestinationRank, G4BaseAnalysisManager::fFirstId, G4BaseAnalysisManager::fLockFirstId, fNtupleDescriptionVector, G4BaseAnalysisManager::fState, G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 323 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 323 of file G4RootMpiPNtupleManager.cc
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 316 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 316 of file G4RootMpiPNtupleManager.cc
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 309 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 309 of file G4RootMpiPNtupleManager.cc
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 330 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 330 of file G4RootMpiPNtupleManager.cc
|
private |
Definition at line 232 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 232 of file G4RootMpiPNtupleManager.cc
References CreateNtuple(), fNtupleDescriptionVector, fNtupleVector, G4BaseAnalysisManager::fState, G4AnalysisManagerState::GetIsActivation(), G4AnalysisManagerState::GetVerboseL3(), G4AnalysisManagerState::GetVerboseL4(), and G4AnalysisVerbose::Message().
Referenced by G4RootMpiAnalysisManager::OpenFileImpl().
|
private |
Definition at line 168 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 168 of file G4RootMpiPNtupleManager.hh
References G4BaseNtupleManager::fFirstNtupleColumnId, G4BaseNtupleManager::fLockFirstNtupleColumnId, G4BaseAnalysisManager::fState, GetNtupleDescriptionInFunction(), G4AnalysisManagerState::GetVerboseL2(), G4AnalysisManagerState::GetVerboseL4(), G4Analysis::kInvalidId, and G4AnalysisVerbose::Message().
|
private |
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 355 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 355 of file G4RootMpiPNtupleManager.cc
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 348 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 348 of file G4RootMpiPNtupleManager.cc
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 341 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 341 of file G4RootMpiPNtupleManager.cc
|
finalprivatevirtual |
Implements G4BaseNtupleManager.
Definition at line 362 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 362 of file G4RootMpiPNtupleManager.cc
|
private |
Definition at line 263 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 263 of file G4RootMpiPNtupleManager.hh
References G4BaseNtupleManager::fFirstNtupleColumnId, G4BaseAnalysisManager::fState, G4cout, G4endl, G4Exception(), GetActivation(), G4AnalysisManagerState::GetIsActivation(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4AnalysisVerbose::Message(), and ntuple.
|
inline |
Definition at line 206 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 206 of file G4RootMpiPNtupleManager.hh
References G4BaseNtupleManager::fFirstNtupleColumnId, G4BaseAnalysisManager::fState, G4cout, G4endl, G4Exception(), GetActivation(), G4AnalysisManagerState::GetIsActivation(), GetNtupleInFunction(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, G4AnalysisVerbose::Message(), and ntuple.
Implements G4BaseNtupleManager.
Definition at line 337 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 337 of file G4RootMpiPNtupleManager.cc
Implements G4VNtupleManager.
Definition at line 502 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 502 of file G4RootMpiPNtupleManager.cc
References GetNtupleDescriptionInFunction().
Referenced by AddNtupleRow(), and FillNtupleTColumn().
|
private |
Definition at line 530 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 530 of file G4RootMpiPNtupleManager.cc
References fFileManager, G4Exception(), and JustWarning.
|
finalprivatevirtual |
Implements G4VNtupleManager.
Definition at line 518 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 518 of file G4RootMpiPNtupleManager.cc
References fNtupleDescriptionVector.
|
finalprivatevirtual |
Implements G4VNtupleManager.
Definition at line 512 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 512 of file G4RootMpiPNtupleManager.cc
References fNtupleVector.
|
private |
Definition at line 66 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 66 of file G4RootMpiPNtupleManager.cc
References G4BaseAnalysisManager::fFirstId, fNtupleDescriptionVector, G4Exception(), and JustWarning.
Referenced by AddNtupleRow(), CreateNtupleTColumn(), GetActivation(), GetNtupleInFunction(), and SetActivation().
|
inlineprivate |
Definition at line 162 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 162 of file G4RootMpiPNtupleManager.hh
References fNtupleDescriptionVector.
|
private |
Definition at line 85 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 85 of file G4RootMpiPNtupleManager.cc
References G4Exception(), GetNtupleDescriptionInFunction(), and JustWarning.
Referenced by FillNtupleTColumn().
|
finalprivatevirtual |
Definition at line 524 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 524 of file G4RootMpiPNtupleManager.cc
References fNtupleDescriptionVector.
|
finalprivatevirtual |
Definition at line 412 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 412 of file G4RootMpiPNtupleManager.cc
References fImpi, fNtupleDescriptionVector, G4BaseAnalysisManager::fState, G4cout, G4endl, G4Exception(), G4AnalysisManagerState::GetVerboseL3(), G4AnalysisManagerState::GetVerboseL4(), JustWarning, kTAG_NTUPLE, and G4AnalysisVerbose::Message().
Referenced by G4RootMpiAnalysisManager::WriteNtuple().
Definition at line 466 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 466 of file G4RootMpiPNtupleManager.cc
References fNtupleDescriptionVector, and fNtupleVector.
Referenced by G4RootMpiAnalysisManager::Reset().
Implements G4VNtupleManager.
Definition at line 482 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 482 of file G4RootMpiPNtupleManager.cc
References fNtupleDescriptionVector.
|
finalprivatevirtual |
Implements G4VNtupleManager.
Definition at line 492 of file G4RootMpiPNtupleManager.cc.
View newest version in sPHENIX GitHub at line 492 of file G4RootMpiPNtupleManager.cc
References GetNtupleDescriptionInFunction().
|
inlineprivate |
Definition at line 158 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 158 of file G4RootMpiPNtupleManager.hh
References fFileManager.
|
inlineprivate |
Definition at line 154 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 154 of file G4RootMpiPNtupleManager.hh
|
friend |
Definition at line 61 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 61 of file G4RootMpiPNtupleManager.hh
|
friend |
Definition at line 60 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 60 of file G4RootMpiPNtupleManager.hh
|
friend |
Definition at line 62 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 62 of file G4RootMpiPNtupleManager.hh
|
private |
Definition at line 148 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 148 of file G4RootMpiPNtupleManager.hh
Referenced by CreateNtuple().
|
private |
Definition at line 142 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 142 of file G4RootMpiPNtupleManager.hh
Referenced by GetBasketSize(), and SetFileManager().
|
private |
Definition at line 146 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 146 of file G4RootMpiPNtupleManager.hh
Referenced by AddNtupleRow(), CreateNtuple(), and Merge().
|
private |
Definition at line 147 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 147 of file G4RootMpiPNtupleManager.hh
Referenced by CreateNtuple().
|
private |
Definition at line 144 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 144 of file G4RootMpiPNtupleManager.hh
Referenced by CreateNtuple(), CreateNtuplesFromBooking(), GetNofNtupleBookings(), GetNtupleDescriptionInFunction(), GetNtupleDescriptionVector(), IsEmpty(), Merge(), Reset(), SetActivation(), and ~G4RootMpiPNtupleManager().
|
private |
Definition at line 143 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 143 of file G4RootMpiPNtupleManager.hh
|
private |
Definition at line 145 of file G4RootMpiPNtupleManager.hh.
View newest version in sPHENIX GitHub at line 145 of file G4RootMpiPNtupleManager.hh
Referenced by CreateNtuple(), CreateNtuplesFromBooking(), GetNofNtuples(), and Reset().