CbmRoot
Loading...
Searching...
No Matches
cbm::ca::McPoint Class Reference

Class describes a unified MC-point, used in CA tracking QA analysis. More...

#include <CaMcPoint.h>

Collaboration diagram for cbm::ca::McPoint:
[legend]

Public Member Functions

 McPoint ()=default
 Default constructor.
 
 McPoint (const McPoint &)=default
 Copy constructor.
 
 McPoint (McPoint &&)=default
 Move constructor.
 
 ~McPoint ()=default
 Destructor.
 
McPointoperator= (const McPoint &)=default
 Copy assignment operator.
 
McPointoperator= (McPoint &&)=default
 Move assignment operator.
 
void AddHitID (int iH)
 Adds index of hits from the container of hits of event/TS.
 
double GetCharge () const
 Gets charge of the particle [e].
 
ca::EDetectorID GetDetectorId () const
 Gets detector ID.
 
int GetActiveStationId () const
 Gets global ID of the active tracking station.
 
int GetLocalStationId () const
 Gets local index of tracking station in the detector subsystem.
 
int GetEventId () const
 Gets MC event ID.
 
int GetExternalId () const
 Gets MC external ID.
 
int GetFileId () const
 Gets MC file ID.
 
int GetId () const
 Gets index of this point in internal CA container.
 
int GetInvSpeed () const
 Gets inverse speed at reference z of station [ns/cm].
 
int GetInvSpeedIn () const
 Gets inverse speed at entrance to station [ns/cm].
 
int GetInvSpeedOut () const
 Gets inverse speed at exit of station [ns/cm].
 
const auto & GetHitIndexes () const
 Gets container of matched hit indexes.
 
McLinkKey GetLinkKey () const
 Gets link key.
 
double GetMass () const
 Gets mass of the particle [GeV/c2].
 
int GetMotherId () const
 Gets mother ID of the track.
 
double GetP () const
 Gets track momentum absolute value at reference z of station [GeV/c].
 
int GetPdgCode () const
 Gets PDG code of the particle.
 
double GetPhi () const
 Gets track azimuthal angle at reference z of station [rad].
 
double GetPhiIn () const
 Gets track azimuthal angle at entrance to station [rad].
 
double GetPhiOut () const
 Gets track azimuthal angle at exit of station [rad].
 
double GetPIn () const
 Gets track momentum absolute value at entrance to station [GeV/c].
 
double GetPOut () const
 Gets track momentum absolute value at exit of station [GeV/c].
 
double GetPt () const
 Gets track transverse momentum at reference z of station [GeV/c].
 
double GetPtIn () const
 Gets track transverse momentum at entrance to station [GeV/c].
 
double GetPtOut () const
 Gets track transverse momentum at exit of station [GeV/c].
 
double GetPx () const
 Gets track momentum x component at reference z of station [GeV/c].
 
double GetPxIn () const
 Gets track momentum x component at entrance to station [GeV/c].
 
double GetPxOut () const
 Gets track momentum x component at exit of station [GeV/c].
 
double GetPy () const
 Gets track momentum y component at reference z of station [GeV/c].
 
double GetPyIn () const
 Gets track momentum y component at entrance to station [GeV/c].
 
double GetPyOut () const
 Gets track momentum y component at exit of station [GeV/c].
 
double GetPz () const
 Gets track momentum z component at reference z of station [GeV/c].
 
double GetPzIn () const
 Gets track momentum z component at entrance to station [GeV/c].
 
double GetPzOut () const
 Gets track momentum z component at exit of station [GeV/c].
 
double GetQp () const
 Gets track charge over momentum at reference z of station [ec/GeV].
 
double GetQpIn () const
 Gets track momentum absolute value at entrance to station [ec/GeV].
 
double GetQpOut () const
 Gets track momentum absolute value at exit of station [ec/GeV].
 
double GetTheta () const
 Gets polar angle at reference z of station [rad].
 
double GetThetaIn () const
 Gets polar angle at entrance to station [rad].
 
double GetThetaOut () const
 Gets polar angle at exit of station [rad].
 
double GetTime () const
 Gets time [ns].
 
