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

#include <G4TRNtupleManager.hh>

+ Inheritance diagram for G4TRNtupleManager< NT >:

Public Member Functions

 G4TRNtupleManager ()=delete
 
- Public Member Functions inherited from G4BaseRNtupleManager
 G4BaseRNtupleManager (const G4AnalysisManagerState &state)
 
 ~G4BaseRNtupleManager () override=default
 
 G4BaseRNtupleManager ()=delete
 
 G4BaseRNtupleManager (const G4BaseRNtupleManager &rhs)=delete
 
G4BaseRNtupleManageroperator= (const G4BaseRNtupleManager &rhs)=delete
 
- Public Member Functions inherited from G4VRNtupleManager
 G4VRNtupleManager (const G4AnalysisManagerState &state)
 
 G4VRNtupleManager ()=delete
 
 ~G4VRNtupleManager () override=default
 
 G4VRNtupleManager (const G4VRNtupleManager &rhs)=delete
 
G4VRNtupleManageroperator= (const G4VRNtupleManager &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

 G4TRNtupleManager (const G4AnalysisManagerState &state)
 
 ~G4TRNtupleManager () override
 
G4bool IsEmpty () const
 
G4bool Reset ()
 
NT * GetNtuple () const
 
NT * GetNtuple (G4int ntupleId) const
 
G4int SetNtuple (G4TRNtupleDescription< NT > *rntupleDescription)
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value) final
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value) final
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value) final
 
G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value) final
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector) override
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector) override
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector) override
 
G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, std::vector< std::string > &vector) override
 
G4bool GetNtupleRow (G4int ntupleId) final
 
G4int GetNofNtuples () const final
 
G4TRNtupleDescription< NT > * GetNtupleDescriptionInFunction (G4int id, std::string_view function, G4bool warn=true) const
 
G4bool SetNtupleIColumn (const G4String &columnName, G4int &value) final
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value) override=0
 
G4bool SetNtupleIColumn (const G4String &columnName, std::vector< G4int > &vector) final
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector) override=0
 
G4bool SetNtupleFColumn (const G4String &columnName, G4float &value) final
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value) override=0
 
G4bool SetNtupleFColumn (const G4String &columnName, std::vector< G4float > &vector) final
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector) override=0
 
G4bool SetNtupleDColumn (const G4String &columnName, G4double &value) final
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value) override=0
 
G4bool SetNtupleDColumn (const G4String &columnName, std::vector< G4double > &vector) final
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector) override=0
 
G4bool SetNtupleSColumn (const G4String &columnName, G4String &value) final
 
G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value) override=0
 
G4bool SetNtupleSColumn (const G4String &columnName, std::vector< std::string > &vector) final
 
G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, std::vector< std::string > &vector) override=0
 
G4bool GetNtupleRow () final
 
G4bool GetNtupleRow (G4int ntupleId) override=0
 
G4bool SetNtupleIColumn (const G4String &columnName, G4int &value) final
 
G4bool SetNtupleFColumn (const G4String &columnName, G4float &value) final
 
G4bool SetNtupleDColumn (const G4String &columnName, G4double &value) final
 
G4bool SetNtupleSColumn (const G4String &columnName, G4String &value) final
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, G4int &value) override=0
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, G4float &value) override=0
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, G4double &value) override=0
 
G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, G4String &value) override=0
 
G4bool SetNtupleIColumn (const G4String &columnName, std::vector< G4int > &vector) final
 
G4bool SetNtupleFColumn (const G4String &columnName, std::vector< G4float > &vector) final
 
G4bool SetNtupleDColumn (const G4String &columnName, std::vector< G4double > &vector) final
 
G4bool SetNtupleSColumn (const G4String &columnName, std::vector< std::string > &vector) final
 
G4bool SetNtupleIColumn (G4int ntupleId, const G4String &columnName, std::vector< G4int > &vector) override=0
 
G4bool SetNtupleFColumn (G4int ntupleId, const G4String &columnName, std::vector< G4float > &vector) override=0
 
G4bool SetNtupleDColumn (G4int ntupleId, const G4String &columnName, std::vector< G4double > &vector) override=0
 
G4bool SetNtupleSColumn (G4int ntupleId, const G4String &columnName, std::vector< std::string > &vector) override=0
 
G4bool GetNtupleRow () final
 
G4bool GetNtupleRow (G4int ntupleId) override=0
 
G4int GetNofNtuples () const override=0
 
