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

#include <G4TRNtupleDescription.hh>

Public Member Functions

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

Public Attributes

NT * fNtuple { nullptr }
 
tools::ntuple_binding * fNtupleBinding { nullptr }
 
G4bool fIsInitialized { false }
 
std::map< NT *, std::vector< int > * > fIVectorBindingMap
 
std::map< NT *, std::vector< float > * > fFVectorBindingMap
 
std::map< NT *, std::vector< double > * > fDVectorBindingMap
 
std::map< NT *, std::vector< std::string > * > fSVectorBindingMap
 

Detailed Description

template<typename NT>
struct G4TRNtupleDescription< NT >

Definition at line 44 of file G4TRNtupleDescription.hh.

Constructor & Destructor Documentation

◆ G4TRNtupleDescription() [1/3]

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

Definition at line 46 of file G4TRNtupleDescription.hh.

47 : fNtuple(rntuple),
48 fNtupleBinding(new tools::ntuple_binding())
49 {}
tools::ntuple_binding * fNtupleBinding

◆ G4TRNtupleDescription() [2/3]

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

◆ ~G4TRNtupleDescription()

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

Definition at line 52 of file G4TRNtupleDescription.hh.

53 {
54 delete fNtupleBinding;
55 delete fNtuple;
56
57 {for ( auto& mapElement : fIVectorBindingMap ) {
58 delete mapElement.first;
59 }}
60 {for ( auto& mapElement : fFVectorBindingMap ) {
61 delete mapElement.first;
62 }}
63 {for ( auto& mapElement : fDVectorBindingMap ) {
64 delete mapElement.first;
65 }}
66 {for ( auto& mapElement : fSVectorBindingMap ) {
67 delete mapElement.first;
68 }}
69 }
std::map< NT *, std::vector< std::string > * > fSVectorBindingMap
std::map< NT *, std::vector< float > * > fFVectorBindingMap
std::map< NT *, std::vector< double > * > fDVectorBindingMap
std::map< NT *, std::vector< int > * > fIVectorBindingMap

◆ G4TRNtupleDescription() [3/3]

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

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ fDVectorBindingMap

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

◆ fFVectorBindingMap

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

◆ fIsInitialized

template<typename NT >
G4bool G4TRNtupleDescription< NT >::fIsInitialized { false }

Definition at line 78 of file G4TRNtupleDescription.hh.

78{ false };

◆ fIVectorBindingMap

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

◆ fNtuple

template<typename NT >
NT* G4TRNtupleDescription< NT >::fNtuple { nullptr }

Definition at line 76 of file G4TRNtupleDescription.hh.

76{ nullptr };

Referenced by G4TRNtupleDescription< NT >::~G4TRNtupleDescription().

◆ fNtupleBinding

template<typename NT >
tools::ntuple_binding* G4TRNtupleDescription< NT >::fNtupleBinding { nullptr }

Definition at line 77 of file G4TRNtupleDescription.hh.

77{ nullptr };

Referenced by G4TRNtupleDescription< NT >::~G4TRNtupleDescription().

◆ fSVectorBindingMap

template<typename NT >
std::map<NT*, std::vector<std::string>* > G4TRNtupleDescription< NT >::fSVectorBindingMap

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