Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TNtupleManager< TN, TF > Class Template Referenceabstract

#include <G4TNtupleManager.hh>

+ Inheritance diagram for G4TNtupleManager< TN, TF >:

Public Member Functions

 G4TNtupleManager (const G4AnalysisManagerState &state)
 
 ~G4TNtupleManager ()
 
- Public Member Functions inherited from G4BaseNtupleManager
 G4BaseNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4BaseNtupleManager ()
 
 G4BaseNtupleManager (const G4BaseNtupleManager &rhs)=delete
 
G4BaseNtupleManageroperator= (const G4BaseNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4VNtupleManager
 G4VNtupleManager (const G4AnalysisManagerState &state)
 
virtual ~G4VNtupleManager ()
 
 G4VNtupleManager (const G4VNtupleManager &rhs)=delete
 
G4VNtupleManageroperator= (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
 

Protected Member Functions

virtual G4int CreateNtuple (G4NtupleBooking *ntupleBooking) override
 
virtual void CreateNtuplesFromBooking (const std::vector< G4NtupleBooking * > &ntupleBookings)
 
virtual G4bool Reset (G4bool deleteNtuple)
 
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) override
 
virtual void SetActivation (G4bool activation) final
 
virtual void SetActivation (G4int ntupleId, G4bool activation) final
 
virtual G4bool GetActivation (G4int ntupleId) const final
 
TN * GetNtuple () const
 
TN * GetNtuple (G4int ntupleId) const
 
virtual G4int GetNofNtuples () const final
 
std::vector< TN * >::iterator BeginNtuple ()
 
std::vector< TN * >::iterator EndNtuple ()
 
std::vector< TN * >::const_iterator BeginConstNtuple () const
 
std::vector< TN * >::const_iterator EndConstNtuple () const
 
virtual G4bool FillNtupleIColumn (G4int id, G4int value) final
 
virtual G4bool FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value)=0
 
virtual G4bool FillNtupleFColumn (G4int id, G4float value) final
 
virtual G4bool FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value)=0
 
virtual G4bool FillNtupleDColumn (G4int id, G4double value) final
 
virtual G4bool FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value)=0
 
virtual G4bool FillNtupleSColumn (G4int id, const G4String &value) final
 
virtual G4bool FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value)=0
 
virtual G4bool AddNtupleRow () final
 
virtual G4bool AddNtupleRow (G4int ntupleId)=0
 
- Protected Member Functions inherited from G4BaseNtupleManager
virtual G4int CreateNtuple (G4NtupleBooking *booking)=0
 
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
 
virtual G4bool FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value)=0
 
virtual G4bool FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value)=0
 
virtual G4bool FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value)=0
 
virtual G4bool FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value)=0
 
virtual G4bool AddNtupleRow (G4int ntupleId)=0
 
virtual G4bool SetFirstNtupleColumnId (G4int firstId) final
 
virtual G4int CreateNtuple (G4NtupleBooking *booking)=0
 
virtual G4bool FillNtupleIColumn (G4int id, G4int value)=0
 
virtual G4bool FillNtupleFColumn (G4int id, G4float value)=0
 
virtual G4bool FillNtupleDColumn (G4int id, G4double value)=0
 
virtual G4bool FillNtupleSColumn (G4int id, const G4String &value)=0
 
virtual G4bool AddNtupleRow ()=0
 
virtual G4bool FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value)=0
 
virtual G4bool FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value)=0
 
virtual G4bool FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value)=0
 
virtual G4bool FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value)=0
 
virtual G4bool AddNtupleRow (G4int ntupleId)=0
 
virtual void SetActivation (G4bool activation)=0
 
virtual void SetActivation (G4int id, G4bool activation)=0
 
virtual G4bool GetActivation (G4int id) const =0
 
virtual G4int GetNofNtuples () const =0
 
virtual G4bool SetFirstNtupleColumnId (G4int firstId)=0
 

Protected Attributes

std::vector< G4TNtupleDescription< TN, TF > * > fNtupleDescriptionVector
 
std::vector< TN * > fNtupleVector
 
- Protected Attributes inherited from G4BaseNtupleManager
G4int fFirstNtupleColumnId
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId
 
