CMS 3D CMS Logo

TrackExtra.cc
Go to the documentation of this file.
3 
4 using namespace reco;
5 
6 TrackExtra::TrackExtra(const Point &outerPosition,
7  const Vector &outerMomentum,
8  bool ok,
9  const Point &innerPosition,
10  const Vector &innerMomentum,
11  bool iok,
12  const CovarianceMatrix &outerCov,
13  unsigned int outerId,
14  const CovarianceMatrix &innerCov,
15  unsigned int innerId,
16  PropagationDirection seedDir,
18  :
19 
21  outerPosition_(outerPosition),
22  outerMomentum_(outerMomentum),
23  outerOk_(ok),
24  outerDetId_(outerId),
25  innerPosition_(innerPosition),
26  innerMomentum_(innerMomentum),
27  innerOk_(iok),
28  innerDetId_(innerId),
29  seedDir_(seedDir),
30  seedRef_(seedRef) {
31  index idx = 0;
32  for (index i = 0; i < dimension; ++i) {
33  for (index j = 0; j <= i; ++j) {
34  outerCovariance_[idx] = outerCov(i, j);
35  innerCovariance_[idx] = innerCov(i, j);
36  ++idx;
37  }
38  }
39 }
40 
44  return v;
45 }
46 
50  return v;
51 }
52 
55 }
56 
59 }
TrackExtra.h
mps_fire.i
i
Definition: mps_fire.py:428
reco::TrackExtra::fillOuter
CovarianceMatrix & fillOuter(CovarianceMatrix &v) const
fill outermost trajectory state curvilinear errors
Definition: TrackExtra.cc:53
reco::TrackExtra::TrackExtra
TrackExtra()
default constructor
Definition: TrackExtra.h:42
CovarianceMatrix
Definition: CovarianceMatrix.h:28
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
findQualityFiles.v
v
Definition: findQualityFiles.py:179
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
reco::TrackExtra::outerStateCovariance
CovarianceMatrix outerStateCovariance() const
outermost trajectory state curvilinear errors
Definition: TrackExtra.cc:41
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
reco::TrackExtra::dimension
Definition: TrackExtra.h:29
reco::fillCovariance
PerigeeCovarianceMatrix & fillCovariance(PerigeeCovarianceMatrix &v, const float *data)
Definition: fillCovariance.cc:5
Point
Structure Point Contains parameters of Gaussian fits to DMRs.
Definition: DMRtrends.cc:57
reco::TrackExtra::innerStateCovariance
CovarianceMatrix innerStateCovariance() const
innermost trajectory state curvilinear errors
Definition: TrackExtra.cc:47
reco::TrackExtra::fillInner
CovarianceMatrix & fillInner(CovarianceMatrix &v) const
fill outermost trajectory state curvilinear errors
Definition: TrackExtra.cc:57
reco::TrackExtra::CovarianceMatrix
math::Error< 5 >::type CovarianceMatrix
5 parameter covariance matrix
Definition: TrackExtra.h:37
reco::TrackExtra::index
unsigned int index
index type
Definition: TrackExtra.h:39
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
reco::TrackExtra::outerCovariance_
float outerCovariance_[covarianceSize]
outermost trajectory state curvilinear errors
Definition: TrackExtra.h:145
edm::RefToBase< TrajectorySeed >
fillCovariance.h
reco::TrackExtra::Vector
math::XYZVector Vector
spatial vector
Definition: TrackExtra.h:35
reco::TrackExtraBase
Definition: TrackExtraBase.h:22
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66
reco::TrackExtra::innerCovariance_
float innerCovariance_[covarianceSize]
innermost trajectory state
Definition: TrackExtra.h:155