int GetTrackId () const
 Gets ID of track from the internal CA MC track container (within event/TS)
 
double GetTx () const
 Gets slope along x-axis at reference z of station.
 
double GetTxIn () const
 Gets slope along x-axis at entrance to station.
 
double GetTxOut () const
 Gets slope along x-axis at exit of station.
 
double GetTy () const
 Gets slope along x-axis at reference z of station.
 
double GetTyIn () const
 Gets slope along x-axis at entrance to station.
 
double GetTyOut () const
 Gets slope along x-axis at exit of station.
 
double GetX () const
 Gets x coordinate at reference z of station [cm].
 
double GetXIn () const
 Gets x coordinate at entrance to station [cm].
 
double GetXOut () const
 Gets x coordinate at exit of station [cm].
 
double GetY () const
 Gets y coordinate at reference z of station [cm].
 
double GetYIn () const
 Gets y coordinate at entrance to station [cm].
 
double GetYOut () const
 Gets y coordinate at exit of station [cm].
 
double GetZ () const
 Gets z coordinate at reference z of station [cm].
 
double GetZIn () const
 Gets z coordinate at entrance to station [cm].
 
double GetZOut () const
 Gets z coordinate at exit of station [cm].
 
void SetCharge (double charge)
 Sets particle charge [e].
 
void SetDetectorId (ca::EDetectorID detId)
 Sets detector ID.
 
void SetActiveStationId (int stationId)
 Sets global index of active station.
 
void SetLocalStationId (int localStationId)
 Sets local index of tracking station in the detector subsystem.
 
void SetEventId (int eventId)
 Sets index of MC event containing this point.
 
void SetExternalId (int id)
 Sets index of this point in external data structures.
 
void SetFileId (int fileId)
 Sets index of MC file containing this point.
 
void SetId (int id)
 Sets index of this point in the CA internal structure.
 
void SetMass (double mass)
 Sets particle mass [GeV/c2].
 
void SetMotherId (int motherId)
 Sets index of mother track in the internal CA data structures.
 
void SetPdgCode (int pdg)
 Sets PDG code.
 
void SetPx (double px)
 Sets track momentum x component at reference z of station [GeV/c].
 
void SetPxIn (double px)
 Sets track momentum x component at entrance to station [GeV/c].
 
void SetPxOut (double px)
 Sets track momentum x component at exit of station [GeV/c].
 
void SetPy (double py)
 Sets track momentum y component at reference z of station [GeV/c].
 
void SetPyIn (double py)
 Sets track momentum y component at entrance to station [GeV/c].
 
void SetPyOut (double py)
 Sets track momentum y component at exit of station [GeV/c].
 
void SetPz (double pz)
 Sets track momentum z component at reference z of station [GeV/c].
 
void SetPzIn (double pz)
 Sets track momentum z component at entrance to station [GeV/c].
 
void SetPzOut (double pz)
 Sets track momentum z component at exit of station [GeV/c].
 
void SetTime (double time)
 Sets time [ns].
 
void SetTrackId (int trackId)
 Sets track ID in the CA internal track container (within event/TS)
 
void SetX (double x)
 Sets x coordinate at reference z of station [cm].
 
void SetXIn (double x)
 Sets x coordinate at entrance to station [cm].
 
void SetXOut (double x)
 Sets x coordinate at exit of station [cm].
 
void SetY (double y)
 Sets y coordinate at reference z of station [cm].
 
void SetYIn (double y)
 Sets y coordinate at entrance to station [cm].
 
void SetYOut (double y)
 Sets x coordinate at exit of station [cm].
 
void SetZ (double z)
 Sets z coordinate at reference z of station [cm].
 
void SetZIn (double z)
 Sets z coordinate at entrance to station [cm].
 
void SetZOut (double z)
 Sets z coordinate at exit of station [cm].
 
std::string ToString (int verbose, bool printHeader=false) const
 Prints content for a given verbosity level.
 

Private Attributes

std::array< double, 3 > fPos = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
 Position at reference z of station [cm].
 
std::array< double, 3 > fPosIn = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
 Position at entrance to station [cm].
 
std::array< double, 3 > fPosOut = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
 Position at exit of station [cm].
 
