Project
Loading...
Searching...
No Matches
o2::tpc::TrackDataMC Struct Reference

MC truth for a TrackData entry (stored only for MC, aligned 1:1 with the TrackData vector) More...

#include <TrackInterpolation.h>

Public Types

enum  Flags : uint8_t {
  HasITSOut = 0x1 , HasTPCIn = 0x2 , FakeITSTPC = 0x4 , HasTRDIn = 0x8 ,
  IsPrimary = 0x10
}
 

Public Member Functions

bool hasITSOut () const
 
bool hasTPCIn () const
 
bool isFakeITSTPC () const
 
bool hasTRDIn () const
 
bool isPrimary () const
 
 ClassDefNV (TrackDataMC, 3)
 

Public Attributes

o2::MCCompLabel label {}
 MC label of the ITS-TPC part of the seeding track.
 
o2::MCCompLabel labelITS {}
 MC label of its ITS part.
 
o2::MCCompLabel labelTPC {}
 MC label of its TPC part.
 
o2::track::TrackPar parITSOut {}
 truth at x and alpha of TrackData::par, from the nearest ITS track reference (propagated with the material correction, true mass)
 
o2::track::TrackPar parTPCIn {}
 truth at the first TPC track reference (sector frame)
 
float distITSRef {-1.f}
 3D distance between the ITS track reference used and TrackData::par in cm
 
float distTPCRef {-1.f}
 distance (y,z) between parTPCIn propagated to the innermost TPC cluster of the track and that cluster in cm (large: wrong leg, looper, fake)
 
o2::track::TrackPar parTRDIn {}
 truth at the first TRD track reference (sector frame), TRD-matched seeds only
 
float yTRD [6] = {}
 truth y at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask
 
float zTRD [6] = {}
 truth z at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask
 
uint8_t trdLayerMask {0}
 bit i set: yTRD[i], zTRD[i] filled
 
int pdg {0}
 PDG code of the particle of the ITS-TPC part (as for the origin and TRD fields)
 
o2::MCCompLabel motherLabel {}
 MC label of the mother of the particle of the ITS-TPC part (for primaries the generator-level parent)
 
int motherPdg {0}
 PDG code of that mother (0: none)
 
float prodX {0.f}
 production vertex x of the particle of the ITS-TPC part (global, cm)
 
float prodY {0.f}
 production vertex y (global, cm)
 
float prodZ {0.f}
 production vertex z (global, cm)
 
float prodPx {0.f}
 momentum at production x (global, GeV/c), e.g. to compare a track propagated to the vertex
 
float prodPy {0.f}
 momentum at production y (global, GeV/c)
 
float prodPz {0.f}
 momentum at production z (global, GeV/c)
 
int sisterIdx {-1}
 index in the TrackData vector of another stored track with the same mother (cycling through all of them if more than two), -1: none
 
uint8_t process {0}
 production process of the particle of the ITS-TPC part (TMCProcess)
 
uint8_t flags {0}
 

Detailed Description

MC truth for a TrackData entry (stored only for MC, aligned 1:1 with the TrackData vector)

Definition at line 249 of file TrackInterpolation.h.

Member Enumeration Documentation

◆ Flags

Enumerator
HasITSOut 

parITSOut is filled

HasTPCIn 

parTPCIn is filled

FakeITSTPC 

ITS and TPC parts of the track have different MC labels.

HasTRDIn 

parTRDIn is filled

IsPrimary 

Definition at line 250 of file TrackInterpolation.h.

Member Function Documentation

◆ ClassDefNV()

o2::tpc::TrackDataMC::ClassDefNV ( TrackDataMC  ,
3   
)

◆ hasITSOut()

bool o2::tpc::TrackDataMC::hasITSOut ( ) const
inline

Definition at line 278 of file TrackInterpolation.h.

◆ hasTPCIn()

bool o2::tpc::TrackDataMC::hasTPCIn ( ) const
inline

Definition at line 279 of file TrackInterpolation.h.

◆ hasTRDIn()

bool o2::tpc::TrackDataMC::hasTRDIn ( ) const
inline

Definition at line 281 of file TrackInterpolation.h.

◆ isFakeITSTPC()

bool o2::tpc::TrackDataMC::isFakeITSTPC ( ) const
inline

Definition at line 280 of file TrackInterpolation.h.

◆ isPrimary()

bool o2::tpc::TrackDataMC::isPrimary ( ) const
inline

Definition at line 282 of file TrackInterpolation.h.

Member Data Documentation

◆ distITSRef

float o2::tpc::TrackDataMC::distITSRef {-1.f}

3D distance between the ITS track reference used and TrackData::par in cm

