Project
Loading...
Searching...
No Matches
o2::tpc::LaserTrack Class Reference

#include <LaserTrack.h>

Inherits o2::track::TrackParametrization< float >.

Public Member Functions

 LaserTrack ()=default
 
 LaserTrack (int id, float x, float alpha, const std::array< float, o2::track::kNParams > &par)
 
 LaserTrack (LaserTrack const &)=default
 
void setID (int id)
 set laser track ID
 
int getID () const
 laser track ID
 
int getSide () const
 side of laser track
 
int getRod () const
 laser rod number on Side
 
int getBundle () const
 micro-mirror bundle inside laser rod
 
int getBeam () const
 laser beam inside mirror-mirror bundle
 
- Public Member Functions inherited from o2::track::TrackParametrization< float >
 GPUdDefault () TrackParametrization()=default
 
 GPUdDefault () TrackParametrization(const TrackParametrization &)=default
 
 GPUdDefault () TrackParametrization(TrackParametrization &&)=default
 
 GPUdDefault () ~TrackParametrization()=default
 
 GPUd () TrackParametrization(value_t x
 
 GPUd () TrackParametrization(const dim3_t &xyz
 
 GPUd () void set(value_t x
 
 GPUd () void set(value_t x
 
 GPUd () const value_t *getParams() const
 
 GPUd () value_t getParam(int i) const
 
 GPUd () value_t getX() const
 
 GPUd () value_t getAlpha() const
 
 GPUd () value_t getY() const
 
 GPUd () value_t getZ() const
 
 GPUd () value_t getSnp() const
 
 GPUd () value_t getTgl() const
 
 GPUd () value_t getCharge2Pt() const
 
 GPUd () int getAbsCharge() const
 
 GPUd () PID getPID() const
 
 GPUd () void setPID(const PID pid
 
 GPUd () value_t getCsp2() const
 calculate cos^2 and cos of track direction in rphi-tracking
 
 GPUd () value_t getCsp() const
 
 GPUd () void setX(value_t v)
 
 GPUd () void setParam(value_t v
 
 GPUd () void setAlpha(value_t v)
 
 GPUd () void setY(value_t v)
 
 GPUd () void setZ(value_t v)
 
 GPUd () void setSnp(value_t v)
 
 GPUd () void setTgl(value_t v)
 
 GPUd () void setQ2Pt(value_t v)
 
 GPUd () void setAbsCharge(int q)
 
 GPUd () bool getXatLabR(value_t r
 
 GPUd () void getCircleParamsLoc(value_t bz
 
 GPUd () void getCircleParams(value_t bz
 
GPUd() void getLineParams(o2 GPUd () value_t getCurvature(value_t b) const
 
 GPUd () int getCharge() const
 
 GPUd () int getSign() const
 
 GPUd () value_t getPhi() const
 
 GPUd () value_t getPhiPos() const
 
 GPUd () value_t getPtInv() const
 
 GPUd () value_t getP2Inv() const
 
 GPUd () value_t getP2() const
 
 GPUd () value_t getPInv() const
 
 GPUd () value_t getP() const
 
 GPUd () value_t getPt() const
 
 GPUd () value_t getE2() const
 
 GPUd () value_t getE() const
 
 GPUd () value_t getTheta() const
 
 GPUd () value_t getEta() const
 
GPUd() math_utils GPUd () void getXYZGlo(dim3_t &xyz) const
 
 GPUd () bool getPxPyPzGlo(dim3_t &pxyz) const
 
GPUd() bool getPosDirGlo(gpu GPUd () bool getYZAt(value_t xk
 
 GPUd () value_t getZAt(value_t xk
 
 GPUd () value_t getYAt(value_t xk
 
 GPUd () value_t getSnpAt(value_t xk
 
 GPUd () value_t getSnpAt(value_t alpha
 
 GPUd () value_t getPhiAt(value_t xk
 
 GPUd () value_t getPhiPosAt(value_t xk
 
 GPUd () value_t getDCAYtoMV(value_t b
 
 GPUd () value_t getDCAZtoMV(value_t b
 
GPUd() math_utils GPUd () bool correctForELoss(value_t xrho
 
 GPUd () bool rotateParam(value_t alpha)
 
 GPUd () bool propagateParamTo(value_t xk
 
 GPUd () bool propagateParamTo(value_t xk
 
 GPUd () void invertParam()
 
GPUd() bool propagateParamToDCA(const math_utils GPUd () bool rotate(value_t alpha)
 
 GPUd () bool propagateTo(value_t xk
 
 GPUd () bool propagateTo(value_t xk
 
 GPUd () void invert()
 
 GPUd () bool propagateToDCA(const math_utils
 
 GPUd () bool isValid() const
 
 GPUd () void invalidate()
 
 GPUd () void printParam() const
 
 GPUd () void printParamHexadecimal()
 
 GPUd () void updateParam(value_t delta
 
 GPUd () void updateParams(const params_t &delta)
 
 GPUd () void updateParams(const value_t *delta)
 
 GPUhdDefault () TrackParametrization &operator
 
 GPUhdDefault () TrackParametrization &operator
 
 GPUhd () value_t getQ2Pt() const
 
 GPUhd () uint16_t getUserField() const
 
 GPUhd () void setUserField(uint16_t v)
 
 GPUdi () static value_t getdEdxBB(value_t betagamma)
 
 GPUdi () static value_t getdEdxBBOpt(value_t betagamma)
 
 GPUdi () static value_t getBetheBlochSolidDerivativeApprox(float dedx
 
std::string asString () const
 
std::string asStringHexadecimal ()
 

Static Public Attributes

static constexpr int NumberOfTracks = 336
 Total number of laser tracks.
 
static constexpr int RodsPerSide = 6
 Number of laser rods per side.
 
static constexpr int BundlesPerRod = 4
 number of micro-mirror bundle per laser rod
 
static constexpr int TracksPerBundle = 7
 number of micro-mirrors per bundle
 
static constexpr float SectorSpanRad = o2::constants::math::SectorSpanRad
 secotor width in rad
 
static constexpr std::array< float, 2 > FirstRodPhi {2.f * SectorSpanRad, 1.f * SectorSpanRad}
 phi pos of first laser rod, A-, C-Side
 
static constexpr float RodDistancePhi = 3.f * SectorSpanRad
 phi distance of laser Rods
 
static constexpr std::array< float, 4 > CoarseBundleZPos {243.5, 165.5, 82, 11.5}
 coarse z-position of the laser bundles
 

Additional Inherited Members

- Public Types inherited from o2::track::TrackParametrization< float >
using value_t = float
 
using dim2_t = gpu::gpustd::array< value_t, 2 >
 
using dim3_t = gpu::gpustd::array< value_t, 3 >
 
using params_t = gpu::gpustd::array< value_t, kNParams >
 
- Public Attributes inherited from o2::track::TrackParametrization< float >
value_t alpha
 
value_t const params_tpar
 
value_t const value_tpar
 
value_t const params_t int charge
 
const dim3_t int charge
 
value_t const value_t int charge
 
value_t const params_t int const PID pid
 
const dim3_t int bool const PID pid
 
value_t const value_t int const PID pid
 
const dim3_tpxpypz
 
const dim3_t int bool sectorAlpha
 
bool passCharge
 
int i
 
value_tx
 
value_t value_t bz
 
value_t value_t DirType dir
 
o2::math_utils::CircleXY< value_t > &circle const
 
o2::math_utils::CircleXY< value_t > value_t value_t &csa const
 
GPUd() bool getPosDirGlo(gpu value_t value_t value_t &z const
 
value_t b const
 
value_t value_t b const
 
o2::math_utils::CircleXY< value_t > & circle
 
o2::math_utils::CircleXY< value_t > value_tsna
 
float bg
 
GPUd() bool getPosDirGlo(gpu value_t b
 
value_t b
 
const dim3_tb
 
GPUd() bool getPosDirGlo(gpu value_t value_ty
 
value_t xk
 
value_t xmv
 
value_t value_t ymv
 
value_t value_t value_t zmv
 
GPUd() math_utils bool anglecorr
 

Detailed Description

This is the definition of the TPC Laser Track

Definition at line 26 of file LaserTrack.h.

Constructor & Destructor Documentation

◆ LaserTrack() [1/3]

o2::tpc::LaserTrack::LaserTrack ( )
default

◆ LaserTrack() [2/3]

o2::tpc::LaserTrack::LaserTrack ( int  id,
float  x,
float  alpha,
const std::array< float, o2::track::kNParams > &  par 
)
inline

Definition at line 39 of file LaserTrack.h.

◆ LaserTrack() [3/3]

o2::tpc::LaserTrack::LaserTrack ( LaserTrack const )
default

Member Function Documentation

◆ getBeam()

int o2::tpc::LaserTrack::getBeam ( ) const
inline

laser beam inside mirror-mirror bundle

Definition at line 58 of file LaserTrack.h.

◆ getBundle()

int o2::tpc::LaserTrack::getBundle ( ) const
inline

micro-mirror bundle inside laser rod

Definition at line 55 of file LaserTrack.h.

◆ getID()

int o2::tpc::LaserTrack::getID ( ) const
inline

laser track ID

Definition at line 46 of file LaserTrack.h.

◆ getRod()

int o2::tpc::LaserTrack::getRod ( ) const
inline

laser rod number on Side

Definition at line 52 of file LaserTrack.h.

◆ getSide()

int o2::tpc::LaserTrack::getSide ( ) const
inline

side of laser track

Definition at line 49 of file LaserTrack.h.

◆ setID()

void o2::tpc::LaserTrack::setID ( int  id)
inline

set laser track ID

Definition at line 43 of file LaserTrack.h.

Member Data Documentation

◆ BundlesPerRod

constexpr int o2::tpc::LaserTrack::BundlesPerRod = 4
staticconstexpr

number of micro-mirror bundle per laser rod

Definition at line 31 of file LaserTrack.h.

◆ CoarseBundleZPos

constexpr std::array<float, 4> o2::tpc::LaserTrack::CoarseBundleZPos {243.5, 165.5, 82, 11.5}
staticconstexpr

coarse z-position of the laser bundles

Definition at line 36 of file LaserTrack.h.

◆ FirstRodPhi

constexpr std::array<float, 2> o2::tpc::LaserTrack::FirstRodPhi {2.f * SectorSpanRad, 1.f * SectorSpanRad}
staticconstexpr

phi pos of first laser rod, A-, C-Side

Definition at line 34 of file LaserTrack.h.

◆ NumberOfTracks

constexpr int o2::tpc::LaserTrack::NumberOfTracks = 336
staticconstexpr

Total number of laser tracks.

Definition at line 29 of file LaserTrack.h.

◆ RodDistancePhi

constexpr float o2::tpc::LaserTrack::RodDistancePhi = 3.f * SectorSpanRad
staticconstexpr

phi distance of laser Rods

Definition at line 35 of file LaserTrack.h.

◆ RodsPerSide

constexpr int o2::tpc::LaserTrack::RodsPerSide = 6
staticconstexpr

Number of laser rods per side.

Definition at line 30 of file LaserTrack.h.

◆ SectorSpanRad

constexpr float o2::tpc::LaserTrack::SectorSpanRad = o2::constants::math::SectorSpanRad
staticconstexpr

secotor width in rad

Definition at line 33 of file LaserTrack.h.

◆ TracksPerBundle

constexpr int o2::tpc::LaserTrack::TracksPerBundle = 7
staticconstexpr

number of micro-mirrors per bundle

Definition at line 32 of file LaserTrack.h.


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