std::array< double, 3 > fMom = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
 Momentum at reference z of station [GeV/c].
 
std::array< double, 3 > fMomIn = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
 Momentum at entrance to station [GeV/c].
 
std::array< double, 3 > fMomOut = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
 Momentum at exit of station [cm].
 
double fMass = constants::Undef<double>
 Particle mass [GeV/c2].
 
double fCharge = constants::Undef<double>
 Particle charge [e].
 
double fTime = constants::Undef<double>
 Point time [ns].
 
McLinkKey fLinkKey = {constants::Undef<int>, constants::Undef<int>, constants::Undef<int>}
 Link key of point.
 
int fPdgCode = constants::Undef<int>
 Particle PDG code.
 
int fId = constants::Undef<int>
 Index of MC point in the external MC point container.
 
int fTrackId
 Index of associated MC track in CA internal track container within TS/event.
 
int fMotherId = constants::Undef<int>
 Index of mother track in CA internal data structures (within event/TS)
 
ca::EDetectorID fDetectorId {0}
 Detector ID of MC point.
 
int fActiveStationId = constants::Undef<int>
 Global index of active tracking station.
 
int fLocalStationId = constants::Undef<int>
 
ca::Vector< int > fvHitIndexes {"ca::tools::McPoint::fvHitIndexes"}
 Indexes of hits, assigned to this point.
 

Detailed Description

Class describes a unified MC-point, used in CA tracking QA analysis.

Definition at line 33 of file CaMcPoint.h.

Constructor & Destructor Documentation

◆ McPoint() [1/3]

cbm::algo::ca::McPoint::McPoint ( )
default

Default constructor.

◆ McPoint() [2/3]

cbm::algo::ca::McPoint::McPoint ( const McPoint & )
default

Copy constructor.

◆ McPoint() [3/3]

cbm::algo::ca::McPoint::McPoint ( McPoint && )
default

Move constructor.

◆ ~McPoint()

cbm::algo::ca::McPoint::~McPoint ( )
default

Destructor.

Member Function Documentation

◆ AddHitID()

void cbm::algo::ca::McPoint::AddHitID ( int iH)
inline

Adds index of hits from the container of hits of event/TS.

Parameters
iHA hit index in the external hits container of event/TS

Definition at line 56 of file CaMcPoint.h.

◆ GetActiveStationId()

int cbm::algo::ca::McPoint::GetActiveStationId ( ) const
inline

Gets global ID of the active tracking station.

Definition at line 70 of file CaMcPoint.h.

◆ GetCharge()

double cbm::algo::ca::McPoint::GetCharge ( ) const
inline

Gets charge of the particle [e].

Definition at line 64 of file CaMcPoint.h.

◆ GetDetectorId()

ca::EDetectorID cbm::algo::ca::McPoint::GetDetectorId ( ) const
inline

Gets detector ID.

Definition at line 67 of file CaMcPoint.h.

◆ GetEventId()

int cbm::algo::ca::McPoint::GetEventId ( ) const
inline

Gets MC event ID.

Definition at line 76 of file CaMcPoint.h.

◆ GetExternalId()

int cbm::algo::ca::McPoint::GetExternalId ( ) const
inline

Gets MC external ID.

Note
External ID of a point shifted from the original external ID by the total number of points, produced in the preceding detector subsystems.

Definition at line 81 of file CaMcPoint.h.

◆ GetFileId()

int cbm::algo::ca::McPoint::GetFileId ( ) const
inline

Gets MC file ID.

Definition at line 84 of file CaMcPoint.h.

◆ GetHitIndexes()

const auto & cbm::algo::ca::McPoint::GetHitIndexes ( ) const
inline

Gets container of matched hit indexes.

Definition at line 108 of file CaMcPoint.h.

◆ GetId()

int cbm::algo::ca::McPoint::GetId ( ) const
inline

Gets index of this point in internal CA container.

Definition at line 87 of file CaMcPoint.h.

◆ GetInvSpeed()

int cbm::algo::ca::McPoint::GetInvSpeed ( ) const
inline

Gets inverse speed at reference z of station [ns/cm].

Definition at line 90 of file CaMcPoint.h.

