|
CbmRoot
|
Class describes a unified MC-point, used in CA tracking QA analysis. More...
#include <CaMcPoint.h>
Public Member Functions | |
| McPoint ()=default | |
| Default constructor. | |
| McPoint (const McPoint &)=default | |
| Copy constructor. | |
| McPoint (McPoint &&)=default | |
| Move constructor. | |
| ~McPoint ()=default | |
| Destructor. | |
| McPoint & | operator= (const McPoint &)=default |
| Copy assignment operator. | |
| McPoint & | operator= (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. | |
Class describes a unified MC-point, used in CA tracking QA analysis.
Definition at line 33 of file CaMcPoint.h.
|
default |
Default constructor.
|
default |
Copy constructor.
|
default |
Move constructor.
|
default |
Destructor.
|
inline |
Adds index of hits from the container of hits of event/TS.
| iH | A hit index in the external hits container of event/TS |
Definition at line 56 of file CaMcPoint.h.
|
inline |
Gets global ID of the active tracking station.
Definition at line 70 of file CaMcPoint.h.
|
inline |
Gets charge of the particle [e].
Definition at line 64 of file CaMcPoint.h.
|
inline |
Gets detector ID.
Definition at line 67 of file CaMcPoint.h.
|
inline |
Gets MC event ID.
Definition at line 76 of file CaMcPoint.h.
|
inline |
Gets MC external ID.
Definition at line 81 of file CaMcPoint.h.
|
inline |
Gets MC file ID.
Definition at line 84 of file CaMcPoint.h.
|
inline |
Gets container of matched hit indexes.
Definition at line 108 of file CaMcPoint.h.
|
inline |
Gets index of this point in internal CA container.
Definition at line 87 of file CaMcPoint.h.
|
inline |
Gets inverse speed at reference z of station [ns/cm].
Definition at line 90 of file CaMcPoint.h.
|
inline |
Gets inverse speed at entrance to station [ns/cm].
Definition at line 96 of file CaMcPoint.h.
|
inline |
Gets inverse speed at exit of station [ns/cm].
Definition at line 102 of file CaMcPoint.h.
|
inline |
Gets link key.
Definition at line 111 of file CaMcPoint.h.
|
inline |
Gets local index of tracking station in the detector subsystem.
Definition at line 73 of file CaMcPoint.h.
|
inline |
Gets mass of the particle [GeV/c2].
Definition at line 114 of file CaMcPoint.h.
|
inline |
Gets mother ID of the track.
Definition at line 117 of file CaMcPoint.h.
|
inline |
Gets track momentum absolute value at reference z of station [GeV/c].
Definition at line 120 of file CaMcPoint.h.
|
inline |
Gets PDG code of the particle.
Definition at line 123 of file CaMcPoint.h.
|
inline |
Gets track azimuthal angle at reference z of station [rad].
Definition at line 126 of file CaMcPoint.h.
|
inline |
Gets track azimuthal angle at entrance to station [rad].
Definition at line 129 of file CaMcPoint.h.
|
inline |
Gets track azimuthal angle at exit of station [rad].
Definition at line 132 of file CaMcPoint.h.
|
inline |
Gets track momentum absolute value at entrance to station [GeV/c].
Definition at line 135 of file CaMcPoint.h.
|
inline |
Gets track momentum absolute value at exit of station [GeV/c].
Definition at line 138 of file CaMcPoint.h.
|
inline |
Gets track transverse momentum at reference z of station [GeV/c].
Definition at line 144 of file CaMcPoint.h.
|
inline |
Gets track transverse momentum at entrance to station [GeV/c].
Definition at line 147 of file CaMcPoint.h.
|
inline |
Gets track transverse momentum at exit of station [GeV/c].
Definition at line 154 of file CaMcPoint.h.
|
inline |
Gets track momentum x component at reference z of station [GeV/c].
Definition at line 162 of file CaMcPoint.h.
|
inline |
Gets track momentum x component at entrance to station [GeV/c].
Definition at line 165 of file CaMcPoint.h.
|
inline |
Gets track momentum x component at exit of station [GeV/c].
Definition at line 168 of file CaMcPoint.h.
|
inline |
Gets track momentum y component at reference z of station [GeV/c].
Definition at line 171 of file CaMcPoint.h.
|
inline |
Gets track momentum y component at entrance to station [GeV/c].
Definition at line 174 of file CaMcPoint.h.
|
inline |
Gets track momentum y component at exit of station [GeV/c].
Definition at line 177 of file CaMcPoint.h.
|
inline |
Gets track momentum z component at reference z of station [GeV/c].
Definition at line 180 of file CaMcPoint.h.
|
inline |
Gets track momentum z component at entrance to station [GeV/c].
Definition at line 183 of file CaMcPoint.h.
|
inline |
Gets track momentum z component at exit of station [GeV/c].
Definition at line 186 of file CaMcPoint.h.
|
inline |
Gets track charge over momentum at reference z of station [ec/GeV].
Definition at line 189 of file CaMcPoint.h.
|
inline |
Gets track momentum absolute value at entrance to station [ec/GeV].
Definition at line 192 of file CaMcPoint.h.
|
inline |
Gets track momentum absolute value at exit of station [ec/GeV].
Definition at line 195 of file CaMcPoint.h.
|
inline |
Gets polar angle at reference z of station [rad].
Definition at line 198 of file CaMcPoint.h.
|
inline |
Gets polar angle at entrance to station [rad].
Definition at line 201 of file CaMcPoint.h.
|
inline |
Gets polar angle at exit of station [rad].
Definition at line 204 of file CaMcPoint.h.
|
inline |
Gets time [ns].
Definition at line 207 of file CaMcPoint.h.
|
inline |
Gets ID of track from the internal CA MC track container (within event/TS)
Definition at line 210 of file CaMcPoint.h.
|
inline |
Gets slope along x-axis at reference z of station.
Definition at line 213 of file CaMcPoint.h.
|
inline |
Gets slope along x-axis at entrance to station.
Definition at line 216 of file CaMcPoint.h.
|
inline |
Gets slope along x-axis at exit of station.
Definition at line 219 of file CaMcPoint.h.
|
inline |
Gets slope along x-axis at reference z of station.
Definition at line 222 of file CaMcPoint.h.
|
inline |
Gets slope along x-axis at entrance to station.
Definition at line 225 of file CaMcPoint.h.
|
inline |
Gets slope along x-axis at exit of station.
Definition at line 228 of file CaMcPoint.h.
|
inline |
Gets x coordinate at reference z of station [cm].
Definition at line 231 of file CaMcPoint.h.
|
inline |
Gets x coordinate at entrance to station [cm].
Definition at line 234 of file CaMcPoint.h.
|
inline |
Gets x coordinate at exit of station [cm].
Definition at line 237 of file CaMcPoint.h.
|
inline |
Gets y coordinate at reference z of station [cm].
Definition at line 240 of file CaMcPoint.h.
|
inline |
Gets y coordinate at entrance to station [cm].
Definition at line 243 of file CaMcPoint.h.
|
inline |
Gets y coordinate at exit of station [cm].
Definition at line 246 of file CaMcPoint.h.
|
inline |
Gets z coordinate at reference z of station [cm].
Definition at line 249 of file CaMcPoint.h.
|
inline |
Gets z coordinate at entrance to station [cm].
Definition at line 252 of file CaMcPoint.h.
|
inline |
Gets z coordinate at exit of station [cm].
Definition at line 255 of file CaMcPoint.h.
|
inline |
Sets global index of active station.
Definition at line 268 of file CaMcPoint.h.
|
inline |
Sets particle charge [e].
Definition at line 262 of file CaMcPoint.h.
|
inline |
Sets detector ID.
Definition at line 265 of file CaMcPoint.h.
|
inline |
Sets index of MC event containing this point.
Definition at line 274 of file CaMcPoint.h.
|
inline |
Sets index of this point in external data structures.
Definition at line 277 of file CaMcPoint.h.
|
inline |
Sets index of MC file containing this point.
Definition at line 280 of file CaMcPoint.h.
|
inline |
Sets index of this point in the CA internal structure.
Definition at line 283 of file CaMcPoint.h.
|
inline |
Sets local index of tracking station in the detector subsystem.
Definition at line 271 of file CaMcPoint.h.
|
inline |
Sets particle mass [GeV/c2].
Definition at line 286 of file CaMcPoint.h.
|
inline |
Sets index of mother track in the internal CA data structures.
Definition at line 289 of file CaMcPoint.h.
|
inline |
Sets PDG code.
Definition at line 292 of file CaMcPoint.h.
|
inline |
Sets track momentum x component at reference z of station [GeV/c].
Definition at line 295 of file CaMcPoint.h.
|
inline |
Sets track momentum x component at entrance to station [GeV/c].
Definition at line 298 of file CaMcPoint.h.
|
inline |
Sets track momentum x component at exit of station [GeV/c].
Definition at line 301 of file CaMcPoint.h.
|
inline |
Sets track momentum y component at reference z of station [GeV/c].
Definition at line 304 of file CaMcPoint.h.
|
inline |
Sets track momentum y component at entrance to station [GeV/c].
Definition at line 307 of file CaMcPoint.h.
|
inline |
Sets track momentum y component at exit of station [GeV/c].
Definition at line 310 of file CaMcPoint.h.
|
inline |
Sets track momentum z component at reference z of station [GeV/c].
Definition at line 313 of file CaMcPoint.h.
|
inline |
Sets track momentum z component at entrance to station [GeV/c].
Definition at line 316 of file CaMcPoint.h.
|
inline |
Sets track momentum z component at exit of station [GeV/c].
Definition at line 319 of file CaMcPoint.h.
|
inline |
Sets time [ns].
Definition at line 322 of file CaMcPoint.h.
|
inline |
Sets track ID in the CA internal track container (within event/TS)
Definition at line 325 of file CaMcPoint.h.
|
inline |
Sets x coordinate at reference z of station [cm].
Definition at line 328 of file CaMcPoint.h.
|
inline |
Sets x coordinate at entrance to station [cm].
Definition at line 331 of file CaMcPoint.h.
|
inline |
Sets x coordinate at exit of station [cm].
Definition at line 334 of file CaMcPoint.h.
|
inline |
Sets y coordinate at reference z of station [cm].
Definition at line 337 of file CaMcPoint.h.
|
inline |
Sets y coordinate at entrance to station [cm].
Definition at line 340 of file CaMcPoint.h.
|
inline |
Sets x coordinate at exit of station [cm].
Definition at line 343 of file CaMcPoint.h.
|
inline |
Sets z coordinate at reference z of station [cm].
Definition at line 346 of file CaMcPoint.h.
|
inline |
Sets z coordinate at entrance to station [cm].
Definition at line 349 of file CaMcPoint.h.
|
inline |
Sets z coordinate at exit of station [cm].
Definition at line 352 of file CaMcPoint.h.
| std::string McPoint::ToString | ( | int | verbose, |
| bool | printHeader = false ) const |
Prints content for a given verbosity level.
| verbose | Verbosity 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 |
| printHeader | If true, parameter names will be printed instead of the parameters themselves |
Definition at line 20 of file CaMcPoint.cxx.
|
private |
Global index of active tracking station.
Definition at line 394 of file CaMcPoint.h.
|
private |
Particle charge [e].
Definition at line 381 of file CaMcPoint.h.
|
private |
Detector ID of MC point.
Definition at line 392 of file CaMcPoint.h.
|
private |
Index of MC point in the external MC point container.
Definition at line 387 of file CaMcPoint.h.
|
private |
Link key of point.
Definition at line 384 of file CaMcPoint.h.
|
private |
Local geometrical index of tracking station in the detector subsystem (inactive stations included)
Definition at line 395 of file CaMcPoint.h.
|
private |
Particle mass [GeV/c2].
Definition at line 380 of file CaMcPoint.h.
|
private |
Momentum at reference z of station [GeV/c].
Definition at line 374 of file CaMcPoint.h.
|
private |
Momentum at entrance to station [GeV/c].
Definition at line 376 of file CaMcPoint.h.
|
private |
Momentum at exit of station [cm].
Definition at line 378 of file CaMcPoint.h.
|
private |
Index of mother track in CA internal data structures (within event/TS)
Definition at line 390 of file CaMcPoint.h.
|
private |
Particle PDG code.
Definition at line 386 of file CaMcPoint.h.
|
private |
Position at reference z of station [cm].
Definition at line 368 of file CaMcPoint.h.
|
private |
Position at entrance to station [cm].
Definition at line 370 of file CaMcPoint.h.
|
private |
Position at exit of station [cm].
Definition at line 372 of file CaMcPoint.h.
|
private |
Point time [ns].
Definition at line 382 of file CaMcPoint.h.
|
private |
Index of associated MC track in CA internal track container within TS/event.
Definition at line 388 of file CaMcPoint.h.
|
private |
Indexes of hits, assigned to this point.
Definition at line 399 of file CaMcPoint.h.