BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Private Member Functions | Private Attributes
ParticleData Class Reference

Particle Data loader. More...

#include <ParticleData.hh>

Collaboration diagram for ParticleData:
Collaboration graph

Public Member Functions

 ParticleData (bool debugIn)
 
void SetBranchAddress (TTree *t)
 Set the branch addresses to address the contents of the file.
 

Data Fields

BDSOutputROOTParticleDataparticleData
 Member that ROOT can map file data to locally.
 

Private Member Functions

 ClassDef (ParticleData, 1)
 

Private Attributes

bool debug
 

Detailed Description

Particle Data loader.

Author
Laurie Nevay.

Definition at line 33 of file ParticleData.hh.

Constructor & Destructor Documentation

◆ ParticleData()

ParticleData::ParticleData ( bool  debugIn)

Definition at line 30 of file ParticleData.cc.

◆ ~ParticleData()

ParticleData::~ParticleData ( )
virtual

Definition at line 36 of file ParticleData.cc.

Member Function Documentation

◆ SetBranchAddress()

void ParticleData::SetBranchAddress ( TTree *  t)

Set the branch addresses to address the contents of the file.

Definition at line 41 of file ParticleData.cc.

References particleData.

Referenced by DataLoader::SetBranchAddress().

Here is the caller graph for this function:

Field Documentation

◆ debug

bool ParticleData::debug
private

Definition at line 47 of file ParticleData.hh.

◆ particleData

BDSOutputROOTParticleData* ParticleData::particleData

Member that ROOT can map file data to locally.

Definition at line 44 of file ParticleData.hh.

Referenced by DataLoader::CommonCtor(), and SetBranchAddress().


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