◆ GetInvSpeedIn()

int cbm::algo::ca::McPoint::GetInvSpeedIn ( ) const
inline

Gets inverse speed at entrance to station [ns/cm].

Definition at line 96 of file CaMcPoint.h.

◆ GetInvSpeedOut()

int cbm::algo::ca::McPoint::GetInvSpeedOut ( ) const
inline

Gets inverse speed at exit of station [ns/cm].

Definition at line 102 of file CaMcPoint.h.

◆ GetLinkKey()

McLinkKey cbm::algo::ca::McPoint::GetLinkKey ( ) const
inline

Gets link key.

Definition at line 111 of file CaMcPoint.h.

◆ GetLocalStationId()

int cbm::algo::ca::McPoint::GetLocalStationId ( ) const
inline

Gets local index of tracking station in the detector subsystem.

Definition at line 73 of file CaMcPoint.h.

◆ GetMass()

double cbm::algo::ca::McPoint::GetMass ( ) const
inline

Gets mass of the particle [GeV/c2].

Definition at line 114 of file CaMcPoint.h.

◆ GetMotherId()

int cbm::algo::ca::McPoint::GetMotherId ( ) const
inline

Gets mother ID of the track.

Definition at line 117 of file CaMcPoint.h.

◆ GetP()

double cbm::algo::ca::McPoint::GetP ( ) const
inline

Gets track momentum absolute value at reference z of station [GeV/c].

Definition at line 120 of file CaMcPoint.h.

◆ GetPdgCode()

int cbm::algo::ca::McPoint::GetPdgCode ( ) const
inline

Gets PDG code of the particle.

Definition at line 123 of file CaMcPoint.h.

◆ GetPhi()

double cbm::algo::ca::McPoint::GetPhi ( ) const
inline

Gets track azimuthal angle at reference z of station [rad].

Definition at line 126 of file CaMcPoint.h.

◆ GetPhiIn()

double cbm::algo::ca::McPoint::GetPhiIn ( ) const
inline

Gets track azimuthal angle at entrance to station [rad].

Definition at line 129 of file CaMcPoint.h.

◆ GetPhiOut()

double cbm::algo::ca::McPoint::GetPhiOut ( ) const
inline

Gets track azimuthal angle at exit of station [rad].

Definition at line 132 of file CaMcPoint.h.

◆ GetPIn()

double cbm::algo::ca::McPoint::GetPIn ( ) const
inline

Gets track momentum absolute value at entrance to station [GeV/c].

Definition at line 135 of file CaMcPoint.h.

◆ GetPOut()

double cbm::algo::ca::McPoint::GetPOut ( ) const
inline

Gets track momentum absolute value at exit of station [GeV/c].

Definition at line 138 of file CaMcPoint.h.

◆ GetPt()

double cbm::algo::ca::McPoint::GetPt ( ) const
inline

Gets track transverse momentum at reference z of station [GeV/c].

Definition at line 144 of file CaMcPoint.h.

◆ GetPtIn()

double cbm::algo::ca::McPoint::GetPtIn ( ) const
inline

Gets track transverse momentum at entrance to station [GeV/c].

Definition at line 147 of file CaMcPoint.h.

◆ GetPtOut()

double cbm::algo::ca::McPoint::GetPtOut ( ) const
inline

Gets track transverse momentum at exit of station [GeV/c].

Definition at line 154 of file CaMcPoint.h.

◆ GetPx()

double cbm::algo::ca::McPoint::GetPx ( ) const
inline

Gets track momentum x component at reference z of station [GeV/c].

Definition at line 162 of file CaMcPoint.h.

◆ GetPxIn()

double cbm::algo::ca::McPoint::GetPxIn ( ) const
inline

Gets track momentum x component at entrance to station [GeV/c].

Definition at line 165 of file CaMcPoint.h.

◆ GetPxOut()

double cbm::algo::ca::McPoint::GetPxOut ( ) const
inline

Gets track momentum x component at exit of station [GeV/c].

Definition at line 168 of file CaMcPoint.h.

◆ GetPy()

double cbm::algo::ca::McPoint::GetPy ( ) const
inline

