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 19 of file CTPPSLocalTrackLite.h.

Constructor & Destructor Documentation

◆ CTPPSLocalTrackLite() [1/2]

CTPPSLocalTrackLite::CTPPSLocalTrackLite ( )
inline

Definition at line 21 of file CTPPSLocalTrackLite.h.

22  : rp_id_(0),
23  x_(0.),
24  x_unc_(-1.),
25  y_(0.),
26  y_unc_(-1.),
27  tx_(999.),
28  tx_unc_(-1.),
29  ty_(999.),
30  ty_unc_(-1.),
31  chi2_norm_(-1.),
33  num_points_fit_(0),
34  time_(0.),
35  time_unc_(-1.) {}
float tx_unc_
uncertainty on horizontal angle
float ty_unc_
uncertainty on vertical angle
float ty_
vertical angle, y = y0 + ty*(z-z0)
float time_unc_
uncertainty on time information, ns
float time_
time information, ns
float x_
horizontal hit position, mm
unsigned short num_points_fit_
number of points used for fit
CTPPSpixelLocalTrackReconstructionInfo pixel_track_reco_info_
float tx_
horizontal angle, x = x0 + tx*(z-z0)
float y_unc_
uncertainty on vertical hit position, mm
float y_
vertical hit position, mm
float x_unc_
uncertainty on horizontal hit position, mm

◆ 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 37 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) {}
float tx_unc_
uncertainty on horizontal angle
float ty_unc_
uncertainty on vertical angle
float ty_
vertical angle, y = y0 + ty*(z-z0)
float time_unc_
uncertainty on time information, ns
float time_
time information, ns
float x_
horizontal hit position, mm
unsigned short num_points_fit_
number of points used for fit
CTPPSpixelLocalTrackReconstructionInfo pixel_track_reco_info_
float tx_
horizontal angle, x = x0 + tx*(z-z0)
float y_unc_
uncertainty on vertical hit position, mm
float y_
vertical hit position, mm
float x_unc_
uncertainty on horizontal hit position, mm

Member Function Documentation

◆ chiSquaredOverNDF()

float CTPPSLocalTrackLite::chiSquaredOverNDF ( ) const
inline

returns the track fit chi Squared over NDF

Definition at line 100 of file CTPPSLocalTrackLite.h.

References chi2_norm_.

Referenced by PPSFilteredProtonProducer::IsTrackOK().

100 { return chi2_norm_; }

◆ numberOfPointsUsedForFit()

unsigned short CTPPSLocalTrackLite::numberOfPointsUsedForFit ( ) const
inline

returns the number of points used for fit

Definition at line 106 of file CTPPSLocalTrackLite.h.

References num_points_fit_.

Referenced by PPSFilteredProtonProducer::IsTrackOK().

106 { return num_points_fit_; }
unsigned short num_points_fit_
number of points used for fit

◆ pixelTrackRecoInfo()

CTPPSpixelLocalTrackReconstructionInfo CTPPSLocalTrackLite::pixelTrackRecoInfo ( ) const
inline

returns the track reconstruction info byte

Definition at line 103 of file CTPPSLocalTrackLite.h.

References pixel_track_reco_info_.

Referenced by PPSFilteredProtonProducer::IsTrackOK().

103 { return pixel_track_reco_info_; }
CTPPSpixelLocalTrackReconstructionInfo pixel_track_reco_info_

◆ rpId()

uint32_t CTPPSLocalTrackLite::rpId ( ) const
inline

returns the RP id

Definition at line 67 of file CTPPSLocalTrackLite.h.

References rp_id_.

Referenced by CTPPSProtonReconstructionPlotter::CalculateTimingTrackingDistance(), and PPSFilteredProtonProducer::IsTrackOK().

67 { return rp_id_; }

◆ time()

float CTPPSLocalTrackLite::time ( ) const
inline

returns the track time

Definition at line 82 of file CTPPSLocalTrackLite.h.

References time_.

82 { return time_; }
float time_
time information, ns

◆ timeUnc()

float CTPPSLocalTrackLite::timeUnc ( ) const
inline

returns the track time uncertainty

Definition at line 85 of file CTPPSLocalTrackLite.h.

References time_unc_.

85 { return time_unc_; }
float time_unc_
uncertainty on time information, ns

◆ tx()

float CTPPSLocalTrackLite::tx ( ) const
inline

returns the track horizontal angle

Definition at line 88 of file CTPPSLocalTrackLite.h.

References tx_.

Referenced by PPSFilteredProtonProducer::IsTrackOK().

88 { return tx_; }
float tx_
horizontal angle, x = x0 + tx*(z-z0)

◆ txUnc()

float CTPPSLocalTrackLite::txUnc ( ) const
inline

