ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4TRNtupleManager< TNTUPLE > Class Template Referenceabstract

#include <geant4/tree/geant4-10.6-release/source/analysis/management/include/G4TRNtupleManager.hh>

+ Inheritance diagram for G4TRNtupleManager< TNTUPLE >:
+ Collaboration diagram for G4TRNtupleManager< TNTUPLE >:

Protected Member Functions

 G4TRNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4TRNtupleManager ()
 
G4bool IsEmpty () const
 
G4bool Reset ()
 
TNTUPLE * GetNtuple () const
 
TNTUPLE * GetNtuple (G4int ntupleId) const
 
G4int SetNtuple (G4TRNtupleDescription< TNTUPLE > *rntupleDescription)
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value) final
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value) final
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value) final
 
virtual G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value) final
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector) override
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector) override
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector) override
 
virtual G4bool GetNtupleRow (G4int ntupleId) final
 
virtual G4int GetNofNtuples () const final
 
G4TRNtupleDescription< TNTUPLE > * GetNtupleDescriptionInFunction (G4int id, G4String function, G4bool warn=true) const
 
- Protected Member Functions inherited from G4BaseRNtupleManager
virtual G4bool SetNtupleIColumn (const G4String &columnName, G4int &value) final
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, G4float &value) final
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, G4double &value) final
 
virtual G4bool SetNtupleSColumn (const G4String &columnName, G4String &value) final
 
virtual G4bool SetNtupleIColumn (const G4String &columnName, std::vector< G4int > &vector) final
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, std::vector< G4float > &vector) final
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, std::vector< G4double > &vector) final
 
virtual G4bool GetNtupleRow () final
 

Private Member Functions

virtual G4bool GetTNtupleRow (G4TRNtupleDescription< TNTUPLE > *rntupleDescription)=0
 
template<typename T >
G4bool SetNtupleTColumn (G4int ntupleId, const G4String &name, T &value)
 
template<typename T >
G4bool SetNtupleTColumn (G4int ntupleId, const G4String &name, std::vector< T > &vector)
 

Private Attributes

std::vector
< G4TRNtupleDescription
< TNTUPLE > * > 
fNtupleDescriptionVector
 

Additional Inherited Members

- Public Member Functions inherited from G4BaseRNtupleManager
 G4BaseRNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseRNtupleManager ()
 
 G4BaseRNtupleManager (const G4BaseRNtupleManager &rhs)=delete
 
G4BaseRNtupleManageroperator= (const G4BaseRNtupleManager &rhs)=delete
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Detailed Description

template<typename TNTUPLE>
class G4TRNtupleManager< TNTUPLE >

Definition at line 41 of file G4TRNtupleManager.hh.

View newest version in sPHENIX GitHub at line 41 of file G4TRNtupleManager.hh

Constructor & Destructor Documentation

template<typename TNTUPLE>
G4TRNtupleManager< TNTUPLE >::G4TRNtupleManager ( const G4AnalysisManagerState state)
explicitprotected
template<typename TNTUPLE>
virtual G4TRNtupleManager< TNTUPLE >::~G4TRNtupleManager ( )
protectedvirtual

Member Function Documentation

template<typename TNTUPLE>
virtual G4int G4TRNtupleManager< TNTUPLE >::GetNofNtuples ( ) const
finalprotectedvirtual

Implements G4BaseRNtupleManager.

template<typename TNTUPLE>
TNTUPLE* G4TRNtupleManager< TNTUPLE >::GetNtuple ( ) const
protected
template<typename TNTUPLE>
TNTUPLE* G4TRNtupleManager< TNTUPLE >::GetNtuple ( G4int  ntupleId) const
protected
template<typename TNTUPLE>
G4TRNtupleDescription<TNTUPLE>* G4TRNtupleManager< TNTUPLE >::GetNtupleDescriptionInFunction ( G4int  id,
G4String  function,
G4bool  warn = true 
) const
protected
template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::GetNtupleRow ( G4int  ntupleId)
finalprotectedvirtual

Implements G4BaseRNtupleManager.

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::GetTNtupleRow ( G4TRNtupleDescription< TNTUPLE > *  rntupleDescription)
privatepure virtual
template<typename TNTUPLE>
G4bool G4TRNtupleManager< TNTUPLE >::IsEmpty ( ) const
protected
template<typename TNTUPLE>
G4bool G4TRNtupleManager< TNTUPLE >::Reset ( )
protected

Referenced by G4CsvAnalysisReader::Reset(), G4XmlAnalysisReader::Reset(), G4RootAnalysisReader::Reset(), and G4Hdf5AnalysisReader::Reset().

+ Here is the caller graph for this function:

template<typename TNTUPLE>
G4int G4TRNtupleManager< TNTUPLE >::SetNtuple ( G4TRNtupleDescription< TNTUPLE > *  rntupleDescription)
protected

Referenced by G4CsvAnalysisReader::ReadNtupleImpl(), G4XmlAnalysisReader::ReadNtupleImpl(), G4RootAnalysisReader::ReadNtupleImpl(), and G4Hdf5AnalysisReader::ReadNtupleImpl().

+ Here is the caller graph for this function:

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleDColumn ( G4int  ntupleId,
const G4String columnName,
G4double value 
)
finalprotectedvirtual

Implements G4BaseRNtupleManager.

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleDColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< G4double > &  vector 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager.

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleFColumn ( G4int  ntupleId,
const G4String columnName,
G4float value 
)
finalprotectedvirtual

Implements G4BaseRNtupleManager.

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleFColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< G4float > &  vector 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager.

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
G4int value 
)
finalprotectedvirtual

Implements G4BaseRNtupleManager.

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< G4int > &  vector 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager.

template<typename TNTUPLE>
virtual G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleSColumn ( G4int  ntupleId,
const G4String columnName,
G4String value 
)
finalprotectedvirtual

Implements G4BaseRNtupleManager.

template<typename TNTUPLE>
template<typename T >
G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleTColumn ( G4int  ntupleId,
const G4String name,
T value 
)
private
template<typename TNTUPLE>
template<typename T >
G4bool G4TRNtupleManager< TNTUPLE >::SetNtupleTColumn ( G4int  ntupleId,
const G4String name,
std::vector< T > &  vector 
)
private

Member Data Documentation

template<typename TNTUPLE>
std::vector<G4TRNtupleDescription<TNTUPLE>*> G4TRNtupleManager< TNTUPLE >::fNtupleDescriptionVector
private

Definition at line 111 of file G4TRNtupleManager.hh.

View newest version in sPHENIX GitHub at line 111 of file G4TRNtupleManager.hh


The documentation for this class was generated from the following file: