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

Structure to record a trajectory point. More...

#include <BDSOutputROOTEventTrajectoryPoint.hh>

Inheritance diagram for BDSOutputROOTEventTrajectoryPoint:
Inheritance graph
Collaboration diagram for BDSOutputROOTEventTrajectoryPoint:
Collaboration graph

Public Member Functions

 BDSOutputROOTEventTrajectoryPoint (int partIDIn, unsigned int trackIDIn, unsigned int parentIDIn, unsigned int parentIndexIn, int processTypeIn, int processSubTypeIn, double weightIn, double energyDepositedIn, const TVector3 &positionIn, const TVector3 &momentumIn, int modelIn, double timeIn, const TVector3 &positionLocalIn, const TVector3 &momentumLocalIn, double chargeIn, double kineticEnergyIn, int turnsTakenIn, double rigidityIn, double massIn, bool isIonIn, int ionAIn, int ionZIn, int nElectronsIn, int materialIDIn, int stepIndexIn=-1)
 
void ClearContents ()
 
virtual void Clear (Option_t *)
 
 ClassDef (BDSOutputROOTEventTrajectoryPoint, 6)
 

Data Fields

int partID
 
unsigned int trackID
 
unsigned int parentID
 
unsigned int parentIndex
 
int postProcessType
 
int postProcessSubType
 
double weight
 
double energyDeposited
 
TVector3 position
 
TVector3 momentum
 
int model
 
double time
 
TVector3 positionLocal
 
TVector3 momentumLocal
 
double charge
 
double kineticEnergy
 
int turnsTaken
 
double rigidity
 
double mass
 
bool isIon
 
int ionA
 
int ionZ
 
int nElectrons
 
int materialID
 We allow this to be signed so we can use -1 to signify unknown.
 
int stepIndex
 Index along trajectory this point is.
 

Detailed Description

Structure to record a trajectory point.

Author
Stewart Boogert

Definition at line 30 of file BDSOutputROOTEventTrajectoryPoint.hh.

Constructor & Destructor Documentation

◆ BDSOutputROOTEventTrajectoryPoint()

BDSOutputROOTEventTrajectoryPoint::BDSOutputROOTEventTrajectoryPoint ( int  partIDIn,
unsigned int  trackIDIn,
unsigned int  parentIDIn,
unsigned int  parentIndexIn,
int  processTypeIn,
int  processSubTypeIn,
double  weightIn,
double  energyDepositedIn,
const TVector3 &  positionIn,
const TVector3 &  momentumIn,
int  modelIn,
double  timeIn,
const TVector3 &  positionLocalIn,
const TVector3 &  momentumLocalIn,
double  chargeIn,
double  kineticEnergyIn,
int  turnsTakenIn,
double  rigidityIn,
double  massIn,
bool  isIonIn,
int  ionAIn,
int  ionZIn,
int  nElectronsIn,
int  materialIDIn,
int  stepIndexIn = -1 
)

Definition at line 28 of file BDSOutputROOTEventTrajectoryPoint.cc.

◆ ~BDSOutputROOTEventTrajectoryPoint()

BDSOutputROOTEventTrajectoryPoint::~BDSOutputROOTEventTrajectoryPoint ( )
virtual

Definition at line 109 of file BDSOutputROOTEventTrajectoryPoint.cc.

Member Function Documentation

◆ Clear()

virtual void BDSOutputROOTEventTrajectoryPoint::Clear ( Option_t *  )
inlinevirtual

Definition at line 62 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ ClearContents()

void BDSOutputROOTEventTrajectoryPoint::ClearContents ( )

Definition at line 80 of file BDSOutputROOTEventTrajectoryPoint.cc.

Field Documentation

◆ charge

double BDSOutputROOTEventTrajectoryPoint::charge

Definition at line 78 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ energyDeposited

double BDSOutputROOTEventTrajectoryPoint::energyDeposited

Definition at line 71 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ ionA

int BDSOutputROOTEventTrajectoryPoint::ionA

Definition at line 84 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ ionZ

int BDSOutputROOTEventTrajectoryPoint::ionZ

Definition at line 85 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ isIon

bool BDSOutputROOTEventTrajectoryPoint::isIon

Definition at line 83 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ kineticEnergy

double BDSOutputROOTEventTrajectoryPoint::kineticEnergy

Definition at line 79 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ mass

double BDSOutputROOTEventTrajectoryPoint::mass

Definition at line 82 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ materialID

int BDSOutputROOTEventTrajectoryPoint::materialID

We allow this to be signed so we can use -1 to signify unknown.

Definition at line 87 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ model

int BDSOutputROOTEventTrajectoryPoint::model

Definition at line 74 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ momentum

TVector3 BDSOutputROOTEventTrajectoryPoint::momentum

Definition at line 73 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ momentumLocal

TVector3 BDSOutputROOTEventTrajectoryPoint::momentumLocal

Definition at line 77 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ nElectrons

int BDSOutputROOTEventTrajectoryPoint::nElectrons

Definition at line 86 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ parentID

unsigned int BDSOutputROOTEventTrajectoryPoint::parentID

Definition at line 66 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ parentIndex

unsigned int BDSOutputROOTEventTrajectoryPoint::parentIndex

Definition at line 67 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ partID

int BDSOutputROOTEventTrajectoryPoint::partID

Definition at line 64 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ position

TVector3 BDSOutputROOTEventTrajectoryPoint::position

Definition at line 72 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ positionLocal

TVector3 BDSOutputROOTEventTrajectoryPoint::positionLocal

Definition at line 76 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ postProcessSubType

int BDSOutputROOTEventTrajectoryPoint::postProcessSubType

Definition at line 69 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ postProcessType

int BDSOutputROOTEventTrajectoryPoint::postProcessType

Definition at line 68 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ rigidity

double BDSOutputROOTEventTrajectoryPoint::rigidity

Definition at line 81 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ stepIndex

int BDSOutputROOTEventTrajectoryPoint::stepIndex

Index along trajectory this point is.

Definition at line 88 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ time

double BDSOutputROOTEventTrajectoryPoint::time

Definition at line 75 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ trackID

unsigned int BDSOutputROOTEventTrajectoryPoint::trackID

Definition at line 65 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ turnsTaken

int BDSOutputROOTEventTrajectoryPoint::turnsTaken

Definition at line 80 of file BDSOutputROOTEventTrajectoryPoint.hh.

◆ weight

double BDSOutputROOTEventTrajectoryPoint::weight

Definition at line 70 of file BDSOutputROOTEventTrajectoryPoint.hh.


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