Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
9
reco::Vertex::Point
pos
;
10
pos.SetX(p.
x
());
11
pos.SetY(p.
y
());
12
pos.SetZ(p.
z
());
13
return
pos
;
14
}
15
16
inline
GlobalPoint
convertPos
(
const
reco::Vertex::Point
&
p
)
17
{
return
GlobalPoint
(p.x(), p.y(), p.z()); }
18
}
19
20
#endif
RecoVertex::convertPos
reco::Vertex::Point convertPos(const GlobalPoint &p)
Definition:
ConvertToFromReco.h:7
pos
Definition:
Histograms.cc:19
reco::btag::Vertices::RecoVertex
Definition:
VertexTypes.h:18
GlobalPoint
Global3DPoint GlobalPoint
Definition:
GlobalPoint.h:10
PV3DBase::y
T y() const
Definition:
PV3DBase.h:62
PV3DBase::z
T z() const
Definition:
PV3DBase.h:63
reco::Vertex::Point
math::XYZPoint Point
point in the space
Definition:
Vertex.h:40
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
Point3DBase< float, GlobalTag >
ConvertError.h
PV3DBase::x
T x() const
Definition:
PV3DBase.h:61
Generated for CMSSW Reference Manual by
1.8.5