CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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::GetCleanedKshort(), PF_PU_AssoMapAlgos::GetCleanedLambda(), PF_PU_AssoMapAlgos::GetCleanedNI(), TemplatedVertexMerger< VTX >::produce(), VertexTableProducer::produce(), BJetEnergyRegressionVarProducer< T >::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), IPProducer< Container, Base, Helper >::produce(), TrackVertexArbitration< VTX >::trackVertexArbitrator(), reco::JetSignalVertexCompatibilityAlgo::trackVertexCompat(), and reco::GhostTrackVertexFinder::vertices().

8  {
10  error(0, 0) = ge.cxx();
11  error(0, 1) = ge.cyx();
12  error(0, 2) = ge.czx();
13  error(1, 1) = ge.cyy();
14  error(1, 2) = ge.czy();
15  error(2, 2) = ge.czz();
16  return error;
17  }
math::Error< dimension >::type Error
covariance error matrix (3x3)
Definition: Vertex.h:44
GlobalError RecoVertex::convertError ( const reco::Vertex::Error error)
inline

Definition at line 19 of file ConvertError.h.

References relativeConstraints::error.

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

Definition at line 15 of file ConvertToFromReco.h.

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