41 return fabs(theVertex.
position().z() - theLeptonNearVertex.position().z()) /
42 sqrt(
std::pow(theVertex.
zError(), 2) + theLeptonNearVertex.cartesianError().position().czz());
const Point & position() const
position
std::vector< Vertex > VertexCollection
collection of Vertex objects
reco::GsfTrackRef gsfTrack() const override
override the reco::GsfElectron::gsfTrack method, to access the internal storage of the supercluster ...
double zError() const
error on z
reco::TransientTrack build(const reco::Track *p) const
TrajectoryStateClosestToPoint trajectoryStateClosestToPoint(const GlobalPoint &point) const
float calculate(const Electron &anElectron, const reco::VertexCollection &vertices, const TransientTrackBuilder &builder)
reco::TrackRef track() const override
reference to Track reconstructed in the tracker only (reimplemented from reco::Muon) ...
const FreeTrajectoryState & theState() const
static edm::InputTag vertexCollectionTag()