G4bool fLockFirstId
 

Detailed Description

template<typename TN, typename TF>
class G4TNtupleManager< TN, TF >

Definition at line 42 of file G4TNtupleManager.hh.

Constructor & Destructor Documentation

◆ G4TNtupleManager()

template<typename TN , typename TF >
G4TNtupleManager< TN, TF >::G4TNtupleManager ( const G4AnalysisManagerState state)
explicit

◆ ~G4TNtupleManager()

template<typename TN , typename TF >
G4TNtupleManager< TN, TF >::~G4TNtupleManager ( )

Member Function Documentation

◆ AddNtupleRow() [1/3]

template<typename TN , typename TF >
G4bool G4BaseNtupleManager::AddNtupleRow ( )
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 58 of file G4BaseNtupleManager.cc.

69{
70 return AddNtupleRow(fFirstId);
71}
virtual G4bool AddNtupleRow() final

◆ AddNtupleRow() [2/3]

template<typename TN , typename TF >
virtual G4bool G4TNtupleManager< TN, TF >::AddNtupleRow ( G4int  ntupleId)
overrideprotectedvirtual

Implements G4BaseNtupleManager.

◆ AddNtupleRow() [3/3]

template<typename TN , typename TF >
virtual G4bool G4BaseNtupleManager::AddNtupleRow ( G4int  ntupleId)
protectedvirtual

Implements G4BaseNtupleManager.

◆ BeginConstNtuple()

template<typename TN , typename TF >
std::vector< TN * >::const_iterator G4TNtupleManager< TN, TF >::BeginConstNtuple ( ) const
protected

◆ BeginNtuple()

template<typename TN , typename TF >
std::vector< TN * >::iterator G4TNtupleManager< TN, TF >::BeginNtuple ( )
protected

◆ CreateNtuple()

template<typename TN , typename TF >
virtual G4int G4TNtupleManager< TN, TF >::CreateNtuple ( G4NtupleBooking ntupleBooking)
overrideprotectedvirtual

Implements G4BaseNtupleManager.

◆ CreateNtuplesFromBooking()

template<typename TN , typename TF >
virtual void G4TNtupleManager< TN, TF >::CreateNtuplesFromBooking ( const std::vector< G4NtupleBooking * > &  ntupleBookings)
protectedvirtual

◆ EndConstNtuple()

template<typename TN , typename TF >
std::vector< TN * >::const_iterator G4TNtupleManager< TN, TF >::EndConstNtuple ( ) const
protected

◆ EndNtuple()

template<typename TN , typename TF >
std::vector< TN * >::iterator G4TNtupleManager< TN, TF >::EndNtuple ( )
protected

◆ FillNtupleDColumn() [1/3]

template<typename TN , typename TF >
G4bool G4BaseNtupleManager::FillNtupleDColumn ( G4int  id,
G4double  value 
)
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 56 of file G4BaseNtupleManager.cc.

57{
58 return FillNtupleDColumn(fFirstId, id, value);
59}
virtual G4bool FillNtupleDColumn(G4int ntupleId, G4int columnId, G4double value) final

◆ FillNtupleDColumn() [2/3]

template<typename TN , typename TF >
virtual G4bool G4TNtupleManager< TN, TF >::FillNtupleDColumn ( G4int  ntupleId,
G4int  columnId,
G4double  value 
)
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleDColumn() [3/3]

template<typename TN , typename TF >
virtual G4bool G4BaseNtupleManager::FillNtupleDColumn ( G4int  ntupleId,
G4int  columnId,
G4double  value 
)
protectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleFColumn() [1/3]

template<typename TN , typename TF >
G4bool G4BaseNtupleManager::FillNtupleFColumn ( G4int  id,
G4float  value 
)
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 55 of file G4BaseNtupleManager.cc.

51{
52 return FillNtupleFColumn(fFirstId, id, value);
53}
virtual G4bool FillNtupleFColumn(G4int ntupleId, G4int columnId, G4float value) final

◆ FillNtupleFColumn() [2/3]