- Protected Member Functions inherited from G4VRNtupleManager
virtual G4int ReadNtupleImpl (const G4String &ntupleName, const G4String &fileName, const G4String &dirName, G4bool isUserFileName)=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 SetNtupleSColumn (const G4String &columnName, std::vector< std::string > &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 SetNtupleSColumn (G4int ntupleId, const G4String &columnName, std::vector< std::string > &vector)=0
 
virtual G4bool GetNtupleRow ()=0
 
virtual G4bool GetNtupleRow (G4int ntupleId)=0
 
virtual G4int GetNofNtuples () const =0
 
- 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
 

Additional Inherited Members

- Protected Attributes inherited from G4BaseAnalysisManager
const G4AnalysisManagerStatefState
 
G4int fFirstId { 0 }
 
G4bool fLockFirstId { false }
 

Detailed Description

template<typename NT>
class G4TRNtupleManager< NT >

Definition at line 42 of file G4TRNtupleManager.hh.

Constructor & Destructor Documentation

◆ G4TRNtupleManager() [1/2]

template<typename NT >
G4TRNtupleManager< NT >::G4TRNtupleManager ( )
delete

◆ G4TRNtupleManager() [2/2]

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

◆ ~G4TRNtupleManager()

template<typename NT >
G4TRNtupleManager< NT >::~G4TRNtupleManager ( )
overrideprotected

Member Function Documentation

◆ GetNofNtuples()

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

Implements G4BaseRNtupleManager.

◆ GetNtuple() [1/2]

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

◆ GetNtuple() [2/2]

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

◆ GetNtupleDescriptionInFunction()

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

◆ GetNtupleRow() [1/3]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 85 of file G4BaseRNtupleManager.cc.

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

◆ GetNtupleRow() [2/3]

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

Implements G4BaseRNtupleManager.

◆ GetNtupleRow() [3/3]

template<typename NT >
G4bool G4BaseRNtupleManager::GetNtupleRow ( G4int  ntupleId)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

◆ IsEmpty()

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

◆ Reset()

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

◆ SetNtuple()

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

◆ SetNtupleDColumn() [1/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 60 of file G4BaseRNtupleManager.cc.

61{
62 return SetNtupleDColumn(GetCurrentNtupleId(), columnName, value);
63}
G4bool SetNtupleDColumn(G4int ntupleId, const G4String &columnName, G4double &value) final

◆ SetNtupleDColumn() [2/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 74 of file G4BaseRNtupleManager.cc.

89{
90 return SetNtupleDColumn(GetCurrentNtupleId(), columnName, vector);
91}

◆ SetNtupleDColumn() [3/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleDColumn() [4/6]

template<typename NT >
G4bool G4BaseRNtupleManager::SetNtupleDColumn ( G4int  ntupleId,
const G4String columnName,
G4double value 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

◆ SetNtupleDColumn() [5/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleDColumn() [6/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleFColumn() [1/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 59 of file G4BaseRNtupleManager.cc.

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

◆ SetNtupleFColumn() [2/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 73 of file G4BaseRNtupleManager.cc.

82{
83 return SetNtupleFColumn(GetCurrentNtupleId(), columnName, vector);
84}

◆ SetNtupleFColumn() [3/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleFColumn() [4/6]

template<typename NT >
G4bool G4BaseRNtupleManager::SetNtupleFColumn ( G4int  ntupleId,
const G4String columnName,
G4float value 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

◆ SetNtupleFColumn() [5/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleFColumn() [6/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleIColumn() [1/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 58 of file G4BaseRNtupleManager.cc.

48{
49 return SetNtupleIColumn(GetCurrentNtupleId(), columnName, value);
50}
G4bool SetNtupleIColumn(G4int ntupleId, const G4String &columnName, G4int &value) final

◆ SetNtupleIColumn() [2/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 72 of file G4BaseRNtupleManager.cc.

75{
76 return SetNtupleIColumn(GetCurrentNtupleId(), columnName, vector);
77}

◆ SetNtupleIColumn() [3/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleIColumn() [4/6]

template<typename NT >
G4bool G4BaseRNtupleManager::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
G4int value 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

◆ SetNtupleIColumn() [5/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleIColumn() [6/6]

template<typename NT >
G4bool G4BaseRNtupleManager::SetNtupleIColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< G4int > &  vector 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

◆ SetNtupleSColumn() [1/6]

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

Reimplemented from G4BaseRNtupleManager.

Definition at line 61 of file G4BaseRNtupleManager.cc.

68{
69 return SetNtupleSColumn(GetCurrentNtupleId(), columnName, value);
70}
G4bool SetNtupleSColumn(G4int ntupleId, const G4String &columnName, G4String &value) final

◆ SetNtupleSColumn() [2/6]

template<typename NT >
G4bool G4BaseRNtupleManager::SetNtupleSColumn ( const G4String columnName,
std::vector< std::string > &  vector 
)
finalprotectedvirtual

Reimplemented from G4BaseRNtupleManager.

Definition at line 75 of file G4BaseRNtupleManager.cc.

96{
97 return SetNtupleSColumn(GetCurrentNtupleId(), columnName, vector);
98}

◆ SetNtupleSColumn() [3/6]

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

Implements G4BaseRNtupleManager.

◆ SetNtupleSColumn() [4/6]

template<typename NT >
G4bool G4BaseRNtupleManager::SetNtupleSColumn ( G4int  ntupleId,
const G4String columnName,
G4String value 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

◆ SetNtupleSColumn() [5/6]

template<typename NT >
G4bool G4TRNtupleManager< NT >::SetNtupleSColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< std::string > &  vector 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.

◆ SetNtupleSColumn() [6/6]

template<typename NT >
G4bool G4BaseRNtupleManager::SetNtupleSColumn ( G4int  ntupleId,
const G4String columnName,
std::vector< std::string > &  vector 
)
overrideprotectedvirtual

Implements G4BaseRNtupleManager.


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