Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TNtupleManager< NT, FT > Class Template Referenceabstract

#include <G4TNtupleManager.hh>

+ Inheritance diagram for G4TNtupleManager< NT, FT >:

Public Member Functions

 G4TNtupleManager (const G4AnalysisManagerState &state)
 
 G4TNtupleManager ()=delete
 
 ~G4TNtupleManager () override
 
- Public Member Functions inherited from G4BaseNtupleManager
 G4BaseNtupleManager (const G4AnalysisManagerState &state)
 
 G4BaseNtupleManager ()=delete
 
 ~G4BaseNtupleManager () override=default
 
 G4BaseNtupleManager (const G4BaseNtupleManager &rhs)=delete
 
G4BaseNtupleManageroperator= (const G4BaseNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4VNtupleManager
 G4VNtupleManager (const G4AnalysisManagerState &state)
 
 G4VNtupleManager ()=delete
 
 ~G4VNtupleManager () override=default
 
 G4VNtupleManager (const G4VNtupleManager &rhs)=delete
 
G4VNtupleManageroperator= (const G4VNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4BaseAnalysisManager
 G4BaseAnalysisManager (const G4AnalysisManagerState &state)
 
 G4BaseAnalysisManager ()=delete
 
virtual ~G4BaseAnalysisManager ()=default
 
G4bool SetFirstId (G4int firstId)
 
void SetLockFirstId (G4bool lockFirstId)
 
G4int GetFirstId () const
 
G4int GetCycle () const
 

Protected Member Functions

G4int CreateNtuple (G4NtupleBooking *ntupleBooking) override
 
virtual void CreateNtuplesFromBooking (const std::vector< G4NtupleBooking * > &ntupleBookings)
 
virtual G4bool Reset ()
 
void Clear () override
 
G4bool Delete (G4int id) override
 
G4bool FillNtupleIColumn (G4int ntupleId, G4int columnId, G4int value) final
 
G4bool FillNtupleFColumn (G4int ntupleId, G4int columnId, G4float value) final
 
G4bool FillNtupleDColumn (G4int ntupleId, G4int columnId, G4double value) final
 
G4bool FillNtupleSColumn (G4int ntupleId, G4int columnId, const G4String &value) final
 
G4bool AddNtupleRow (G4int ntupleId) override
 
void SetActivation (G4bool activation) final
 
void SetActivation (G4int ntupleId, G4bool activation) final
 
G4bool GetActivation (G4int ntupleId) const final
 
void SetNewCycle (G4bool value) override
 
G4bool GetNewCycle () const override
 
NT * GetNtuple () const
 
NT * GetNtuple (G4int ntupleId) const
 
std::vector< NT * >::iterator BeginNtuple ()
 
std::vector< NT * >::iterator EndNtuple ()
 
std::vector< NT * >::const_iterator BeginConstNtuple () const
 
std::vector< NT * >::const_iterator EndConstNtuple () const
 
G4bool FillNtupleIColumn (G4int id, G4int value) final
 
G4bool FillNtupleFColumn (G4int id, G4float value) final
 
G4bool FillNtupleDColumn (G4int id, G4double value) final
 
G4bool FillNtupleSColumn (G4int id, const G4String &value) final
 
G4bool AddNtupleRow () final
 
- Protected Member Functions inherited from G4BaseNtupleManager
G4bool SetFirstNtupleColumnId (G4int firstId) final
 
- Protected Member Functions inherited from G4VNtupleManager
- Protected Member Functions inherited from G4BaseAnalysisManager
G4bool IsVerbose (G4int verboseLevel) const
 
void Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const
 

Protected Attributes

std::vector< G4TNtupleDescription< NT, FT > * > fNtupleDescriptionVector
 
std::vector< NT * > fNtupleVector
 
const std::vector< G4NtupleBooking * > * fNtupleBookingVector { nullptr }
 
G4bool fNewCycle { false }
 
- Protected Attributes inherited from G4BaseNtupleManager
G4int fFirstNtupleColumnId { 0 }
 
- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId { 0 }
 
G4bool fLockFirstId { false }
 

Detailed Description

template<typename NT, typename FT>
class G4TNtupleManager< NT, FT >

Definition at line 43 of file G4TNtupleManager.hh.

Constructor & Destructor Documentation

◆ G4TNtupleManager() [1/2]

template<typename NT , typename FT >
G4TNtupleManager< NT, FT >::G4TNtupleManager ( const G4AnalysisManagerState & state)
explicit

◆ G4TNtupleManager() [2/2]

template<typename NT , typename FT >
G4TNtupleManager< NT, FT >::G4TNtupleManager ( )
delete

◆ ~G4TNtupleManager()

template<typename NT , typename FT >
G4TNtupleManager< NT, FT >::~G4TNtupleManager ( )
override

Member Function Documentation

◆ AddNtupleRow() [1/2]

template<typename NT , typename FT >
G4bool G4BaseNtupleManager::AddNtupleRow ( )
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 59 of file G4BaseNtupleManager.cc.

◆ AddNtupleRow() [2/2]

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::AddNtupleRow ( G4int ntupleId)
overrideprotectedvirtual

Implements G4BaseNtupleManager.

◆ BeginConstNtuple()

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

◆ BeginNtuple()

template<typename NT , typename FT >
std::vector< NT * >::iterator G4TNtupleManager< NT, FT >::BeginNtuple ( )
protected

◆ Clear()

template<typename NT , typename FT >
void G4TNtupleManager< NT, FT >::Clear ( )
overrideprotectedvirtual

Implements G4VNtupleManager.

◆ CreateNtuple()

template<typename NT , typename FT >
G4int G4TNtupleManager< NT, FT >::CreateNtuple ( G4NtupleBooking * ntupleBooking)
overrideprotectedvirtual

Implements G4BaseNtupleManager.

◆ CreateNtuplesFromBooking()

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

◆ Delete()

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::Delete ( G4int id)
overrideprotectedvirtual

Implements G4VNtupleManager.

◆ EndConstNtuple()

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

◆ EndNtuple()

template<typename NT , typename FT >
std::vector< NT * >::iterator G4TNtupleManager< NT, FT >::EndNtuple ( )
protected

◆ FillNtupleDColumn() [1/2]

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

Reimplemented from G4BaseNtupleManager.

Definition at line 57 of file G4BaseNtupleManager.cc.

50{
51 return FillNtupleDColumn(fFirstId, id, value);
52}
G4bool FillNtupleDColumn(G4int ntupleId, G4int columnId, G4double value) final

◆ FillNtupleDColumn() [2/2]

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::FillNtupleDColumn ( G4int ntupleId,
G4int columnId,
G4double value )
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleFColumn() [1/2]

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

Reimplemented from G4BaseNtupleManager.

Definition at line 56 of file G4BaseNtupleManager.cc.

44{
45 return FillNtupleFColumn(fFirstId, id, value);
46}
G4bool FillNtupleFColumn(G4int ntupleId, G4int columnId, G4float value) final

◆ FillNtupleFColumn() [2/2]

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::FillNtupleFColumn ( G4int ntupleId,
G4int columnId,
G4float value )
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleIColumn() [1/2]

template<typename NT , typename FT >
G4bool G4BaseNtupleManager::FillNtupleIColumn ( G4int id,
G4int value )
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 55 of file G4BaseNtupleManager.cc.

38{
39 return FillNtupleIColumn(fFirstId, id, value);
40}
G4bool FillNtupleIColumn(G4int ntupleId, G4int columnId, G4int value) final

◆ FillNtupleIColumn() [2/2]

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::FillNtupleIColumn ( G4int ntupleId,
G4int columnId,
G4int value )
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ FillNtupleSColumn() [1/2]

template<typename NT , typename FT >
G4bool G4BaseNtupleManager::FillNtupleSColumn ( G4int id,
const G4String & value )
finalprotectedvirtual

Reimplemented from G4BaseNtupleManager.

Definition at line 58 of file G4BaseNtupleManager.cc.

56{
57 return FillNtupleSColumn(fFirstId, id, value);
58}
G4bool FillNtupleSColumn(G4int ntupleId, G4int columnId, const G4String &value) final

◆ FillNtupleSColumn() [2/2]

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::FillNtupleSColumn ( G4int ntupleId,
G4int columnId,
const G4String & value )
finalprotectedvirtual

Implements G4BaseNtupleManager.

◆ GetActivation()

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::GetActivation ( G4int ntupleId) const
finalprotectedvirtual

Implements G4VNtupleManager.

◆ GetNewCycle()

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::GetNewCycle ( ) const
overrideprotectedvirtual

Implements G4VNtupleManager.

◆ GetNtuple() [1/2]

template<typename NT , typename FT >
NT * G4TNtupleManager< NT, FT >::GetNtuple ( ) const
protected

◆ GetNtuple() [2/2]

template<typename NT , typename FT >
NT * G4TNtupleManager< NT, FT >::GetNtuple ( G4int ntupleId) const
protected

◆ Reset()

template<typename NT , typename FT >
virtual G4bool G4TNtupleManager< NT, FT >::Reset ( )
protectedvirtual

◆ SetActivation() [1/2]

template<typename NT , typename FT >
void G4TNtupleManager< NT, FT >::SetActivation ( G4bool activation)
finalprotectedvirtual

Implements G4VNtupleManager.

◆ SetActivation() [2/2]

template<typename NT , typename FT >
void G4TNtupleManager< NT, FT >::SetActivation ( G4int ntupleId,
G4bool activation )
finalprotectedvirtual

Implements G4VNtupleManager.

◆ SetNewCycle()

template<typename NT , typename FT >
void G4TNtupleManager< NT, FT >::SetNewCycle ( G4bool value)
overrideprotectedvirtual

Implements G4VNtupleManager.

Member Data Documentation

◆ fNewCycle

template<typename NT , typename FT >
G4bool G4TNtupleManager< NT, FT >::fNewCycle { false }
protected

Definition at line 104 of file G4TNtupleManager.hh.

104{ false };

◆ fNtupleBookingVector

template<typename NT , typename FT >
const std::vector<G4NtupleBooking*>* G4TNtupleManager< NT, FT >::fNtupleBookingVector { nullptr }
protected

Definition at line 103 of file G4TNtupleManager.hh.

103{ nullptr };

◆ fNtupleDescriptionVector

template<typename NT , typename FT >
std::vector<G4TNtupleDescription<NT, FT>*> G4TNtupleManager< NT, FT >::fNtupleDescriptionVector
protected

Definition at line 101 of file G4TNtupleManager.hh.

◆ fNtupleVector

template<typename NT , typename FT >
std::vector<NT*> G4TNtupleManager< NT, FT >::fNtupleVector
protected

Definition at line 102 of file G4TNtupleManager.hh.


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