Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4RootPNtupleDescription Class Reference

#include <G4RootPNtupleDescription.hh>

Public Member Functions

 G4RootPNtupleDescription (G4NtupleBooking *g4NtupleBooking)
 
 ~G4RootPNtupleDescription ()
 
void SetNtuple (tools::wroot::imt_ntuple *intuple)
 
void SetBasePNtuple (tools::wroot::base_pntuple *basePNtuple)
 
void Reset ()
 
RootNtupleDescriptionGetDescription ()
 
tools::wroot::imt_ntuple * GetNtuple () const
 
tools::wroot::base_pntuple * GetBasePNtuple () const
 
std::vector< tools::wroot::branch * > & GetMainBranches ()
 

Detailed Description

Definition at line 53 of file G4RootPNtupleDescription.hh.

Constructor & Destructor Documentation

◆ G4RootPNtupleDescription()

G4RootPNtupleDescription::G4RootPNtupleDescription ( G4NtupleBooking * g4NtupleBooking)
inline

Definition at line 56 of file G4RootPNtupleDescription.hh.

57 : fDescription(g4NtupleBooking) {}

◆ ~G4RootPNtupleDescription()

G4RootPNtupleDescription::~G4RootPNtupleDescription ( )
inline

Definition at line 59 of file G4RootPNtupleDescription.hh.

60 {
61 if ( fDescription.GetIsNtupleOwner() ) delete fNtuple;
62 }

Member Function Documentation

◆ GetBasePNtuple()

tools::wroot::base_pntuple * G4RootPNtupleDescription::GetBasePNtuple ( ) const
inline

Definition at line 107 of file G4RootPNtupleDescription.hh.

108{ return fBasePNtuple; }

◆ GetDescription()

RootNtupleDescription & G4RootPNtupleDescription::GetDescription ( )
inline

Definition at line 99 of file G4RootPNtupleDescription.hh.

100{ return fDescription; }

◆ GetMainBranches()

std::vector< tools::wroot::branch * > & G4RootPNtupleDescription::GetMainBranches ( )
inline

Definition at line 111 of file G4RootPNtupleDescription.hh.

112{ return fMainBranches; }

◆ GetNtuple()

tools::wroot::imt_ntuple * G4RootPNtupleDescription::GetNtuple ( ) const
inline

Definition at line 103 of file G4RootPNtupleDescription.hh.

104{ return fNtuple; }

◆ Reset()

void G4RootPNtupleDescription::Reset ( )
inline

Definition at line 92 of file G4RootPNtupleDescription.hh.

93{
94 if ( fDescription.GetIsNtupleOwner() ) delete fNtuple;
95 fNtuple = nullptr;
96}

◆ SetBasePNtuple()

void G4RootPNtupleDescription::SetBasePNtuple ( tools::wroot::base_pntuple * basePNtuple)
inline

Definition at line 88 of file G4RootPNtupleDescription.hh.

90{ fBasePNtuple = basePNtuple; }

◆ SetNtuple()

void G4RootPNtupleDescription::SetNtuple ( tools::wroot::imt_ntuple * intuple)
inline

Definition at line 84 of file G4RootPNtupleDescription.hh.

86{ fNtuple = intuple; }

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