Functions | |
static GlobalError | convertError (const reco::Vertex::Error &error) |
static reco::Vertex::Error | convertError (const GlobalError &ge) |
static GlobalPoint | convertPos (const reco::Vertex::Point &p) |
static reco::Vertex::Point | convertPos (const GlobalPoint &p) |
static GlobalError RecoVertex::convertError | ( | const reco::Vertex::Error & | error | ) | [static] |
Definition at line 19 of file ConvertError.h.
References error.
00020 { return GlobalError(error(0,0), error(0,1), error(1,1), error(0,2), error(1,2), error(2,2)); }
static reco::Vertex::Error RecoVertex::convertError | ( | const GlobalError & | ge | ) | [static] |
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 error.
Referenced by VertexDistance::compatibility(), VertexDistance::distance(), VertexCompatibleWithBeam::distanceToBeam(), KalmanVertexTrackCompatibilityEstimator< N >::estimate(), GsfVertexTrackCompatibilityEstimator::estimate(), TransientVertex::operator reco::Vertex(), and VertexCompatibleWithBeam::operator()().
00009 { 00010 reco::Vertex::Error error; 00011 error(0,0) = ge.cxx(); 00012 error(0,1) = ge.cyx(); 00013 error(0,2) = ge.czx(); 00014 error(1,1) = ge.cyy(); 00015 error(1,2) = ge.czy(); 00016 error(2,2) = ge.czz(); 00017 return error; 00018 }
static GlobalPoint RecoVertex::convertPos | ( | const reco::Vertex::Point & | p | ) | [static] |
Definition at line 15 of file ConvertToFromReco.h.
00016 { return GlobalPoint(p.x(), p.y(), p.z()); }
static reco::Vertex::Point RecoVertex::convertPos | ( | const GlobalPoint & | p | ) | [static] |
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 SecondaryVertexProducer::produce().
00008 { 00009 reco::Vertex::Point pos; 00010 pos.SetX(p.x()); 00011 pos.SetY(p.y()); 00012 pos.SetZ(p.z()); 00013 return pos; 00014 }