Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
reco::btag::Vertices::RecoVertex
Definition:
VertexTypes.h:18
GlobalError.h
GlobalErrorBase::cxx
T cxx() const
Definition:
GlobalErrorBase.h:78
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:44
GlobalErrorBase::czx
T czx() const
Definition:
GlobalErrorBase.h:90
GlobalError
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition:
GlobalError.h:11
GlobalErrorBase::cyy
T cyy() const
Definition:
GlobalErrorBase.h:86
Vertex.h
GlobalErrorBase::cyx
T cyx() const
Definition:
GlobalErrorBase.h:82
GlobalErrorBase< double, ErrorMatrixTag >
GlobalErrorBase::czz
T czz() const
Definition:
GlobalErrorBase.h:98
GlobalErrorBase::czy
T czy() const
Definition:
GlobalErrorBase.h:94
error
Definition:
MessageDispatcher.h:11
GlobalPoint.h
Generated for CMSSW Reference Manual by
1.8.5