BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Data Fields
BDSOutputROOTEventLossWorld Class Reference

Data stored for world hits per event. More...

#include <BDSOutputROOTEventLossWorld.hh>

Inheritance diagram for BDSOutputROOTEventLossWorld:
Inheritance graph
Collaboration diagram for BDSOutputROOTEventLossWorld:
Collaboration graph

Public Member Functions

void Fill (const BDSHitEnergyDepositionGlobal *hit)
 
void Fill (const BDSOutputROOTEventLossWorld *other)
 Fill from another instance. More...
 
virtual void Flush ()
 
 ClassDef (BDSOutputROOTEventLossWorld, 1)
 

Data Fields

int n = 0
 Number of entries. More...
 
std::vector< float > totalEnergy
 Energy deposited in step. More...
 
std::vector< float > preStepKineticEnergy
 Kinetic energy in GeV at pre step point. More...
 
std::vector< float > postStepKineticEnergy
 Kinetic energy in GeV at post step point. More...
 
std::vector< float > stepLength
 Step length. More...
 
std::vector< float > X
 
std::vector< float > Y
 
std::vector< float > Z
 
std::vector< float > T
 Global time (time since beginning of event). More...
 
std::vector< int > partID
 ParticleID that create the deposit. More...
 
std::vector< int > trackID
 TrackID that created the deposit. More...
 
std::vector< int > parentID
 ParentID that created the deposit. More...
 
std::vector< float > weight
 Weight. More...
 
std::vector< int > turn
 Turn number. More...
 

Detailed Description

Data stored for world hits per event.

These are for loss hits that have no concept of S or curvilinear coordinates.

Author
Laurie Nevay

Definition at line 39 of file BDSOutputROOTEventLossWorld.hh.

Constructor & Destructor Documentation

◆ ~BDSOutputROOTEventLossWorld()

BDSOutputROOTEventLossWorld::~BDSOutputROOTEventLossWorld ( )
virtual

Definition at line 33 of file BDSOutputROOTEventLossWorld.cc.

Member Function Documentation

◆ Fill() [1/2]

void BDSOutputROOTEventLossWorld::Fill ( const BDSHitEnergyDepositionGlobal hit)

Definition at line 37 of file BDSOutputROOTEventLossWorld.cc.

◆ Fill() [2/2]

void BDSOutputROOTEventLossWorld::Fill ( const BDSOutputROOTEventLossWorld other)

Fill from another instance.

Definition at line 56 of file BDSOutputROOTEventLossWorld.cc.

References n, parentID, partID, postStepKineticEnergy, preStepKineticEnergy, stepLength, T, totalEnergy, trackID, turn, and weight.

◆ Flush()

void BDSOutputROOTEventLossWorld::Flush ( )
virtual

Definition at line 77 of file BDSOutputROOTEventLossWorld.cc.

Field Documentation

◆ n

int BDSOutputROOTEventLossWorld::n = 0

Number of entries.

Definition at line 42 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ parentID

std::vector<int> BDSOutputROOTEventLossWorld::parentID

ParentID that created the deposit.

Definition at line 57 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ partID

std::vector<int> BDSOutputROOTEventLossWorld::partID

ParticleID that create the deposit.

Definition at line 55 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ postStepKineticEnergy

std::vector<float> BDSOutputROOTEventLossWorld::postStepKineticEnergy

Kinetic energy in GeV at post step point.

Definition at line 45 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ preStepKineticEnergy

std::vector<float> BDSOutputROOTEventLossWorld::preStepKineticEnergy

Kinetic energy in GeV at pre step point.

Definition at line 44 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ stepLength

std::vector<float> BDSOutputROOTEventLossWorld::stepLength

Step length.

Definition at line 46 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ T

std::vector<float> BDSOutputROOTEventLossWorld::T

Global time (time since beginning of event).

Definition at line 54 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ totalEnergy

std::vector<float> BDSOutputROOTEventLossWorld::totalEnergy

Energy deposited in step.

Definition at line 43 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ trackID

std::vector<int> BDSOutputROOTEventLossWorld::trackID

TrackID that created the deposit.

Definition at line 56 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ turn

std::vector<int> BDSOutputROOTEventLossWorld::turn

Turn number.

Definition at line 59 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ weight

std::vector<float> BDSOutputROOTEventLossWorld::weight

Weight.

Definition at line 58 of file BDSOutputROOTEventLossWorld.hh.

Referenced by Fill().

◆ X

std::vector<float> BDSOutputROOTEventLossWorld::X

Definition at line 49 of file BDSOutputROOTEventLossWorld.hh.

◆ Y

std::vector<float> BDSOutputROOTEventLossWorld::Y

Definition at line 50 of file BDSOutputROOTEventLossWorld.hh.

◆ Z

std::vector<float> BDSOutputROOTEventLossWorld::Z

Definition at line 51 of file BDSOutputROOTEventLossWorld.hh.


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