returns the track horizontal angle uncertainty

Definition at line 91 of file CTPPSLocalTrackLite.h.

References tx_unc_.

91 { return tx_unc_; }
float tx_unc_
uncertainty on horizontal angle

◆ ty()

float CTPPSLocalTrackLite::ty ( ) const
inline

returns the track vertical angle

Definition at line 94 of file CTPPSLocalTrackLite.h.

References ty_.

Referenced by PPSFilteredProtonProducer::IsTrackOK().

94 { return ty_; }
float ty_
vertical angle, y = y0 + ty*(z-z0)

◆ tyUnc()

float CTPPSLocalTrackLite::tyUnc ( ) const
inline

returns the track vertical angle uncertainty

Definition at line 97 of file CTPPSLocalTrackLite.h.

References ty_unc_.

97 { return ty_unc_; }
float ty_unc_
uncertainty on vertical angle

◆ x()

float CTPPSLocalTrackLite::x ( ) const
inline

◆ xUnc()

float CTPPSLocalTrackLite::xUnc ( ) const
inline

returns the horizontal track position uncertainty

Definition at line 73 of file CTPPSLocalTrackLite.h.

References x_unc_.

Referenced by CTPPSProtonReconstructionPlotter::CalculateTimingTrackingDistance().

73 { return x_unc_; }
float x_unc_
uncertainty on horizontal hit position, mm

◆ y()

float CTPPSLocalTrackLite::y ( ) const
inline

returns the vertical track position

Definition at line 76 of file CTPPSLocalTrackLite.h.

References y_.

Referenced by svgfig.Ellipse::__repr__(), CTPPSProtonReconstructionPlotter::analyze(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().

76 { return y_; }
float y_
vertical hit position, mm

◆ yUnc()

float CTPPSLocalTrackLite::yUnc ( ) const
inline

returns the vertical track position uncertainty

Definition at line 79 of file CTPPSLocalTrackLite.h.

References y_unc_.

79 { return y_unc_; }
float y_unc_
uncertainty on vertical hit position, mm

Member Data Documentation

◆ chi2_norm_

float CTPPSLocalTrackLite::chi2_norm_
protected

fit $\chi^2$/NDF

Definition at line 134 of file CTPPSLocalTrackLite.h.

Referenced by chiSquaredOverNDF().

◆ num_points_fit_

unsigned short CTPPSLocalTrackLite::num_points_fit_
protected

number of points used for fit

Definition at line 145 of file CTPPSLocalTrackLite.h.

Referenced by numberOfPointsUsedForFit().

◆ 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 142 of file CTPPSLocalTrackLite.h.

Referenced by pixelTrackRecoInfo().

◆ rp_id_

uint32_t CTPPSLocalTrackLite::rp_id_
protected

RP id.

Definition at line 110 of file CTPPSLocalTrackLite.h.

Referenced by rpId().

◆ time_

float CTPPSLocalTrackLite::time_
protected

time information, ns

Definition at line 148 of file CTPPSLocalTrackLite.h.

Referenced by time().

◆ time_unc_

float CTPPSLocalTrackLite::time_unc_
protected

uncertainty on time information, ns

Definition at line 150 of file CTPPSLocalTrackLite.h.

Referenced by timeUnc().

◆ tx_

float CTPPSLocalTrackLite::tx_
protected

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

Definition at line 126 of file CTPPSLocalTrackLite.h.

Referenced by tx().

◆ tx_unc_

float CTPPSLocalTrackLite::tx_unc_
protected

uncertainty on horizontal angle

Definition at line 128 of file CTPPSLocalTrackLite.h.

Referenced by txUnc().

◆ ty_

float CTPPSLocalTrackLite::ty_
protected

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

Definition at line 130 of file CTPPSLocalTrackLite.h.

Referenced by ty().

◆ ty_unc_

float CTPPSLocalTrackLite::ty_unc_
protected

uncertainty on vertical angle

Definition at line 132 of file CTPPSLocalTrackLite.h.

Referenced by tyUnc().

◆ 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 118 of file CTPPSLocalTrackLite.h.

Referenced by x().

◆ x_unc_

float CTPPSLocalTrackLite::x_unc_
protected

uncertainty on horizontal hit position, mm

Definition at line 120 of file CTPPSLocalTrackLite.h.

Referenced by xUnc().

◆ y_

float CTPPSLocalTrackLite::y_
protected

vertical hit position, mm

Definition at line 122 of file CTPPSLocalTrackLite.h.

Referenced by y().

◆ y_unc_

float CTPPSLocalTrackLite::y_unc_
protected

uncertainty on vertical hit position, mm

Definition at line 124 of file CTPPSLocalTrackLite.h.

Referenced by yUnc().