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

 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)
 
float getChiSquaredOverNDF () const
 returns the track fit chi Squared over NDF More...
 
unsigned short getNumberOfPointsUsedForFit () const
 returns the number of points used for fit More...
 
CTPPSpixelLocalTrackReconstructionInfo getPixelTrackRecoInfo () const
 returns the track reconstruction info byte More...
 
uint32_t getRPId () const
 returns the RP id More...
 
float getTime () const
 returns the track time More...
 
float getTimeUnc () const
 returns the track time uncertainty More...
 
float getTx () const
 returns the track horizontal angle More...
 
float getTxUnc () const
 returns the track horizontal angle uncertainty More...
 
float getTy () const
 returns the track vertical angle More...
 
float getTyUnc () const
 returns the track vertical angle uncertainty More...
 
float getX () const
 returns the horizontal track position More...
 
float getXUnc () const
 returns the horizontal track position uncertainty More...
 
float getY () const
 returns the vertical track position More...
 
float getYUnc () const
 returns the vertical track position uncertainty More...
 

Protected Attributes

float chiSquaredOverNDF
 fit chi^2 over NDF More...
 
unsigned short numberOfPointsUsedForFit
 number of points used for fit More...
 
CTPPSpixelLocalTrackReconstructionInfo pixelTrack_reco_info
 
uint32_t rpId
 RP id. More...
 
float time
 time information and uncertainty, ns More...
 
float time_unc
 
float tx
 horizontal angle and uncertainty, x = x0 + tx*(z-z0) More...
 
float tx_unc
 
float ty
 vertical angle and uncertainty, y = y0 + ty*(z-z0) More...
 
float ty_unc
 
float x
 horizontal hit position and uncertainty, mm More...
 
float x_unc
 
float y
 vertical hit position and uncertainty, mm More...
 
float y_unc
 

Detailed Description

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

Definition at line 19 of file CTPPSLocalTrackLite.h.

Constructor & Destructor Documentation

CTPPSLocalTrackLite::CTPPSLocalTrackLite ( )
inline

Definition at line 23 of file CTPPSLocalTrackLite.h.

23  : rpId(0), x(0.), x_unc(-1.), y(0.), y_unc(-1.), tx(999.), tx_unc(-1.), ty(999.), ty_unc(-1.),
25  {
26  }
float y
vertical hit position and uncertainty, mm
float time
time information and uncertainty, ns
float x
horizontal hit position and uncertainty, mm
CTPPSpixelLocalTrackReconstructionInfo pixelTrack_reco_info
float tx
horizontal angle and uncertainty, x = x0 + tx*(z-z0)
unsigned short numberOfPointsUsedForFit
number of points used for fit
float chiSquaredOverNDF
fit chi^2 over NDF
float ty
vertical angle and uncertainty, y = y0 + ty*(z-z0)
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 28 of file CTPPSLocalTrackLite.h.

31  : rpId(pid), x(px), x_unc(pxu), y(py), y_unc(pyu), tx(ptx), tx_unc(ptxu), ty(pty), ty_unc(ptyu), chiSquaredOverNDF(pchiSquaredOverNDF),
32  pixelTrack_reco_info(ppixelTrack_reco_info), numberOfPointsUsedForFit(pNumberOfPointsUsedForFit), time(pt), time_unc(ptu)
33  {
34  }
float y
vertical hit position and uncertainty, mm
float time
time information and uncertainty, ns
float x
horizontal hit position and uncertainty, mm
CTPPSpixelLocalTrackReconstructionInfo pixelTrack_reco_info
float tx
horizontal angle and uncertainty, x = x0 + tx*(z-z0)
unsigned short numberOfPointsUsedForFit
number of points used for fit
float chiSquaredOverNDF
fit chi^2 over NDF
float ty
vertical angle and uncertainty, y = y0 + ty*(z-z0)

Member Function Documentation

float CTPPSLocalTrackLite::getChiSquaredOverNDF ( ) const
inline

returns the track fit chi Squared over NDF

Definition at line 103 of file CTPPSLocalTrackLite.h.

References chiSquaredOverNDF.

104  {
105  return chiSquaredOverNDF;
106  }
float chiSquaredOverNDF
fit chi^2 over NDF
unsigned short CTPPSLocalTrackLite::getNumberOfPointsUsedForFit ( ) const
inline

returns the number of points used for fit

Definition at line 115 of file CTPPSLocalTrackLite.h.

References numberOfPointsUsedForFit.

116  {
118  }
unsigned short numberOfPointsUsedForFit
number of points used for fit
CTPPSpixelLocalTrackReconstructionInfo CTPPSLocalTrackLite::getPixelTrackRecoInfo ( ) const
inline

returns the track reconstruction info byte

Definition at line 109 of file CTPPSLocalTrackLite.h.

References pixelTrack_reco_info.

110  {
111  return pixelTrack_reco_info;
112  }
CTPPSpixelLocalTrackReconstructionInfo pixelTrack_reco_info
uint32_t CTPPSLocalTrackLite::getRPId ( ) const
inline

returns the RP id

Definition at line 37 of file CTPPSLocalTrackLite.h.

References rpId.

Referenced by CTPPSProtonReconstructionPlotter::CalculateTimingTrackingDistance(), and CTPPSProtonReconstructionPlotter::MultiRPPlots::fill().

