DataFormats
GsfTrackReco
src
GsfComponent5D.cc
Go to the documentation of this file.
1
#include "
DataFormats/GsfTrackReco/interface/GsfComponent5D.h
"
2
3
using namespace
reco
;
4
5
GsfComponent5D::GsfComponent5D
(
const
double
&
weight
,
const
ParameterVector
&
parameters
,
const
CovarianceMatrix
&
matrix
)
6
: weight_(
weight
), parameters_(
parameters
) {
7
float
*
data
(
covariance_
);
8
typedef
unsigned
int
index
;
9
for
(
index
i
= 0;
i
<
dimension
; ++
i
)
10
for
(
index
j
= 0;
j
<=
i
; ++
j
)
11
*(
data
++) =
matrix
(
i
,
j
);
12
}
13
14
GsfComponent5D::CovarianceMatrix
&
GsfComponent5D::covariance
(
CovarianceMatrix
&
matrix
)
const
{
15
const
float
*
data
(
covariance_
);
16
typedef
unsigned
int
index
;
17
for
(
index
i
= 0;
i
<
dimension
; ++
i
)
18
for
(
index
j
= 0;
j
<=
i
; ++
j
)
19
matrix
(
i
,
j
) = *(
data
++);
20
return
matrix
;
21
}
BeamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:30
mps_fire.i
i
Definition:
mps_fire.py:428
makeMuonMisalignmentScenario.matrix
list matrix
Definition:
makeMuonMisalignmentScenario.py:141
CovarianceMatrix
Definition:
CovarianceMatrix.h:28
reco::GsfComponent5D::dimension
Definition:
GsfComponent5D.h:11
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
reco::GsfComponent5D::ParameterVector
math::Vector< dimension >::type ParameterVector
Definition:
GsfComponent5D.h:12
reco::GsfComponent5D::covariance
CovarianceMatrix & covariance(CovarianceMatrix &matrix) const
Definition:
GsfComponent5D.cc:14
reco::GsfComponent5D::CovarianceMatrix
math::Error< dimension >::type CovarianceMatrix
Definition:
GsfComponent5D.h:13
reco::GsfComponent5D::GsfComponent5D
GsfComponent5D()
Definition:
GsfComponent5D.h:14
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
AlignmentPI::index
index
Definition:
AlignmentPayloadInspectorHelper.h:46
reco::GsfComponent5D::covariance_
float covariance_[dimension *(dimension+1)/2]
Definition:
GsfComponent5D.h:23
dqmiolumiharvest.j
j
Definition:
dqmiolumiharvest.py:66
weight
Definition:
weight.py:1
GsfComponent5D.h
Generated for CMSSW Reference Manual by
1.8.16