Definition at line 42 of file RecoTauImpactParameterSignificancePlugin.cc.
T getParameter(std::string const &) const
RecoTauModifierPlugin(const edm::ParameterSet &pset, edm::ConsumesCollector &&iC)
RecoTauVertexAssociator vertexAssociator_
virtual reco::tau::RecoTauImpactParameterSignificancePlugin::~RecoTauImpactParameterSignificancePlugin |
( |
| ) |
|
|
inlinevirtual |
void reco::tau::RecoTauImpactParameterSignificancePlugin::beginEvent |
( |
| ) |
|
|
overridevirtual |
void reco::tau::RecoTauImpactParameterSignificancePlugin::operator() |
( |
PFTau & |
tau | ) |
const |
|
overridevirtual |
Implements reco::tau::RecoTauModifierPlugin.
Definition at line 55 of file RecoTauImpactParameterSignificancePlugin.cc.
References reco::tau::RecoTauVertexAssociator::associatedVertex(), TransientTrackBuilder::build(), builder_, edm::Ptr< T >::isNonnull(), 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());
const TransientTrackBuilder * builder_
reco::VertexRef associatedVertex(const PFJet &jet) const
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_