Gets track momentum y component at reference z of station [GeV/c].

Definition at line 171 of file CaMcPoint.h.

◆ GetPyIn()

double cbm::algo::ca::McPoint::GetPyIn ( ) const
inline

Gets track momentum y component at entrance to station [GeV/c].

Definition at line 174 of file CaMcPoint.h.

◆ GetPyOut()

double cbm::algo::ca::McPoint::GetPyOut ( ) const
inline

Gets track momentum y component at exit of station [GeV/c].

Definition at line 177 of file CaMcPoint.h.

◆ GetPz()

double cbm::algo::ca::McPoint::GetPz ( ) const
inline

Gets track momentum z component at reference z of station [GeV/c].

Definition at line 180 of file CaMcPoint.h.

◆ GetPzIn()

double cbm::algo::ca::McPoint::GetPzIn ( ) const
inline

Gets track momentum z component at entrance to station [GeV/c].

Definition at line 183 of file CaMcPoint.h.

◆ GetPzOut()

double cbm::algo::ca::McPoint::GetPzOut ( ) const
inline

Gets track momentum z component at exit of station [GeV/c].

Definition at line 186 of file CaMcPoint.h.

◆ GetQp()

double cbm::algo::ca::McPoint::GetQp ( ) const
inline

Gets track charge over momentum at reference z of station [ec/GeV].

Definition at line 189 of file CaMcPoint.h.

◆ GetQpIn()

double cbm::algo::ca::McPoint::GetQpIn ( ) const
inline

Gets track momentum absolute value at entrance to station [ec/GeV].

Definition at line 192 of file CaMcPoint.h.

◆ GetQpOut()

double cbm::algo::ca::McPoint::GetQpOut ( ) const
inline

Gets track momentum absolute value at exit of station [ec/GeV].

Definition at line 195 of file CaMcPoint.h.

◆ GetTheta()

double cbm::algo::ca::McPoint::GetTheta ( ) const
inline

Gets polar angle at reference z of station [rad].

Definition at line 198 of file CaMcPoint.h.

◆ GetThetaIn()

double cbm::algo::ca::McPoint::GetThetaIn ( ) const
inline

Gets polar angle at entrance to station [rad].

Definition at line 201 of file CaMcPoint.h.

◆ GetThetaOut()

double cbm::algo::ca::McPoint::GetThetaOut ( ) const
inline

Gets polar angle at exit of station [rad].

Definition at line 204 of file CaMcPoint.h.

◆ GetTime()

double cbm::algo::ca::McPoint::GetTime ( ) const
inline

Gets time [ns].

Definition at line 207 of file CaMcPoint.h.

◆ GetTrackId()

int cbm::algo::ca::McPoint::GetTrackId ( ) const
inline

Gets ID of track from the internal CA MC track container (within event/TS)

Definition at line 210 of file CaMcPoint.h.

◆ GetTx()

double cbm::algo::ca::McPoint::GetTx ( ) const
inline

Gets slope along x-axis at reference z of station.

Definition at line 213 of file CaMcPoint.h.

◆ GetTxIn()

double cbm::algo::ca::McPoint::GetTxIn ( ) const
inline

Gets slope along x-axis at entrance to station.

Definition at line 216 of file CaMcPoint.h.

◆ GetTxOut()

double cbm::algo::ca::McPoint::GetTxOut ( ) const
inline

Gets slope along x-axis at exit of station.

Definition at line 219 of file CaMcPoint.h.

◆ GetTy()

double cbm::algo::ca::McPoint::GetTy ( ) const
inline

Gets slope along x-axis at reference z of station.

Definition at line 222 of file CaMcPoint.h.

◆ GetTyIn()

double cbm::algo::ca::McPoint::GetTyIn ( ) const
inline

Gets slope along x-axis at entrance to station.

Definition at line 225 of file CaMcPoint.h.

◆ GetTyOut()

double cbm::algo::ca::McPoint::GetTyOut ( ) const
inline

Gets slope along x-axis at exit of station.

Definition at line 228 of file CaMcPoint.h.

◆ GetX()

double cbm::algo::ca::McPoint::GetX ( ) const
inline

Gets x coordinate at reference z of station [cm].

