Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4TNtupleDescription< TN, TF > Struct Template Reference

#include <G4TNtupleDescription.hh>

Public Member Functions

 G4TNtupleDescription (G4NtupleBooking *g4NtupleBooking)
 
 ~G4TNtupleDescription ()
 

Public Attributes

std::shared_ptr< TF > fFile
 
TN * fNtuple
 
tools::ntuple_booking fNtupleBooking
 
G4String fFileName
 
G4bool fActivation
 
G4bool fIsNtupleOwner
 
G4bool fHasFill
 

Detailed Description

template<typename TN, typename TF>
struct G4TNtupleDescription< TN, TF >

Definition at line 43 of file G4TNtupleDescription.hh.

Constructor & Destructor Documentation

◆ G4TNtupleDescription()

template<typename TN , typename TF >
G4TNtupleDescription< TN, TF >::G4TNtupleDescription ( G4NtupleBooking g4NtupleBooking)
inline

Definition at line 45 of file G4TNtupleDescription.hh.

46 : fFile(nullptr),
47 fNtuple(nullptr),
48 fNtupleBooking(g4NtupleBooking->fNtupleBooking),
49 fFileName(g4NtupleBooking->fFileName),
50 fActivation(g4NtupleBooking->fActivation),
51 fIsNtupleOwner(true),
52 fHasFill(false) {}
tools::ntuple_booking fNtupleBooking
std::shared_ptr< TF > fFile
tools::ntuple_booking fNtupleBooking

◆ ~G4TNtupleDescription()

template<typename TN , typename TF >
G4TNtupleDescription< TN, TF >::~G4TNtupleDescription ( )
inline

Definition at line 54 of file G4TNtupleDescription.hh.

55 {
56 if ( fIsNtupleOwner ) delete fNtuple;
57 }

Member Data Documentation

◆ fActivation

template<typename TN , typename TF >
G4bool G4TNtupleDescription< TN, TF >::fActivation

Definition at line 63 of file G4TNtupleDescription.hh.

◆ fFile

◆ fFileName

template<typename TN , typename TF >
G4String G4TNtupleDescription< TN, TF >::fFileName

◆ fHasFill

◆ fIsNtupleOwner

template<typename TN , typename TF >
G4bool G4TNtupleDescription< TN, TF >::fIsNtupleOwner

◆ fNtuple

template<typename TN , typename TF >
TN* G4TNtupleDescription< TN, TF >::fNtuple

◆ fNtupleBooking

template<typename TN , typename TF >
tools::ntuple_booking G4TNtupleDescription< TN, TF >::fNtupleBooking

Definition at line 61 of file G4TNtupleDescription.hh.

Referenced by G4RootMainNtupleManager::CreateNtuple().


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