CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
CTPPSLocalTrackLite Class Reference

Local (=single RP) track with essential information only. More...

#include <CTPPSLocalTrackLite.h>

Public Member Functions

float chiSquaredOverNDF () const
 returns the track fit chi Squared over NDF More...
 
 CTPPSLocalTrackLite ()
 
 CTPPSLocalTrackLite (uint32_t pid, float px, float pxu, float py, float pyu, float ptx, float ptxu, float pty, float ptyu, float pchiSquaredOverNDF, CTPPSpixelLocalTrackReconstructionInfo ppixelTrack_reco_info, unsigned short pNumberOfPointsUsedForFit, float pt, float ptu)
 
unsigned short numberOfPointsUsedForFit () const
 returns the number of points used for fit More...
 
CTPPSpixelLocalTrackReconstructionInfo pixelTrackRecoInfo () const
 returns the track reconstruction info byte More...
 
uint32_t rpId () const
 returns the RP id More...
 
float time () const
 returns the track time More...
 
float timeUnc () const
 returns the track time uncertainty More...
 
float tx () const
 returns the track horizontal angle More...
 
float txUnc () const
 returns the track horizontal angle uncertainty More...
 
float ty () const
 returns the track vertical angle More...
 
float tyUnc () const
 returns the track vertical angle uncertainty More...
 
float x () const
 returns the horizontal track position More...
 
float xUnc () const
 returns the horizontal track position uncertainty More...
 
float y () const
 returns the vertical track position More...
 
float yUnc () const
 returns the vertical track position uncertainty More...
 

Protected Attributes

float chi2_norm_
 fit $\chi^2$/NDF More...
 
unsigned short num_points_fit_
 number of points used for fit More...
 
CTPPSpixelLocalTrackReconstructionInfo pixel_track_reco_info_
 
uint32_t rp_id_
 RP id. More...
 
float time_
 time information, ns More...
 
float time_unc_
 uncertainty on time information, ns More...
 
float tx_
 horizontal angle, x = x0 + tx*(z-z0) More...
 
float tx_unc_
 uncertainty on horizontal angle More...
 
float ty_
 vertical angle, y = y0 + ty*(z-z0) More...
 
float ty_unc_
 uncertainty on vertical angle More...
 
float x_
 horizontal hit position, mm More...
 
float x_unc_
 uncertainty on horizontal hit position, mm More...
 
float y_
 vertical hit position, mm More...
 
float y_unc_
 uncertainty on vertical hit position, mm More...
 

Detailed Description

Local (=single RP) track with essential information only.

Definition at line 18 of file CTPPSLocalTrackLite.h.

Constructor & Destructor Documentation

◆ CTPPSLocalTrackLite() [1/2]

CTPPSLocalTrackLite::CTPPSLocalTrackLite ( )
inline

Definition at line 25 of file CTPPSLocalTrackLite.h.

