Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TRNtupleManager< TNTUPLE > Class Template Referenceabstract

#include <G4TRNtupleManager.hh>

+ Inheritance 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
 
virtual G4bool SetNtupleIColumn (const G4String &columnName, G4int &value) final
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value)=0
 
virtual G4bool SetNtupleIColumn (const G4String &columnName, std::vector< G4int > &vector) final
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector)=0
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, G4float &value) final
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value)=0
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, std::vector< G4float > &vector) final
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector)=0
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, G4double &value) final
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value)=0
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, std::vector< G4double > &vector) final
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector)=0
 
virtual G4bool SetNtupleSColumn (const G4String &columnName, G4String &value) final
 
virtual G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value)=0
 
virtual G4bool GetNtupleRow () final
 
virtual G4bool GetNtupleRow (G4int ntupleId)=0
 
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 (G4int ntupleId, const G4String &columnName, G4int &value)=0
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value)=0
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value)=0
 
virtual G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value)=0
 
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 SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector)=0
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector)=0
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector)=0
 
virtual G4bool GetNtupleRow () final
 
virtual G4bool GetNtupleRow (G4int ntupleId)=0
 
virtual G4int GetNofNtuples () const =0
 
virtual G4bool SetNtupleIColumn (const G4String &columnName, G4int &value)=0
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, G4float &value)=0
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, G4double &value)=0
 
virtual G4bool SetNtupleSColumn (const G4String &columnName, G4String &value)=0
 
virtual G4bool SetNtupleIColumn (const G4String &columnName, std::vector< G4int > &vector)=0
 
virtual G4bool SetNtupleFColumn (const G4String &columnName, std::vector< G4float > &vector)=0
 
virtual G4bool SetNtupleDColumn (const G4String &columnName, std::vector< G4double > &vector)=0
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value)=0
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value)=0
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value)=0
 
virtual G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value)=0
 
virtual G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector)=0
 
virtual G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector)=0
 
virtual G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector)=0
 
virtual G4bool GetNtupleRow ()=0
 
virtual G4bool GetNtupleRow (G4int ntupleId)=0
 
virtual G4int GetNofNtuples () const =0
 

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
 
- Public Member Functions inherited from G4VRNtupleManager
 G4VRNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4VRNtupleManager ()
 
 G4VRNtupleManager (const G4VRNtupleManager &rhs)=delete
 
