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

Definition at line 8 of file ConvertError.h.

References GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), GlobalErrorBase< T, ErrorWeightType >::czx(), GlobalErrorBase< T, ErrorWeightType >::czy(), GlobalErrorBase< T, ErrorWeightType >::czz(), and relativeConstraints::error.

Referenced by IPTools::absoluteImpactParameter(), dummyPrediction(), PF_PU_AssoMapAlgos::GetCleanedIVF(), PF_PU_AssoMapAlgos::GetCleanedNI(), PF_PU_AssoMapAlgos::GetInputCollections(), TrackIPProducer::produce(), SecondaryVertexProducer::produce(), reco::JetSignalVertexCompatibilityAlgo::trackVertexCompat(), and reco::GhostTrackVertexFinder::vertices().

9  {
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  }
math::Error< dimension >::type Error
covariance error matrix (3x3)
Definition: Vertex.h:43
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:11
reco::Vertex::Point RecoVertex::convertPos ( const GlobalPoint p)
inline
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