reco::tau::RecoTauImpactParameterSignificancePlugin::RecoTauImpactParameterSignificancePlugin |
( |
const edm::ParameterSet & |
pset | ) |
|
|
explicit |
virtual reco::tau::RecoTauImpactParameterSignificancePlugin::~RecoTauImpactParameterSignificancePlugin |
( |
| ) |
|
|
inlinevirtual |
void reco::tau::RecoTauImpactParameterSignificancePlugin::beginEvent |
( |
| ) |
|
|
virtual |
void reco::tau::RecoTauImpactParameterSignificancePlugin::operator() |
( |
PFTau & |
tau | ) |
const |
|
virtual |
Implements reco::tau::RecoTauModifierPlugin.
Definition at line 55 of file RecoTauImpactParameterSignificancePlugin.cc.
References reco::tau::RecoTauVertexAssociator::associatedVertex(), TransientTrackBuilder::build(), builder_, edm::Ref< C, T, F >::isNonnull(), reco::PFTau::jetRef(), reco::PFTau::leadPFChargedHadrCand(), singlePfTauSkim_cff::leadTrack, reco::PFTau::setleadPFChargedHadrCandsignedSipt(), IPTools::signedImpactParameter3D(), and vertexAssociator_.
57 if (
tau.leadPFChargedHadrCand().isNonnull()) {
59 if (leadTrack.isNonnull()) {
65 std::pair<bool,Measurement1D> ipsig =
68 tau.setleadPFChargedHadrCandsignedSipt(ipsig.second.significance());
reco::VertexRef associatedVertex(const PFJet &tau) const
const TransientTrackBuilder * builder_
reco::TransientTrack build(const reco::Track *p) const
edm::Ref< VertexCollection > VertexRef
persistent reference to a Vertex
edm::Ref< TrackCollection > TrackRef
persistent reference to a Track
RecoTauVertexAssociator vertexAssociator_