Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4TNtupleDescription< TNTUPLE > Struct Template Reference

#include <G4TNtupleDescription.hh>

Public Member Functions

 G4TNtupleDescription ()
 
 ~G4TNtupleDescription ()
 

Public Attributes

std::ofstream * fFile
 
TNTUPLE * fNtuple
 
tools::ntuple_booking fNtupleBooking
 
G4bool fActivation
 
G4bool fIsNtupleOwner
 

Detailed Description

template<typename TNTUPLE>
struct G4TNtupleDescription< TNTUPLE >

Definition at line 43 of file G4TNtupleDescription.hh.

Constructor & Destructor Documentation

template<typename TNTUPLE>
G4TNtupleDescription< TNTUPLE >::G4TNtupleDescription ( )
inline

Definition at line 45 of file G4TNtupleDescription.hh.

46  : fFile(nullptr),
47  fNtuple(nullptr),
49  fActivation(true),
50  fIsNtupleOwner(true) {}
tools::ntuple_booking fNtupleBooking
template<typename TNTUPLE>
G4TNtupleDescription< TNTUPLE >::~G4TNtupleDescription ( )
inline

Definition at line 52 of file G4TNtupleDescription.hh.

53  { delete fFile;
54  if ( fIsNtupleOwner ) delete fNtuple;
55  }

Member Data Documentation

template<typename TNTUPLE>
G4bool G4TNtupleDescription< TNTUPLE >::fActivation

Definition at line 60 of file G4TNtupleDescription.hh.

template<typename TNTUPLE>
std::ofstream* G4TNtupleDescription< TNTUPLE >::fFile

Definition at line 57 of file G4TNtupleDescription.hh.

template<typename TNTUPLE>
G4bool G4TNtupleDescription< TNTUPLE >::fIsNtupleOwner

Definition at line 61 of file G4TNtupleDescription.hh.

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

Definition at line 58 of file G4TNtupleDescription.hh.

template<typename TNTUPLE>
tools::ntuple_booking G4TNtupleDescription< TNTUPLE >::fNtupleBooking

Definition at line 59 of file G4TNtupleDescription.hh.


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