Definition at line 231 of file CaMcPoint.h.

◆ GetXIn()

double cbm::algo::ca::McPoint::GetXIn ( ) const
inline

Gets x coordinate at entrance to station [cm].

Definition at line 234 of file CaMcPoint.h.

◆ GetXOut()

double cbm::algo::ca::McPoint::GetXOut ( ) const
inline

Gets x coordinate at exit of station [cm].

Definition at line 237 of file CaMcPoint.h.

◆ GetY()

double cbm::algo::ca::McPoint::GetY ( ) const
inline

Gets y coordinate at reference z of station [cm].

Definition at line 240 of file CaMcPoint.h.

◆ GetYIn()

double cbm::algo::ca::McPoint::GetYIn ( ) const
inline

Gets y coordinate at entrance to station [cm].

Definition at line 243 of file CaMcPoint.h.

◆ GetYOut()

double cbm::algo::ca::McPoint::GetYOut ( ) const
inline

Gets y coordinate at exit of station [cm].

Definition at line 246 of file CaMcPoint.h.

◆ GetZ()

double cbm::algo::ca::McPoint::GetZ ( ) const
inline

Gets z coordinate at reference z of station [cm].

Definition at line 249 of file CaMcPoint.h.

◆ GetZIn()

double cbm::algo::ca::McPoint::GetZIn ( ) const
inline

Gets z coordinate at entrance to station [cm].

Definition at line 252 of file CaMcPoint.h.

◆ GetZOut()

double cbm::algo::ca::McPoint::GetZOut ( ) const
inline

Gets z coordinate at exit of station [cm].

Definition at line 255 of file CaMcPoint.h.

◆ operator=() [1/2]

McPoint & cbm::algo::ca::McPoint::operator= ( const McPoint & )
default

Copy assignment operator.

◆ operator=() [2/2]

McPoint & cbm::algo::ca::McPoint::operator= ( McPoint && )
default

Move assignment operator.

◆ SetActiveStationId()

void cbm::algo::ca::McPoint::SetActiveStationId ( int stationId)
inline

Sets global index of active station.

Definition at line 268 of file CaMcPoint.h.

◆ SetCharge()

void cbm::algo::ca::McPoint::SetCharge ( double charge)
inline

Sets particle charge [e].

Definition at line 262 of file CaMcPoint.h.

◆ SetDetectorId()

void cbm::algo::ca::McPoint::SetDetectorId ( ca::EDetectorID detId)
inline

Sets detector ID.

Definition at line 265 of file CaMcPoint.h.

◆ SetEventId()

void cbm::algo::ca::McPoint::SetEventId ( int eventId)
inline

Sets index of MC event containing this point.

Definition at line 274 of file CaMcPoint.h.

◆ SetExternalId()

void cbm::algo::ca::McPoint::SetExternalId ( int id)
inline

Sets index of this point in external data structures.

Definition at line 277 of file CaMcPoint.h.

◆ SetFileId()

void cbm::algo::ca::McPoint::SetFileId ( int fileId)
inline

Sets index of MC file containing this point.

Definition at line 280 of file CaMcPoint.h.

◆ SetId()

void cbm::algo::ca::McPoint::SetId ( int id)
inline

Sets index of this point in the CA internal structure.

Definition at line 283 of file CaMcPoint.h.

◆ SetLocalStationId()

void cbm::algo::ca::McPoint::SetLocalStationId ( int localStationId)
inline

Sets local index of tracking station in the detector subsystem.

Definition at line 271 of file CaMcPoint.h.

◆ SetMass()

void cbm::algo::ca::McPoint::SetMass ( double mass)
inline

Sets particle mass [GeV/c2].

Definition at line 286 of file CaMcPoint.h.

◆ SetMotherId()

void cbm::algo::ca::McPoint::SetMotherId ( int motherId)
inline

Sets index of mother track in the internal CA data structures.

Definition at line 289 of file CaMcPoint.h.

◆ SetPdgCode()

void cbm::algo::ca::McPoint::SetPdgCode ( int pdg)
inline

Sets PDG code.

Definition at line 292 of file CaMcPoint.h.

◆ SetPx()

