src
RecoVertex
VertexPrimitives
interface
ConvertToFromReco.h
Go to the documentation of this file.
1
#ifndef RecoVertex_ConvertToFromReco_h
2
#define RecoVertex_ConvertToFromReco_h
3
4
#include "
RecoVertex/VertexPrimitives/interface/ConvertError.h
"
5
6
namespace
RecoVertex
{
7
inline
reco::Vertex::Point
convertPos
(
const
GlobalPoint
&
p
) {
8
reco::Vertex::Point
pos
;
9
pos
.SetX(
p
.x());
10
pos
.SetY(
p
.y());
11
pos
.SetZ(
p
.z());
12
return
pos
;
13
}
14
15
inline
GlobalPoint
convertPos
(
const
reco::Vertex::Point
&
p
) {
return
GlobalPoint
(
p
.x(),
p
.y(),
p
.z()); }
16
}
// namespace RecoVertex
17
18
#endif
RecoVertex::convertPos
reco::Vertex::Point convertPos(const GlobalPoint &p)
Definition:
ConvertToFromReco.h:7
RecoVertex
Definition:
ConvertError.h:7
GlobalPoint
Global3DPoint GlobalPoint
Definition:
GlobalPoint.h:10
reco::Vertex::Point
math::XYZPoint Point
point in the space
Definition:
Vertex.h:40
pos
Definition:
PixelCalibBase.h:13
Point3DBase< float, GlobalTag >
ConvertError.h
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14