BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Private Member Functions | Private Attributes
Beam Class Reference

Beam loader. More...

#include <Beam.hh>

Collaboration diagram for Beam:
Collaboration graph

Public Member Functions

 Beam (bool debugIn)
 
void SetBranchAddress (TTree *t, bool allBranchesOn=true, const RBDS::VectorString *branchesToTurnOn=nullptr)
 Set the branch addresses to address the contents of the file. More...
 

Data Fields

BDSOutputROOTEventBeambeam
 Member that ROOT can map file data to locally. More...
 

Private Member Functions

 ClassDef (Beam, 1)
 

Private Attributes

bool debug
 

Detailed Description

Beam loader.

Author
Laurie Nevay.

Definition at line 36 of file Beam.hh.

Constructor & Destructor Documentation

◆ Beam()

Beam::Beam ( bool  debugIn)

Definition at line 33 of file Beam.cc.

◆ ~Beam()

Beam::~Beam ( )
virtual

Definition at line 39 of file Beam.cc.

Member Function Documentation

◆ SetBranchAddress()

void Beam::SetBranchAddress ( TTree *  t,
bool  allBranchesOn = true,
const RBDS::VectorString *  branchesToTurnOn = nullptr 
)

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

Definition at line 44 of file Beam.cc.

References beam.

Referenced by DataLoader::SetBranchAddress().

Here is the caller graph for this function:

Field Documentation

◆ beam

Member that ROOT can map file data to locally.

Definition at line 49 of file Beam.hh.

Referenced by SetBranchAddress().

◆ debug

bool Beam::debug
private

Definition at line 53 of file Beam.hh.


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