Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4XmlRNtupleDescription Struct Reference

#include <G4XmlRNtupleDescription.hh>

Public Member Functions

 G4XmlRNtupleDescription (tools::aida::ntuple *rntuple)
 
 ~G4XmlRNtupleDescription ()
 
 G4XmlRNtupleDescription (const G4XmlRNtupleDescription &rhs)=delete
 
G4XmlRNtupleDescriptionoperator= (G4XmlRNtupleDescription &rhs)=delete
 

Public Attributes

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

Detailed Description

Definition at line 46 of file G4XmlRNtupleDescription.hh.

Constructor & Destructor Documentation

G4XmlRNtupleDescription::G4XmlRNtupleDescription ( tools::aida::ntuple *  rntuple)
inline

Definition at line 48 of file G4XmlRNtupleDescription.hh.

50  : fNtuple(rntuple),
51  fNtupleBinding(new tools::ntuple_binding()),
55  fIsInitialized(false) {}
std::map< tools::aida::ntuple *, std::vector< double > * > fDVectorBindingMap
tools::ntuple_binding * fNtupleBinding
std::map< tools::aida::ntuple *, std::vector< int > * > fIVectorBindingMap
tools::aida::ntuple * fNtuple
std::map< tools::aida::ntuple *, std::vector< float > * > fFVectorBindingMap
G4XmlRNtupleDescription::~G4XmlRNtupleDescription ( )
inline

Definition at line 57 of file G4XmlRNtupleDescription.hh.

58  {
59  delete fNtupleBinding;
60  delete fNtuple; // CHECK
61 
62  {std::map< tools::aida::ntuple*, std::vector<int>* >::iterator it;
63  for ( it = fIVectorBindingMap.begin();
64  it != fIVectorBindingMap.end(); it++) {
65  delete it->first;
66  }}
67  {std::map<tools::aida::ntuple*, std::vector<float>* >::iterator it;
68  for ( it = fFVectorBindingMap.begin();
69  it != fFVectorBindingMap.end(); it++) {
70  delete it->first;
71  }}
72  {std::map<tools::aida::ntuple*, std::vector<double>* >::iterator it;
73  for ( it = fDVectorBindingMap.begin();
74  it != fDVectorBindingMap.end(); it++) {
75  delete it->first;
76  }}
77 
78  }
std::map< tools::aida::ntuple *, std::vector< double > * > fDVectorBindingMap
tools::ntuple_binding * fNtupleBinding
std::map< tools::aida::ntuple *, std::vector< int > * > fIVectorBindingMap
tools::aida::ntuple * fNtuple
std::map< tools::aida::ntuple *, std::vector< float > * > fFVectorBindingMap
G4XmlRNtupleDescription::G4XmlRNtupleDescription ( const G4XmlRNtupleDescription rhs)
delete

Member Function Documentation

G4XmlRNtupleDescription& G4XmlRNtupleDescription::operator= ( G4XmlRNtupleDescription rhs)
delete

Member Data Documentation

std::map<tools::aida::ntuple*, std::vector<double>* > G4XmlRNtupleDescription::fDVectorBindingMap

Definition at line 89 of file G4XmlRNtupleDescription.hh.

std::map<tools::aida::ntuple*, std::vector<float>* > G4XmlRNtupleDescription::fFVectorBindingMap

Definition at line 88 of file G4XmlRNtupleDescription.hh.

G4bool G4XmlRNtupleDescription::fIsInitialized

Definition at line 91 of file G4XmlRNtupleDescription.hh.

std::map<tools::aida::ntuple*, std::vector<int>* > G4XmlRNtupleDescription::fIVectorBindingMap

Definition at line 87 of file G4XmlRNtupleDescription.hh.

tools::aida::ntuple* G4XmlRNtupleDescription::fNtuple

Definition at line 85 of file G4XmlRNtupleDescription.hh.

tools::ntuple_binding* G4XmlRNtupleDescription::fNtupleBinding

Definition at line 86 of file G4XmlRNtupleDescription.hh.


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