void cbm::algo::ca::McPoint::SetPx ( double px)
inline

Sets track momentum x component at reference z of station [GeV/c].

Definition at line 295 of file CaMcPoint.h.

◆ SetPxIn()

void cbm::algo::ca::McPoint::SetPxIn ( double px)
inline

Sets track momentum x component at entrance to station [GeV/c].

Definition at line 298 of file CaMcPoint.h.

◆ SetPxOut()

void cbm::algo::ca::McPoint::SetPxOut ( double px)
inline

Sets track momentum x component at exit of station [GeV/c].

Definition at line 301 of file CaMcPoint.h.

◆ SetPy()

void cbm::algo::ca::McPoint::SetPy ( double py)
inline

Sets track momentum y component at reference z of station [GeV/c].

Definition at line 304 of file CaMcPoint.h.

◆ SetPyIn()

void cbm::algo::ca::McPoint::SetPyIn ( double py)
inline

Sets track momentum y component at entrance to station [GeV/c].

Definition at line 307 of file CaMcPoint.h.

◆ SetPyOut()

void cbm::algo::ca::McPoint::SetPyOut ( double py)
inline

Sets track momentum y component at exit of station [GeV/c].

Definition at line 310 of file CaMcPoint.h.

◆ SetPz()

void cbm::algo::ca::McPoint::SetPz ( double pz)
inline

Sets track momentum z component at reference z of station [GeV/c].

Definition at line 313 of file CaMcPoint.h.

◆ SetPzIn()

void cbm::algo::ca::McPoint::SetPzIn ( double pz)
inline

Sets track momentum z component at entrance to station [GeV/c].

Definition at line 316 of file CaMcPoint.h.

◆ SetPzOut()

void cbm::algo::ca::McPoint::SetPzOut ( double pz)
inline

Sets track momentum z component at exit of station [GeV/c].

Definition at line 319 of file CaMcPoint.h.

◆ SetTime()

void cbm::algo::ca::McPoint::SetTime ( double time)
inline

Sets time [ns].

Definition at line 322 of file CaMcPoint.h.

◆ SetTrackId()

void cbm::algo::ca::McPoint::SetTrackId ( int trackId)
inline

Sets track ID in the CA internal track container (within event/TS)

Definition at line 325 of file CaMcPoint.h.

◆ SetX()

void cbm::algo::ca::McPoint::SetX ( double x)
inline

Sets x coordinate at reference z of station [cm].

Definition at line 328 of file CaMcPoint.h.

◆ SetXIn()

void cbm::algo::ca::McPoint::SetXIn ( double x)
inline

Sets x coordinate at entrance to station [cm].

Definition at line 331 of file CaMcPoint.h.

◆ SetXOut()

void cbm::algo::ca::McPoint::SetXOut ( double x)
inline

Sets x coordinate at exit of station [cm].

Definition at line 334 of file CaMcPoint.h.

◆ SetY()

void cbm::algo::ca::McPoint::SetY ( double y)
inline

Sets y coordinate at reference z of station [cm].

Definition at line 337 of file CaMcPoint.h.

◆ SetYIn()

void cbm::algo::ca::McPoint::SetYIn ( double y)
inline

Sets y coordinate at entrance to station [cm].

Definition at line 340 of file CaMcPoint.h.

◆ SetYOut()

void cbm::algo::ca::McPoint::SetYOut ( double y)
inline

Sets x coordinate at exit of station [cm].

Definition at line 343 of file CaMcPoint.h.

◆ SetZ()

void cbm::algo::ca::McPoint::SetZ ( double z)
inline

Sets z coordinate at reference z of station [cm].

Definition at line 346 of file CaMcPoint.h.

◆ SetZIn()

void cbm::algo::ca::McPoint::SetZIn ( double z)
inline

Sets z coordinate at entrance to station [cm].

Definition at line 349 of file CaMcPoint.h.

◆ SetZOut()

void cbm::algo::ca::McPoint::SetZOut ( double z)
inline

Sets z coordinate at exit of station [cm].

Definition at line 352 of file CaMcPoint.h.

◆ ToString()

std::string McPoint::ToString ( int verbose,
bool printHeader = false ) const