38  {
39  return rpId;
40  }
float CTPPSLocalTrackLite::getTime ( void  ) const
inline

returns the track time

Definition at line 67 of file CTPPSLocalTrackLite.h.

References time.

68  {
69  return time;
70  }
float time
time information and uncertainty, ns
float CTPPSLocalTrackLite::getTimeUnc ( ) const
inline

returns the track time uncertainty

Definition at line 73 of file CTPPSLocalTrackLite.h.

References time_unc.

74  {
75  return time_unc;
76  }
float CTPPSLocalTrackLite::getTx ( ) const
inline

returns the track horizontal angle

Definition at line 79 of file CTPPSLocalTrackLite.h.

References tx.

80  {
81  return tx;
82  }
float tx
horizontal angle and uncertainty, x = x0 + tx*(z-z0)
float CTPPSLocalTrackLite::getTxUnc ( ) const
inline

returns the track horizontal angle uncertainty

Definition at line 85 of file CTPPSLocalTrackLite.h.

References tx_unc.

86  {
87  return tx_unc;
88  }
float CTPPSLocalTrackLite::getTy ( ) const
inline

returns the track vertical angle

Definition at line 91 of file CTPPSLocalTrackLite.h.

References ty.

92  {
93  return ty;
94  }
float ty
vertical angle and uncertainty, y = y0 + ty*(z-z0)
float CTPPSLocalTrackLite::getTyUnc ( ) const
inline

returns the track vertical angle uncertainty

Definition at line 97 of file CTPPSLocalTrackLite.h.

References ty_unc.

98  {
99  return ty_unc;
100  }
float CTPPSLocalTrackLite::getX ( ) const
inline

returns the horizontal track position

Definition at line 43 of file CTPPSLocalTrackLite.h.

References x.

Referenced by CTPPSProtonReconstructionPlotter::analyze(), and CTPPSProtonReconstructionPlotter::CalculateTimingTrackingDistance().

44  {
45  return x;
46  }
float x
horizontal hit position and uncertainty, mm
float CTPPSLocalTrackLite::getXUnc ( ) const
inline

returns the horizontal track position uncertainty

Definition at line 49 of file CTPPSLocalTrackLite.h.

References x_unc.

Referenced by CTPPSProtonReconstructionPlotter::CalculateTimingTrackingDistance().

50  {
51  return x_unc;
52  }
float CTPPSLocalTrackLite::getY ( ) const
inline

returns the vertical track position

Definition at line 55 of file CTPPSLocalTrackLite.h.

References y.

Referenced by CTPPSProtonReconstructionPlotter::analyze().

56  {
57  return y;
58  }
float y
vertical hit position and uncertainty, mm
float CTPPSLocalTrackLite::getYUnc ( ) const
inline

returns the vertical track position uncertainty

Definition at line 61 of file CTPPSLocalTrackLite.h.

References y_unc.

62  {
63  return y_unc;
64  }

Member Data Documentation

float CTPPSLocalTrackLite::chiSquaredOverNDF
protected

fit chi^2 over NDF

Definition at line 142 of file CTPPSLocalTrackLite.h.

Referenced by getChiSquaredOverNDF().

unsigned short CTPPSLocalTrackLite::numberOfPointsUsedForFit
protected

number of points used for fit

Definition at line 153 of file CTPPSLocalTrackLite.h.

Referenced by getNumberOfPointsUsedForFit().

CTPPSpixelLocalTrackReconstructionInfo CTPPSLocalTrackLite::pixelTrack_reco_info
protected

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

Definition at line 150 of file CTPPSLocalTrackLite.h.

Referenced by getPixelTrackRecoInfo().

uint32_t CTPPSLocalTrackLite::rpId
protected

RP id.

Definition at line 122 of file CTPPSLocalTrackLite.h.

Referenced by getRPId().

float CTPPSLocalTrackLite::time
protected

time information and uncertainty, ns

Definition at line 156 of file CTPPSLocalTrackLite.h.

Referenced by getTime(), dqm-mbProfile.Profile::to_dict(), and dqm-mbProfile.Profile::update().

float CTPPSLocalTrackLite::time_unc
protected

Definition at line 156 of file CTPPSLocalTrackLite.h.

Referenced by getTimeUnc().

float CTPPSLocalTrackLite::tx
protected

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

Definition at line 136 of file CTPPSLocalTrackLite.h.

Referenced by getTx().

float CTPPSLocalTrackLite::tx_unc
protected

Definition at line 136 of file CTPPSLocalTrackLite.h.

Referenced by getTxUnc().

float CTPPSLocalTrackLite::ty
protected

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

Definition at line 139 of file CTPPSLocalTrackLite.h.

Referenced by getTy().

float CTPPSLocalTrackLite::ty_unc
protected

Definition at line 139 of file CTPPSLocalTrackLite.h.

Referenced by getTyUnc().

float CTPPSLocalTrackLite::x
protected
float CTPPSLocalTrackLite::x_unc
protected

Definition at line 130 of file CTPPSLocalTrackLite.h.

Referenced by getXUnc().

float CTPPSLocalTrackLite::y
protected
float CTPPSLocalTrackLite::y_unc
protected

Definition at line 133 of file CTPPSLocalTrackLite.h.

Referenced by getYUnc().