test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
,
6
const
ParameterVector
&
parameters
,
7
const
CovarianceMatrix
&
matrix
) :
8
weight_(weight), parameters_(parameters) {
9
float
*
data
(
covariance_
);
10
typedef
unsigned
int
index
;
11
for
( index
i
= 0;
i
<
dimension
; ++
i
)
12
for
( index
j
= 0;
j
<=
i
; ++
j
)
13
*(data++) =
matrix
(
i
,
j
);
14
}
15
16
GsfComponent5D::CovarianceMatrix
&
17
GsfComponent5D::covariance
(
CovarianceMatrix
&
matrix
)
const
{
18
const
float
*
data
(
covariance_
);
19
typedef
unsigned
int
index
;
20
for
( index
i
= 0;
i
<
dimension
; ++
i
)
21
for
( index
j
= 0;
j
<=
i
; ++
j
)
22
matrix
(
i
,
j
) = *(data++);
23
return
matrix
;
24
}
GsfComponent5D.h
reco::GsfComponent5D::CovarianceMatrix
math::Error< dimension >::type CovarianceMatrix
Definition:
GsfComponent5D.h:13
i
int i
Definition:
DBlmapReader.cc:9
makeMuonMisalignmentScenario.matrix
list matrix
Definition:
makeMuonMisalignmentScenario.py:139
reco::GsfComponent5D::covariance
CovarianceMatrix & covariance(CovarianceMatrix &matrix) const
Definition:
GsfComponent5D.cc:17
reco::GsfComponent5D::dimension
Definition:
GsfComponent5D.h:11
reco::GsfComponent5D::GsfComponent5D
GsfComponent5D()
Definition:
GsfComponent5D.h:14
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:107
cmsHarvester.index
string index
Definition:
cmsHarvester.py:4379
reco::GsfComponent5D::covariance_
float covariance_[dimension *(dimension+1)/2]
Definition:
GsfComponent5D.h:25
j
int j
Definition:
DBlmapReader.cc:9
HLT_25ns10e33_v2_cff.parameters
tuple parameters
Definition:
HLT_25ns10e33_v2_cff.py:3864
CovarianceMatrix
Definition:
CovarianceMatrix.h:27
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:82
histoStyle.weight
int weight
Definition:
histoStyle.py:50
reco::GsfComponent5D::ParameterVector
math::Vector< dimension >::type ParameterVector
Definition:
GsfComponent5D.h:12
Generated for CMSSW Reference Manual by
1.8.5