Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TRNtupleDescription< TNTUPLE > Struct Template Reference

#include <G4TRNtupleDescription.hh>

Public Member Functions

 G4TRNtupleDescription (TNTUPLE *rntuple)
 
 ~G4TRNtupleDescription ()
 
 G4TRNtupleDescription (const G4TRNtupleDescription &rhs)=delete
 
G4TRNtupleDescriptionoperator= (G4TRNtupleDescription &rhs)=delete
 

Public Attributes

TNTUPLE * fNtuple
 
tools::ntuple_binding * fNtupleBinding
 
G4bool fIsInitialized
 
std::map< TNTUPLE *, std::vector< int > * > fIVectorBindingMap
 
std::map< TNTUPLE *, std::vector< float > * > fFVectorBindingMap
 
std::map< TNTUPLE *, std::vector< double > * > fDVectorBindingMap
 

Detailed Description

template<typename TNTUPLE>
struct G4TRNtupleDescription< TNTUPLE >

Definition at line 44 of file G4TRNtupleDescription.hh.

Constructor & Destructor Documentation

◆ G4TRNtupleDescription() [1/2]

template<typename TNTUPLE >
G4TRNtupleDescription< TNTUPLE >::G4TRNtupleDescription ( TNTUPLE *  rntuple)
inline

Definition at line 46 of file G4TRNtupleDescription.hh.

47 : fNtuple(rntuple),
48 fNtupleBinding(new tools::ntuple_binding()),
49 fIsInitialized(false),
tools::ntuple_binding * fNtupleBinding
std::map< TNTUPLE *, std::vector< double > * > fDVectorBindingMap
std::map< TNTUPLE *, std::vector< int > * > fIVectorBindingMap
std::map< TNTUPLE *, std::vector< float > * > fFVectorBindingMap

◆ ~G4TRNtupleDescription()

template<typename TNTUPLE >
G4TRNtupleDescription< TNTUPLE >::~G4TRNtupleDescription ( )
inline

Definition at line 54 of file G4TRNtupleDescription.hh.

55 {
56 delete fNtupleBinding;
57 delete fNtuple; // CHECK
58
59 {for ( auto mapElement : fIVectorBindingMap ) {
60 delete mapElement.first;
61 }}
62 {for ( auto mapElement : fFVectorBindingMap ) {
63 delete mapElement.first;
64 }}
65 {for ( auto mapElement : fDVectorBindingMap ) {
66 delete mapElement.first;
67 }}
68 }

◆ G4TRNtupleDescription() [2/2]

template<typename TNTUPLE >
G4TRNtupleDescription< TNTUPLE >::G4TRNtupleDescription ( const G4TRNtupleDescription< TNTUPLE > &  rhs)
delete

Member Function Documentation

◆ operator=()

template<typename TNTUPLE >
G4TRNtupleDescription & G4TRNtupleDescription< TNTUPLE >::operator= ( G4TRNtupleDescription< TNTUPLE > &  rhs)
delete

Member Data Documentation

◆ fDVectorBindingMap

template<typename TNTUPLE >
std::map<TNTUPLE*, std::vector<double>* > G4TRNtupleDescription< TNTUPLE >::fDVectorBindingMap

◆ fFVectorBindingMap

template<typename TNTUPLE >
std::map<TNTUPLE*, std::vector<float>* > G4TRNtupleDescription< TNTUPLE >::fFVectorBindingMap

◆ fIsInitialized

template<typename TNTUPLE >
G4bool G4TRNtupleDescription< TNTUPLE >::fIsInitialized

Definition at line 77 of file G4TRNtupleDescription.hh.

◆ fIVectorBindingMap

template<typename TNTUPLE >
std::map<TNTUPLE*, std::vector<int>* > G4TRNtupleDescription< TNTUPLE >::fIVectorBindingMap

◆ fNtuple

template<typename TNTUPLE >
TNTUPLE* G4TRNtupleDescription< TNTUPLE >::fNtuple

◆ fNtupleBinding

template<typename TNTUPLE >
tools::ntuple_binding* G4TRNtupleDescription< TNTUPLE >::fNtupleBinding

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