Go to the documentation of this file.
45 if (vertexHandle.
product()->empty())
52 return fabs(theVertex.
position().z() - theLeptonNearVertex.position().z()) /
53 sqrt(
std::pow(theVertex.
zError(), 2) + theLeptonNearVertex.cartesianError().position().czz());
T const * product() const
T const * product() const
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
~LeptonVertexSignificance()
reco::GsfTrackRef gsfTrack() const override
override the reco::GsfElectron::gsfTrack method, to access the internal storage of the supercluster
const Point & position() const
position
TransientTrackBuilder * theTrackBuilder_
double zError() const
error on z
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const
reco::TrackRef track() const override
reference to Track reconstructed in the tracker only (reimplemented from reco::Muon)
LeptonVertexSignificance()
float calculate(const Electron &anElectron, const edm::Event &iEvent)
std::vector< Vertex > VertexCollection
reco::TransientTrack build(const reco::Track *p) const
Power< A, B >::type pow(const A &a, const B &b)
const FreeTrajectoryState & theState() const