35  {}
36 
37  CTPPSLocalTrackLite(uint32_t pid,
38  float px,
39  float pxu,

◆ CTPPSLocalTrackLite() [2/2]

CTPPSLocalTrackLite::CTPPSLocalTrackLite ( uint32_t  pid,
float  px,
float  pxu,
float  py,
float  pyu,
float  ptx,
float  ptxu,
float  pty,
float  ptyu,
float  pchiSquaredOverNDF,
CTPPSpixelLocalTrackReconstructionInfo  ppixelTrack_reco_info,
unsigned short  pNumberOfPointsUsedForFit,
float  pt,
float  ptu 
)
inline

Definition at line 41 of file CTPPSLocalTrackLite.h.

51  : rp_id_(pid),
52  x_(px),
53  x_unc_(pxu),
54  y_(py),
55  y_unc_(pyu),
56  tx_(ptx),
57  tx_unc_(ptxu),
58  ty_(pty),
59  ty_unc_(ptyu),
60  chi2_norm_(pchiSquaredOverNDF),
61  pixel_track_reco_info_(ppixelTrack_reco_info),
62  num_points_fit_(pNumberOfPointsUsedForFit),
63  time_(pt),
64  time_unc_(ptu) {}
65 
67  inline uint32_t rpId() const { return rp_id_; }
68 

Member Function Documentation

◆ chiSquaredOverNDF()

float CTPPSLocalTrackLite::chiSquaredOverNDF ( ) const
inline

returns the track fit chi Squared over NDF

Definition at line 104 of file CTPPSLocalTrackLite.h.

106 { return num_points_fit_; }

References num_points_fit_.

◆ numberOfPointsUsedForFit()

unsigned short CTPPSLocalTrackLite::numberOfPointsUsedForFit ( ) const
inline

returns the number of points used for fit

Definition at line 110 of file CTPPSLocalTrackLite.h.

◆ pixelTrackRecoInfo()

CTPPSpixelLocalTrackReconstructionInfo CTPPSLocalTrackLite::pixelTrackRecoInfo ( ) const
inline

returns the track reconstruction info byte

Definition at line 107 of file CTPPSLocalTrackLite.h.

108 :

◆ rpId()

uint32_t CTPPSLocalTrackLite::rpId ( ) const
inline

returns the RP id

Definition at line 71 of file CTPPSLocalTrackLite.h.

73 { return x_unc_; }

References x_unc_.

Referenced by CTPPSProtonReconstructionPlotter::CalculateTimingTrackingDistance().

◆ time()

float CTPPSLocalTrackLite::time ( ) const
inline

returns the track time

Definition at line 86 of file CTPPSLocalTrackLite.h.

88 { return tx_; }

References tx_.

◆ timeUnc()

float CTPPSLocalTrackLite::timeUnc ( ) const
inline

returns the track time uncertainty

Definition at line 89 of file CTPPSLocalTrackLite.h.

91 { return tx_unc_; }

References tx_unc_.

◆ tx()

float CTPPSLocalTrackLite::tx ( ) const
inline

returns the track horizontal angle

Definition at line 92 of file CTPPSLocalTrackLite.h.

94 { return ty_; }

References ty_.

◆ txUnc()

float CTPPSLocalTrackLite::txUnc ( ) const
inline

returns the track horizontal angle uncertainty

Definition at line 95 of file CTPPSLocalTrackLite.h.

97 { return ty_unc_; }

References ty_unc_.

◆ ty()

float CTPPSLocalTrackLite::ty ( ) const
inline

returns the track vertical angle

Definition at line 98 of file CTPPSLocalTrackLite.h.

100 { return chi2_norm_; }

References chi2_norm_.

◆ tyUnc()

float CTPPSLocalTrackLite::tyUnc ( ) const
inline

returns the track vertical angle uncertainty

Definition at line 101 of file CTPPSLocalTrackLite.h.

103 { return pixel_track_reco_info_; }

References pixel_track_reco_info_.

◆ x()

float CTPPSLocalTrackLite::x ( ) const
inline

◆ xUnc()

float CTPPSLocalTrackLite::xUnc ( ) const
inline

returns the horizontal track position uncertainty

Definition at line 77 of file CTPPSLocalTrackLite.h.

79 { return y_unc_; }

References y_unc_.

Referenced by CTPPSProtonReconstructionPlotter::CalculateTimingTrackingDistance().

◆ y()

float CTPPSLocalTrackLite::y ( ) const
inline

◆ yUnc()

float CTPPSLocalTrackLite::yUnc ( ) const
inline

returns the vertical track position uncertainty

Definition at line 83 of file CTPPSLocalTrackLite.h.

85 { return time_unc_; }

References time_unc_.

Member Data Documentation

◆ chi2_norm_

float CTPPSLocalTrackLite::chi2_norm_
protected

fit $\chi^2$/NDF

Definition at line 138 of file CTPPSLocalTrackLite.h.

Referenced by ty().

◆ num_points_fit_

unsigned short CTPPSLocalTrackLite::num_points_fit_
protected

number of points used for fit

Definition at line 149 of file CTPPSLocalTrackLite.h.

Referenced by chiSquaredOverNDF().

◆ pixel_track_reco_info_

CTPPSpixelLocalTrackReconstructionInfo CTPPSLocalTrackLite::pixel_track_reco_info_
protected

Track information byte for bx-shifted runs:

  • notShiftedRun -> Default value for tracks reconstructed in non-bx-shifted ROCs
  • allShiftedPlanes -> Track reconstructed in a bx-shifted ROC with bx-shifted planes only
  • noShiftedPlanes -> Track reconstructed in a bx-shifted ROC with non-bx-shifted planes only
  • mixedPlanes -> Track reconstructed in a bx-shifted ROC both with bx-shifted and non-bx-shifted planes
  • invalid -> Dummy value. Assigned when pixelTrack_reco_info is not computed (i.e. non-pixel tracks)

Definition at line 146 of file CTPPSLocalTrackLite.h.

Referenced by tyUnc().

◆ rp_id_

uint32_t CTPPSLocalTrackLite::rp_id_
protected

RP id.

Definition at line 114 of file CTPPSLocalTrackLite.h.

◆ time_

float CTPPSLocalTrackLite::time_
protected

time information, ns

Definition at line 152 of file CTPPSLocalTrackLite.h.

Referenced by y().

◆ time_unc_

float CTPPSLocalTrackLite::time_unc_
protected

uncertainty on time information, ns

Definition at line 154 of file CTPPSLocalTrackLite.h.

Referenced by yUnc().

◆ tx_

float CTPPSLocalTrackLite::tx_
protected

horizontal angle, x = x0 + tx*(z-z0)

Definition at line 130 of file CTPPSLocalTrackLite.h.

Referenced by time().

◆ tx_unc_

float CTPPSLocalTrackLite::tx_unc_
protected

uncertainty on horizontal angle

Definition at line 132 of file CTPPSLocalTrackLite.h.

Referenced by timeUnc().

◆ ty_

float CTPPSLocalTrackLite::ty_
protected

vertical angle, y = y0 + ty*(z-z0)

Definition at line 134 of file CTPPSLocalTrackLite.h.

Referenced by tx().

◆ ty_unc_

float CTPPSLocalTrackLite::ty_unc_
protected

uncertainty on vertical angle

Definition at line 136 of file CTPPSLocalTrackLite.h.

Referenced by txUnc().

◆ x_

float CTPPSLocalTrackLite::x_
protected

horizontal hit position, mm

local track parameterization x = x0 + tx*(z-z0), y = y0 + ty*(z-z0) x0, y0, z-z0 in mm z0: position of the reference scoring plane (in the middle of the RP)

Definition at line 122 of file CTPPSLocalTrackLite.h.

◆ x_unc_

float CTPPSLocalTrackLite::x_unc_
protected

uncertainty on horizontal hit position, mm

Definition at line 124 of file CTPPSLocalTrackLite.h.

Referenced by rpId().

◆ y_

float CTPPSLocalTrackLite::y_
protected

vertical hit position, mm

Definition at line 126 of file CTPPSLocalTrackLite.h.

Referenced by x().

◆ y_unc_

float CTPPSLocalTrackLite::y_unc_
protected

uncertainty on vertical hit position, mm

Definition at line 128 of file CTPPSLocalTrackLite.h.

Referenced by xUnc().

CTPPSLocalTrackLite::rpId
uint32_t rpId() const
returns the RP id
Definition: CTPPSLocalTrackLite.h:71
CTPPSLocalTrackLite::tx_
float tx_
horizontal angle, x = x0 + tx*(z-z0)
Definition: CTPPSLocalTrackLite.h:130
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
CTPPSLocalTrackLite::time_
float time_
time information, ns
Definition: CTPPSLocalTrackLite.h:152
CTPPSLocalTrackLite::tx_unc_
float tx_unc_
uncertainty on horizontal angle
Definition: CTPPSLocalTrackLite.h:132
CTPPSLocalTrackLite::pixel_track_reco_info_
CTPPSpixelLocalTrackReconstructionInfo pixel_track_reco_info_
Definition: CTPPSLocalTrackLite.h:146
CTPPSLocalTrackLite::ty_unc_
float ty_unc_
uncertainty on vertical angle
Definition: CTPPSLocalTrackLite.h:136
CTPPSLocalTrackLite::num_points_fit_
unsigned short num_points_fit_
number of points used for fit
Definition: CTPPSLocalTrackLite.h:149
CTPPSLocalTrackLite::rp_id_
uint32_t rp_id_
RP id.
Definition: CTPPSLocalTrackLite.h:114
CTPPSLocalTrackLite::y_unc_
float y_unc_
uncertainty on vertical hit position, mm
Definition: CTPPSLocalTrackLite.h:128
CTPPSLocalTrackLite::x_
float x_
horizontal hit position, mm
Definition: CTPPSLocalTrackLite.h:122
CTPPSLocalTrackLite::chi2_norm_
float chi2_norm_
fit /NDF
Definition: CTPPSLocalTrackLite.h:138
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
CTPPSLocalTrackLite::y_
float y_
vertical hit position, mm
Definition: CTPPSLocalTrackLite.h:126
CTPPSLocalTrackLite::time_unc_
float time_unc_
uncertainty on time information, ns
Definition: CTPPSLocalTrackLite.h:154
CTPPSLocalTrackLite::ty_
float ty_
vertical angle, y = y0 + ty*(z-z0)
Definition: CTPPSLocalTrackLite.h:134
CTPPSLocalTrackLite::CTPPSLocalTrackLite
CTPPSLocalTrackLite()
Definition: CTPPSLocalTrackLite.h:25
CTPPSLocalTrackLite::x_unc_
float x_unc_
uncertainty on horizontal hit position, mm
Definition: CTPPSLocalTrackLite.h:124