G4VRNtupleManageroperator= (const G4VRNtupleManager &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
 
- 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.

Constructor & Destructor Documentation

◆ G4TRNtupleManager()

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

◆ ~G4TRNtupleManager()

template<typename TNTUPLE >
virtual G4TRNtupleManager< TNTUPLE >::~G4TRNtupleManager ( )
protectedvirtual

Member Function Documentation

◆ GetNofNtuples()

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

Implements G4BaseRNtupleManager.

◆ GetNtuple() [1/2]

template<typename TNTUPLE >
TNTUPLE * G4TRNtupleManager< TNTUPLE >::GetNtuple ( ) const
protected

◆ GetNtuple() [2/2]

template<typename TNTUPLE >
TNTUPLE * G4TRNtupleManager< TNTUPLE >::GetNtuple ( G4int  ntupleId) const
protected

◆ GetNtupleDescriptionInFunction()

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

◆ GetNtupleRow() [1/3]

template<typename TNTUPLE >
G4bool G4BaseRNtupleManager::GetNtupleRow ( )
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 89 of file G4BaseRNtupleManager.cc.

101{
102 return GetNtupleRow(fFirstId);
103}
virtual G4bool GetNtupleRow() final

◆ GetNtupleRow() [2/3]

template<typename TNTUPLE >
virtual G4bool G4TRNtupleManager< TNTUPLE >::GetNtupleRow ( G4int  ntupleId)
finalprotectedvirtual

Implements G4BaseRNtupleManager.

◆ GetNtupleRow() [3/3]

template<typename TNTUPLE >
virtual G4bool G4BaseRNtupleManager::GetNtupleRow ( G4int  ntupleId)
protectedvirtual

Implements G4BaseRNtupleManager.

◆ IsEmpty()

template<typename TNTUPLE >
G4bool G4TRNtupleManager< TNTUPLE >::IsEmpty ( ) const
protected

◆ Reset()

template<typename TNTUPLE >
G4bool G4TRNtupleManager< TNTUPLE >::Reset ( )
protected

◆ SetNtuple()

◆ SetNtupleDColumn() [1/6]

template<typename TNTUPLE >
G4bool G4BaseRNtupleManager::SetNtupleDColumn ( const G4String columnName,
G4double value 
)
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 61 of file G4BaseRNtupleManager.cc.

67{
68 return SetNtupleDColumn(GetCurrentNtupleId(), columnName, value);
69}
virtual G4bool SetNtupleDColumn(G4int ntupleId, const G4String &columnName, G4double &value) final

◆ SetNtupleDColumn() [2/6]

template<typename TNTUPLE >
G4bool G4BaseRNtupleManager::SetNtupleDColumn ( const G4String columnName,
std::vector< G4double > &  vector 
)
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 80 of file G4BaseRNtupleManager.cc.

95{
96 return SetNtupleDColumn(GetCurrentNtupleId(), columnName, vector);
97}

◆ SetNtupleDColumn() [3/6]

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

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager.

◆ SetNtupleDColumn() [4/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleDColumn() [5/6]

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

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager, and G4XmlRNtupleManager.

◆ SetNtupleDColumn() [6/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleFColumn() [1/6]

template<typename TNTUPLE >
G4bool G4BaseRNtupleManager::SetNtupleFColumn ( const G4String columnName,
G4float value 
)
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 59 of file G4BaseRNtupleManager.cc.

60{
61 return SetNtupleFColumn(GetCurrentNtupleId(), columnName, value);
62}
virtual G4bool SetNtupleFColumn(G4int ntupleId, const G4String &columnName, G4float &value) final

◆ SetNtupleFColumn() [2/6]

template<typename TNTUPLE >
G4bool G4BaseRNtupleManager::SetNtupleFColumn ( const G4String columnName,
std::vector< G4float > &  vector 
)
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 78 of file G4BaseRNtupleManager.cc.

88{
89 return SetNtupleFColumn(GetCurrentNtupleId(), columnName, vector);
90}

◆ SetNtupleFColumn() [3/6]

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

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager.

◆ SetNtupleFColumn() [4/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleFColumn() [5/6]

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

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager, and G4XmlRNtupleManager.

◆ SetNtupleFColumn() [6/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleIColumn() [1/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 57 of file G4BaseRNtupleManager.cc.

54{
55 return SetNtupleIColumn(GetCurrentNtupleId(), columnName, value);
56}
virtual G4bool SetNtupleIColumn(G4int ntupleId, const G4String &columnName, G4int &value) final

◆ SetNtupleIColumn() [2/6]

template<typename TNTUPLE >
G4bool G4BaseRNtupleManager::SetNtupleIColumn ( const G4String columnName,
std::vector< G4int > &  vector 
)
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 76 of file G4BaseRNtupleManager.cc.

81{
82 return SetNtupleIColumn(GetCurrentNtupleId(), columnName, vector);
83}

◆ SetNtupleIColumn() [3/6]

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

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager.

◆ SetNtupleIColumn() [4/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleIColumn() [5/6]

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

Implements G4BaseRNtupleManager.

Reimplemented in G4XmlRNtupleManager, and G4XmlRNtupleManager.

◆ SetNtupleIColumn() [6/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleSColumn() [1/3]

template<typename TNTUPLE >
G4bool G4BaseRNtupleManager::SetNtupleSColumn ( const G4String columnName,
G4String value 
)
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 63 of file G4BaseRNtupleManager.cc.

74{
75 return SetNtupleSColumn(GetCurrentNtupleId(), columnName, value);
76}
virtual G4bool SetNtupleSColumn(G4int ntupleId, const G4String &columnName, G4String &value) final

◆ SetNtupleSColumn() [2/3]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleSColumn() [3/3]

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

Implements G4BaseRNtupleManager.


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