Prints content for a given verbosity level.

Parameters
verboseVerbosity level: -#0: Prints nothing -#1: Prints track ID, station ID, time and position -#2: Also prints zIn, zOut, absolute momentum, as well as point, event and file IDs
printHeaderIf true, parameter names will be printed instead of the parameters themselves

Definition at line 20 of file CaMcPoint.cxx.

Member Data Documentation

◆ fActiveStationId

int cbm::algo::ca::McPoint::fActiveStationId = constants::Undef<int>
private

Global index of active tracking station.

Definition at line 394 of file CaMcPoint.h.

◆ fCharge

double cbm::algo::ca::McPoint::fCharge = constants::Undef<double>
private

Particle charge [e].

Definition at line 381 of file CaMcPoint.h.

◆ fDetectorId

ca::EDetectorID cbm::algo::ca::McPoint::fDetectorId {0}
private

Detector ID of MC point.

Definition at line 392 of file CaMcPoint.h.

◆ fId

int cbm::algo::ca::McPoint::fId = constants::Undef<int>
private

Index of MC point in the external MC point container.

Definition at line 387 of file CaMcPoint.h.

◆ fLinkKey

McLinkKey cbm::algo::ca::McPoint::fLinkKey = {constants::Undef<int>, constants::Undef<int>, constants::Undef<int>}
private

Link key of point.

Definition at line 384 of file CaMcPoint.h.

◆ fLocalStationId

int cbm::algo::ca::McPoint::fLocalStationId = constants::Undef<int>
private

Local geometrical index of tracking station in the detector subsystem (inactive stations included)

Definition at line 395 of file CaMcPoint.h.

◆ fMass

double cbm::algo::ca::McPoint::fMass = constants::Undef<double>
private

Particle mass [GeV/c2].

Definition at line 380 of file CaMcPoint.h.

◆ fMom

std::array<double, 3> cbm::algo::ca::McPoint::fMom = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
private

Momentum at reference z of station [GeV/c].

Definition at line 374 of file CaMcPoint.h.

◆ fMomIn

std::array<double, 3> cbm::algo::ca::McPoint::fMomIn = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
private

Momentum at entrance to station [GeV/c].

Definition at line 376 of file CaMcPoint.h.

◆ fMomOut

std::array<double, 3> cbm::algo::ca::McPoint::fMomOut = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
private

Momentum at exit of station [cm].

Definition at line 378 of file CaMcPoint.h.

◆ fMotherId

int cbm::algo::ca::McPoint::fMotherId = constants::Undef<int>
private

Index of mother track in CA internal data structures (within event/TS)

Definition at line 390 of file CaMcPoint.h.

◆ fPdgCode

int cbm::algo::ca::McPoint::fPdgCode = constants::Undef<int>
private

Particle PDG code.

Definition at line 386 of file CaMcPoint.h.

◆ fPos

std::array<double, 3> cbm::algo::ca::McPoint::fPos = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
private

Position at reference z of station [cm].

Definition at line 368 of file CaMcPoint.h.

◆ fPosIn

std::array<double, 3> cbm::algo::ca::McPoint::fPosIn = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
private

Position at entrance to station [cm].

Definition at line 370 of file CaMcPoint.h.

◆ fPosOut

std::array<double, 3> cbm::algo::ca::McPoint::fPosOut = {constants::Undef<double>, constants::Undef<double>, constants::Undef<double>}
private

Position at exit of station [cm].

Definition at line 372 of file CaMcPoint.h.

◆ fTime

double cbm::algo::ca::McPoint::fTime = constants::Undef<double>
private

Point time [ns].

Definition at line 382 of file CaMcPoint.h.

◆ fTrackId

int cbm::algo::ca::McPoint::fTrackId
private
Initial value:

Index of associated MC track in CA internal track container within TS/event.

Definition at line 388 of file CaMcPoint.h.

◆ fvHitIndexes

ca::Vector<int> cbm::algo::ca::McPoint::fvHitIndexes {"ca::tools::McPoint::fvHitIndexes"}
private

Indexes of hits, assigned to this point.

Definition at line 399 of file CaMcPoint.h.


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