R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BMCTrack Class Reference

#include <R3BMCTrack.h>

Public Member Functions

 R3BMCTrack ()
 Default constructor.
 
 R3BMCTrack (int pdgCode, int motherID, ROOT::Math::XYZTVector xyzt, ROOT::Math::PxPyPzMVector pm, std::array< int, kLAST+1 > nPoints)
 Standard constructor.
 
 R3BMCTrack (TParticle *particle, std::array< int, kLAST+1 > nPoints, int fMC)
 Constructor from TParticle.
 
 ~R3BMCTrack () override=default
 Destructor.
 
void Print (Option_t *option="") const override
 Output to screen.
 
int GetPdgCode () const
 Accessors.
 
int GetMotherId () const
 
double GetStartX () const
 
double GetStartY () const
 
double GetStartZ () const
 
double GetStartT () const
 
ROOT::Math::XYZTVector GetStartVertex () const
 
double GetPx () const
 
double GetPy () const
 
double GetPz () const
 
double GetMass () const
 
ROOT::Math::PxPyPzMVector GetMomentumMass () const
 
ROOT::Math::PxPyPzEVector GetFourMomentum () const
 
double GetEnergy () const
 
double GetPt () const
 
double GetP () const
 
double GetRapidity () const
 
int GetNPoints (DetectorId detId) const
 Accessors to the number of MCPoints in the detectors.
 
void SetMotherId (int id)
 Modifiers.
 

Detailed Description

Definition at line 25 of file R3BMCTrack.h.

Constructor & Destructor Documentation

◆ R3BMCTrack() [1/3]

R3BMCTrack::R3BMCTrack ( )

Definition at line 19 of file R3BMCTrack.cxx.

◆ R3BMCTrack() [2/3]

R3BMCTrack::R3BMCTrack ( int pdgCode,
int motherID,
ROOT::Math::XYZTVector xyzt,
ROOT::Math::PxPyPzMVector pm,
std::array< int, kLAST+1 > nPoints )

Definition at line 28 of file R3BMCTrack.cxx.

◆ R3BMCTrack() [3/3]

R3BMCTrack::R3BMCTrack ( TParticle * particle,
std::array< int, kLAST+1 > nPoints,
int fMC )

Definition at line 41 of file R3BMCTrack.cxx.

◆ ~R3BMCTrack()

R3BMCTrack::~R3BMCTrack ( )
overridedefault

Member Function Documentation

◆ GetEnergy()

double R3BMCTrack::GetEnergy ( ) const
inline

Definition at line 63 of file R3BMCTrack.h.

◆ GetFourMomentum()

ROOT::Math::PxPyPzEVector R3BMCTrack::GetFourMomentum ( ) const
inline

Definition at line 62 of file R3BMCTrack.h.

◆ GetMass()

double R3BMCTrack::GetMass ( ) const
inline

Definition at line 60 of file R3BMCTrack.h.

◆ GetMomentumMass()

ROOT::Math::PxPyPzMVector R3BMCTrack::GetMomentumMass ( ) const
inline

Definition at line 61 of file R3BMCTrack.h.

◆ GetMotherId()

int R3BMCTrack::GetMotherId ( ) const
inline

Definition at line 49 of file R3BMCTrack.h.

◆ GetNPoints()

int R3BMCTrack::GetNPoints ( DetectorId detId) const

Definition at line 73 of file R3BMCTrack.cxx.

◆ GetP()

double R3BMCTrack::GetP ( ) const
inline

Definition at line 65 of file R3BMCTrack.h.

◆ GetPdgCode()

int R3BMCTrack::GetPdgCode ( ) const
inline

Definition at line 48 of file R3BMCTrack.h.

◆ GetPt()

double R3BMCTrack::GetPt ( ) const
inline

Definition at line 64 of file R3BMCTrack.h.

◆ GetPx()

double R3BMCTrack::GetPx ( ) const
inline

Definition at line 57 of file R3BMCTrack.h.

◆ GetPy()

double R3BMCTrack::GetPy ( ) const
inline

Definition at line 58 of file R3BMCTrack.h.

◆ GetPz()

double R3BMCTrack::GetPz ( ) const
inline

Definition at line 59 of file R3BMCTrack.h.

◆ GetRapidity()

double R3BMCTrack::GetRapidity ( ) const
inline

Definition at line 66 of file R3BMCTrack.h.

◆ GetStartT()

double R3BMCTrack::GetStartT ( ) const
inline

Definition at line 54 of file R3BMCTrack.h.

◆ GetStartVertex()

ROOT::Math::XYZTVector R3BMCTrack::GetStartVertex ( ) const
inline

Definition at line 55 of file R3BMCTrack.h.

◆ GetStartX()

double R3BMCTrack::GetStartX ( ) const
inline

Definition at line 51 of file R3BMCTrack.h.

◆ GetStartY()

double R3BMCTrack::GetStartY ( ) const
inline

Definition at line 52 of file R3BMCTrack.h.

◆ GetStartZ()

double R3BMCTrack::GetStartZ ( ) const
inline

Definition at line 53 of file R3BMCTrack.h.

◆ Print()

void R3BMCTrack::Print ( Option_t * option = "") const
override

Definition at line 50 of file R3BMCTrack.cxx.

◆ SetMotherId()

void R3BMCTrack::SetMotherId ( int id)
inline

Definition at line 72 of file R3BMCTrack.h.


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