template<typename TN , typename TF >
virtual G4bool G4TNtupleManager< TN, TF >::FillNtupleFColumn ( G4int  ntupleId,
G4int  columnId,
G4float  value 
)
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleFColumn() [3/3]

template<typename TN , typename TF >
virtual G4bool G4BaseNtupleManager::FillNtupleFColumn ( G4int  ntupleId,
G4int  columnId,
G4float  value 
)
protectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleIColumn() [1/3]

template<typename TN , typename TF >
G4bool G4BaseNtupleManager::FillNtupleIColumn ( G4int  id,
G4int  value 
)
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 54 of file G4BaseNtupleManager.cc.

45{
46 return FillNtupleIColumn(fFirstId, id, value);
47}
virtual G4bool FillNtupleIColumn(G4int ntupleId, G4int columnId, G4int value) final

◆ FillNtupleIColumn() [2/3]

template<typename TN , typename TF >
virtual G4bool G4TNtupleManager< TN, TF >::FillNtupleIColumn ( G4int  ntupleId,
G4int  columnId,
G4int  value 
)
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleIColumn() [3/3]

template<typename TN , typename TF >
virtual G4bool G4BaseNtupleManager::FillNtupleIColumn ( G4int  ntupleId,
G4int  columnId,
G4int  value 
)
protectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleSColumn() [1/3]

template<typename TN , typename TF >
G4bool G4BaseNtupleManager::FillNtupleSColumn ( G4int  id,
const G4String value 
)
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 57 of file G4BaseNtupleManager.cc.

63{
64 return FillNtupleSColumn(fFirstId, id, value);
65}
virtual G4bool FillNtupleSColumn(G4int ntupleId, G4int columnId, const G4String &value) final

◆ FillNtupleSColumn() [2/3]

template<typename TN , typename TF >
virtual G4bool G4TNtupleManager< TN, TF >::FillNtupleSColumn ( G4int  ntupleId,
G4int  columnId,
const G4String value 
)
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleSColumn() [3/3]

template<typename TN , typename TF >
virtual G4bool G4BaseNtupleManager::FillNtupleSColumn ( G4int  ntupleId,
G4int  columnId,
const G4String value 
)
protectedvirtual

Implements G4BaseNtupleManager.

◆ GetActivation()

template<typename TN , typename TF >
virtual G4bool G4TNtupleManager< TN, TF >::GetActivation ( G4int  ntupleId) const
finalprotectedvirtual

Implements G4VNtupleManager.

◆ GetNofNtuples()

template<typename TN , typename TF >
virtual G4int G4TNtupleManager< TN, TF >::GetNofNtuples ( ) const
finalprotectedvirtual

Implements G4VNtupleManager.

◆ GetNtuple() [1/2]

template<typename TN , typename TF >
TN * G4TNtupleManager< TN, TF >::GetNtuple ( ) const
protected

◆ GetNtuple() [2/2]

template<typename TN , typename TF >
TN * G4TNtupleManager< TN, TF >::GetNtuple ( G4int  ntupleId) const
protected

◆ Reset()

template<typename TN , typename TF >
virtual G4bool G4TNtupleManager< TN, TF >::Reset ( G4bool  deleteNtuple)
protectedvirtual

◆ SetActivation() [1/2]

template<typename TN , typename TF >
virtual void G4TNtupleManager< TN, TF >::SetActivation ( G4bool  activation)
finalprotectedvirtual

Implements G4VNtupleManager.

◆ SetActivation() [2/2]

template<typename TN , typename TF >
virtual void G4TNtupleManager< TN, TF >::SetActivation ( G4int  ntupleId,
G4bool  activation 
)
finalprotectedvirtual

Implements G4VNtupleManager.

Member Data Documentation

◆ fNtupleDescriptionVector

template<typename TN , typename TF >
std::vector<G4TNtupleDescription<TN, TF>*> G4TNtupleManager< TN, TF >::fNtupleDescriptionVector
protected

Definition at line 93 of file G4TNtupleManager.hh.

◆ fNtupleVector

template<typename TN , typename TF >
std::vector<TN*> G4TNtupleManager< TN, TF >::fNtupleVector
protected

Definition at line 94 of file G4TNtupleManager.hh.


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