Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
TrackReco
src
TrackExtra.cc
Go to the documentation of this file.
1
#include "
DataFormats/TrackReco/interface/TrackExtra.h
"
2
#include "
DataFormats/TrackReco/interface/fillCovariance.h
"
3
using namespace
reco
;
4
5
TrackExtra::TrackExtra
(
const
Point
& outerPosition,
const
Vector
& outerMomentum,
bool
ok
,
6
const
Point
& innerPosition,
const
Vector
& innerMomentum,
bool
iok,
7
const
CovarianceMatrix
& outerCov,
unsigned
int
outerId,
8
const
CovarianceMatrix
& innerCov,
unsigned
int
innerId,
9
PropagationDirection
seedDir,
10
edm::RefToBase<TrajectorySeed>
seedRef):
11
TrackExtraBase
(),
12
outerPosition_( outerPosition ), outerMomentum_( outerMomentum ), outerOk_( ok ),
13
outerDetId_( outerId ),
14
innerPosition_( innerPosition ), innerMomentum_( innerMomentum ), innerOk_( iok ),
15
innerDetId_( innerId ), seedDir_(seedDir), seedRef_(seedRef) {
16
index
idx
= 0;
17
for
(
index
i
= 0;
i
<
dimension
; ++
i
) {
18
for
(
index
j
= 0;
j
<=
i
; ++
j
) {
19
outerCovariance_
[
idx
] = outerCov(
i
,
j
);
20
innerCovariance_
[
idx
] = innerCov(
i
,
j
);
21
++
idx
;
22
}
23
}
24
}
25
26
TrackExtra::CovarianceMatrix
TrackExtra::outerStateCovariance
()
const
{
27
CovarianceMatrix
v
;
fillCovariance
( v,
outerCovariance_
);
return
v
;
28
}
29
30
TrackExtra::CovarianceMatrix
TrackExtra::innerStateCovariance
()
const
{
31
CovarianceMatrix
v
;
fillCovariance
( v,
innerCovariance_
);
return
v
;
32
}
33
34
TrackExtra::CovarianceMatrix
&
TrackExtra::fillOuter
(
CovarianceMatrix
&
v
)
const
{
35
return
fillCovariance
( v,
outerCovariance_
);
36
}
37
38
TrackExtra::CovarianceMatrix
&
TrackExtra::fillInner
(
CovarianceMatrix
&
v
)
const
{
39
return
fillCovariance
( v,
innerCovariance_
);
40
}
41
i
int i
Definition:
DBlmapReader.cc:9
reco::TrackExtra::Vector
math::XYZVector Vector
spatial vector
Definition:
TrackExtra.h:34
reco::TrackExtra::CovarianceMatrix
math::Error< 5 >::type CovarianceMatrix
5 parameter covariance matrix
Definition:
TrackExtra.h:36
edm::RefToBase< TrajectorySeed >
PropagationDirection
PropagationDirection
Definition:
PropagationDirection.h:4
findQualityFiles.v
v
Definition:
findQualityFiles.py:177
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
reco::TrackExtra::outerCovariance_
float outerCovariance_[covarianceSize]
outermost trajectory state curvilinear errors
Definition:
TrackExtra.h:145
reco::TrackExtra::Point
math::XYZPoint Point
point in the space
Definition:
TrackExtra.h:32
reco::TrackExtraBase
Definition:
TrackExtraBase.h:18
fillCovariance.h
reco::fillCovariance
PerigeeCovarianceMatrix & fillCovariance(PerigeeCovarianceMatrix &v, const float *data)
Definition:
fillCovariance.cc:4
reco::TrackExtra::outerStateCovariance
CovarianceMatrix outerStateCovariance() const
outermost trajectory state curvilinear errors
Definition:
TrackExtra.cc:26
j
int j
Definition:
DBlmapReader.cc:9
reco::TrackExtra::index
unsigned int index
index type
Definition:
TrackExtra.h:38
CovarianceMatrix
Definition:
CovarianceMatrix.h:27
reco::TrackExtra::fillInner
CovarianceMatrix & fillInner(CovarianceMatrix &v) const
fill outermost trajectory state curvilinear errors
Definition:
TrackExtra.cc:38
reco::TrackExtra::TrackExtra
TrackExtra()
default constructor
Definition:
TrackExtra.h:41
TrackExtra.h
customizeTrackingMonitorSeedNumber.idx
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
Definition:
customizeTrackingMonitorSeedNumber.py:15
reco::TrackExtra::dimension
Definition:
TrackExtra.h:28
reco::TrackExtra::innerStateCovariance
CovarianceMatrix innerStateCovariance() const
innermost trajectory state curvilinear errors
Definition:
TrackExtra.cc:30
reco::TrackExtra::innerCovariance_
float innerCovariance_[covarianceSize]
innermost trajectory state
Definition:
TrackExtra.h:156
convertSQLiteXML.ok
ok
Definition:
convertSQLiteXML.py:97
reco::TrackExtra::fillOuter
CovarianceMatrix & fillOuter(CovarianceMatrix &v) const
fill outermost trajectory state curvilinear errors
Definition:
TrackExtra.cc:34
Generated for CMSSW Reference Manual by
1.8.5