Main Page
Namespaces
Classes
Package Documentation
RecoVertex
VertexPrimitives
interface
ConvertError.h
Go to the documentation of this file.
1
#ifndef RecoVertex_ConvertError_h
2
#define RecoVertex_ConvertError_h
3
#include "
DataFormats/GeometryCommonDetAlgo/interface/GlobalError.h
"
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include "
DataFormats/VertexReco/interface/Vertex.h
"
6
7
namespace
RecoVertex
{
8
inline
reco::Vertex::Error
convertError
(
const
GlobalError
& ge)
9
{
10
reco::Vertex::Error
error
;
11
error
(0,0) = ge.
cxx
();
12
error
(0,1) = ge.
cyx
();
13
error
(0,2) = ge.
czx
();
14
error
(1,1) = ge.
cyy
();
15
error
(1,2) = ge.
czy
();
16
error
(2,2) = ge.
czz
();
17
return
error
;
18
}
19
20
inline
GlobalError
convertError
(
const
reco::Vertex::Error
&
error
)
21
{
return
GlobalError
(
error
(0,0),
error
(0,1),
error
(1,1),
error
(0,2),
error
(1,2),
error
(2,2)); }
22
}
23
24
#endif
RecoVertex
Definition:
ConvertError.h:7
relativeConstraints.error
error
Definition:
relativeConstraints.py:53
GlobalError.h
GlobalErrorBase::cxx
T cxx() const
Definition:
GlobalErrorBase.h:103
RecoVertex::convertError
reco::Vertex::Error convertError(const GlobalError &ge)
Definition:
ConvertError.h:8
reco::Vertex::Error
math::Error< dimension >::type Error
covariance error matrix (3x3)
Definition:
Vertex.h:43
GlobalErrorBase::czx
T czx() const
Definition:
GlobalErrorBase.h:115
GlobalError
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition:
GlobalError.h:13
GlobalErrorBase::cyy
T cyy() const
Definition:
GlobalErrorBase.h:111
Vertex.h
GlobalErrorBase::cyx
T cyx() const
Definition:
GlobalErrorBase.h:107
GlobalErrorBase< double, ErrorMatrixTag >
GlobalErrorBase::czz
T czz() const
Definition:
GlobalErrorBase.h:123
GlobalErrorBase::czy
T czy() const
Definition:
GlobalErrorBase.h:119
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.11