CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CTPPSPixelLocalTrack.cc
Go to the documentation of this file.
1 /*
2  *
3 * This is a part of CTPPS offline software.
4 * Author:
5 * Fabrizio Ferro (ferro@ge.infn.it)
6 * Enrico Robutti (robutti@ge.infn.it)
7 * Fabio Ravera (fabio.ravera@cern.ch)
8 *
9 */
10 
12 
13 //----------------------------------------------------------------------------------------------------
14 
17  h(0, 0) = 1;
18  h(1, 1) = 1;
19  h(0, 2) = z - z0_;
20  h(1, 3) = z - z0_;
21 
22  return ROOT::Math::Similarity(h, par_covariance_matrix_);
23 }
24 
25 //----------------------------------------------------------------------------------------------------
26 
28  const ParameterVector &track_params_vector,
29  const CovarianceMatrix &par_covariance_matrix,
30  float chiSquared)
31  : track_params_vector_(track_params_vector),
32  z0_(z0),
33  par_covariance_matrix_(par_covariance_matrix),
34  chiSquared_(chiSquared),
35  valid_(true),
36  numberOfPointsUsedForFit_(0),
37  recoInfo_(CTPPSpixelLocalTrackReconstructionInfo::invalid) {}
38 
40  if (z0_ < r.z0_)
41  return true;
42  if (z0_ > r.z0_)
43  return false;
44 
45  for (int i = 0; i < CTPPSPixelLocalTrack::dimension; ++i) {
47  return true;
49  return false;
50  }
51 
52  return false;
53 }
AlgebraicSymMatrix22 trackPointInterpolationCovariance(float z) const
bool operator<(const CTPPSPixelLocalTrack &r)
static constexpr int dimension
ParameterVector track_params_vector_
track parameters: (x0, y0, tx, ty); x = x0 + tx*(z-z0) ...
CTPPSpixelLocalTrackReconstructionInfo
static const uint16_t valid_
Definition: Constants.h:17
float float float z
ROOT::Math::SMatrix< double, N, M > type
Definition: Matrix.h:9
math::Vector< dimension >::type ParameterVector
covariance matrix size
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
CovarianceMatrix par_covariance_matrix_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4