Definition at line 260 of file TrackInterpolation.h.

◆ distTPCRef

float o2::tpc::TrackDataMC::distTPCRef {-1.f}

distance (y,z) between parTPCIn propagated to the innermost TPC cluster of the track and that cluster in cm (large: wrong leg, looper, fake)

Definition at line 261 of file TrackInterpolation.h.

◆ flags

uint8_t o2::tpc::TrackDataMC::flags {0}

Definition at line 277 of file TrackInterpolation.h.

◆ label

o2::MCCompLabel o2::tpc::TrackDataMC::label {}

MC label of the ITS-TPC part of the seeding track.

Definition at line 255 of file TrackInterpolation.h.

◆ labelITS

o2::MCCompLabel o2::tpc::TrackDataMC::labelITS {}

MC label of its ITS part.

Definition at line 256 of file TrackInterpolation.h.

◆ labelTPC

o2::MCCompLabel o2::tpc::TrackDataMC::labelTPC {}

MC label of its TPC part.

Definition at line 257 of file TrackInterpolation.h.

◆ motherLabel

o2::MCCompLabel o2::tpc::TrackDataMC::motherLabel {}

MC label of the mother of the particle of the ITS-TPC part (for primaries the generator-level parent)

Definition at line 267 of file TrackInterpolation.h.

◆ motherPdg

int o2::tpc::TrackDataMC::motherPdg {0}

PDG code of that mother (0: none)

Definition at line 268 of file TrackInterpolation.h.

◆ parITSOut

o2::track::TrackPar o2::tpc::TrackDataMC::parITSOut {}

truth at x and alpha of TrackData::par, from the nearest ITS track reference (propagated with the material correction, true mass)

Definition at line 258 of file TrackInterpolation.h.

◆ parTPCIn

o2::track::TrackPar o2::tpc::TrackDataMC::parTPCIn {}

truth at the first TPC track reference (sector frame)

Definition at line 259 of file TrackInterpolation.h.

◆ parTRDIn

o2::track::TrackPar o2::tpc::TrackDataMC::parTRDIn {}

truth at the first TRD track reference (sector frame), TRD-matched seeds only

Definition at line 262 of file TrackInterpolation.h.

◆ pdg

int o2::tpc::TrackDataMC::pdg {0}

PDG code of the particle of the ITS-TPC part (as for the origin and TRD fields)

Definition at line 266 of file TrackInterpolation.h.

◆ process

uint8_t o2::tpc::TrackDataMC::process {0}

production process of the particle of the ITS-TPC part (TMCProcess)

Definition at line 276 of file TrackInterpolation.h.

◆ prodPx

float o2::tpc::TrackDataMC::prodPx {0.f}

momentum at production x (global, GeV/c), e.g. to compare a track propagated to the vertex

Definition at line 272 of file TrackInterpolation.h.

◆ prodPy

float o2::tpc::TrackDataMC::prodPy {0.f}

momentum at production y (global, GeV/c)

Definition at line 273 of file TrackInterpolation.h.

◆ prodPz

float o2::tpc::TrackDataMC::prodPz {0.f}

momentum at production z (global, GeV/c)

Definition at line 274 of file TrackInterpolation.h.

◆ prodX

float o2::tpc::TrackDataMC::prodX {0.f}

production vertex x of the particle of the ITS-TPC part (global, cm)

Definition at line 269 of file TrackInterpolation.h.

◆ prodY

float o2::tpc::TrackDataMC::prodY {0.f}

production vertex y (global, cm)

Definition at line 270 of file TrackInterpolation.h.

◆ prodZ

float o2::tpc::TrackDataMC::prodZ {0.f}

production vertex z (global, cm)

Definition at line 271 of file TrackInterpolation.h.

◆ sisterIdx

int o2::tpc::TrackDataMC::sisterIdx {-1}

index in the TrackData vector of another stored track with the same mother (cycling through all of them if more than two), -1: none

Definition at line 275 of file TrackInterpolation.h.

◆ trdLayerMask

uint8_t o2::tpc::TrackDataMC::trdLayerMask {0}

bit i set: yTRD[i], zTRD[i] filled

Definition at line 265 of file TrackInterpolation.h.

◆ yTRD

float o2::tpc::TrackDataMC::yTRD[6] = {}

truth y at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask

Definition at line 263 of file TrackInterpolation.h.

◆ zTRD

float o2::tpc::TrackDataMC::zTRD[6] = {}

truth z at the x of the TRD tracklet of each layer (tracklet sector frame), see trdLayerMask

Definition at line 264 of file TrackInterpolation.h.


The documentation for this struct was generated from the following file: