CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
RecoVertex Namespace Reference

Functions

reco::Vertex::Error convertError (const GlobalError &ge)
 
GlobalError convertError (const reco::Vertex::Error &error)
 
reco::Vertex::Point convertPos (const GlobalPoint &p)
 
GlobalPoint convertPos (const reco::Vertex::Point &p)
 

Function Documentation

reco::Vertex::Error RecoVertex::convertError ( const GlobalError ge)
inline
GlobalError RecoVertex::convertError ( const reco::Vertex::Error error)
inline

Definition at line 20 of file ConvertError.h.

References relativeConstraints::error.

21  { return GlobalError(error(0,0), error(0,1), error(1,1), error(0,2), error(1,2), error(2,2)); }
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition: GlobalError.h:12
reco::Vertex::Point RecoVertex::convertPos ( const GlobalPoint p)
inline

Definition at line 7 of file ConvertToFromReco.h.

References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by TemplatedVertexMerger< VTX >::produce(), and reco::JetSignalVertexCompatibilityAlgo::trackVertexCompat().

8  {
10  pos.SetX(p.x());
11  pos.SetY(p.y());
12  pos.SetZ(p.z());
13  return pos;
14  }
T y() const
Definition: PV3DBase.h:63
T z() const
Definition: PV3DBase.h:64
math::XYZPoint Point
point in the space
Definition: Vertex.h:39
T x() const
Definition: PV3DBase.h:62
GlobalPoint RecoVertex::convertPos ( const reco::Vertex::Point p)
inline

Definition at line 16 of file ConvertToFromReco.h.

17  { return GlobalPoint(p.x(), p.y(), p.z()); }
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10