#include <HPSPFRecoTauAlgorithm.h>
Classes | |
class | HPSTauIsolationSorter |
class | HPSTauPtSorter |
Public Member Functions | |
reco::PFTau | buildPFTau (const reco::PFTauTagInfoRef &, const reco::Vertex &) override |
HPSPFRecoTauAlgorithm () | |
HPSPFRecoTauAlgorithm (const edm::ParameterSet &) | |
~HPSPFRecoTauAlgorithm () override | |
Public Member Functions inherited from PFRecoTauAlgorithmBase | |
PFRecoTauAlgorithmBase () | |
PFRecoTauAlgorithmBase (const edm::ParameterSet &) | |
void | setTransientTrackBuilder (const TransientTrackBuilder *) |
virtual | ~PFRecoTauAlgorithmBase () |
Private Attributes | |
PFCandidateMergerBase * | candidateMerger_ |
double | chargeIsolationCone_ |
std::string | coneMetric_ |
TFormula | coneSizeFormula |
std::string | coneSizeFormula_ |
bool | doOneProngs_ |
bool | doOneProngStrips_ |
bool | doOneProngTwoStrips_ |
bool | doThreeProngs_ |
std::string | emMerger_ |
double | gammaIsolationCone_ |
double | leadPionThreshold_ |
double | matchingCone_ |
double | maxSignalCone_ |
double | minSignalCone_ |
double | neutrHadrIsolationCone_ |
std::vector< double > | oneProngStripMassWindow_ |
std::vector< double > | oneProngTwoStripsMassWindow_ |
std::vector< double > | oneProngTwoStripsPi0MassWindow_ |
std::string | overlapCriterion_ |
reco::PFTauCollection | pfTaus_ |
double | stripPtThreshold_ |
double | tauThreshold_ |
std::vector< double > | threeProngMassWindow_ |
bool | useIsolationAnnulus_ |
Additional Inherited Members | |
Protected Attributes inherited from PFRecoTauAlgorithmBase | |
const TransientTrackBuilder * | TransientTrackBuilder_ |
Definition at line 25 of file HPSPFRecoTauAlgorithm.h.
HPSPFRecoTauAlgorithm::HPSPFRecoTauAlgorithm | ( | ) |
Definition at line 6 of file HPSPFRecoTauAlgorithm.cc.
HPSPFRecoTauAlgorithm::HPSPFRecoTauAlgorithm | ( | const edm::ParameterSet & | config | ) |
Definition at line 11 of file HPSPFRecoTauAlgorithm.cc.
References configure().
|
override |
Definition at line 17 of file HPSPFRecoTauAlgorithm.cc.
References candidateMerger_.
|
private |
Definition at line 595 of file HPSPFRecoTauAlgorithm.cc.
References funct::abs(), reco::PFCandidate::ecalEnergy(), reco::PFCandidate::hcalEnergy(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), reco::PFCandidate::mva_e_pi(), reco::LeafCandidate::pdgId(), reco::PFCandidate::positionAtECALEntrance(), reco::PFTau::setbremsRecoveryEOverPLead(), reco::PFTau::setecalStripSumEOverPLead(), reco::PFTau::setelectronPreIDDecision(), reco::PFTau::setelectronPreIDOutput(), reco::PFTau::setelectronPreIDTrack(), reco::PFTau::setemFraction(), reco::PFTau::sethcal3x3OverPLead(), reco::PFTau::sethcalMaxOverPLead(), reco::PFTau::sethcalTotOverPLead(), reco::PFTau::setmaximumHCALPFClusterEt(), funct::sin(), HiIsolationCommonParameters_cff::track, and reco::PFCandidate::trackRef().
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), and buildThreeProngs().
|
private |
Definition at line 710 of file HPSPFRecoTauAlgorithm.cc.
References ResonanceBuilder::mass, and mathSSE::sqrt().
Referenced by buildOneProngStrip(), and buildOneProngTwoStrips().
|
private |
Definition at line 563 of file HPSPFRecoTauAlgorithm.cc.
References objects.autophobj::float, edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), RPCpg::mu, reco::PFCandidate::muonRef(), reco::PFTau::setCaloComp(), reco::PFTau::setMuonDecision(), and reco::PFTau::setSegComp().
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), and buildThreeProngs().
|
private |
Definition at line 454 of file HPSPFRecoTauAlgorithm.cc.
References chargeIsolationCone_, reco::deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), gammaIsolationCone_, mps_fire::i, edm::Ref< C, T, F >::isNull(), neutrHadrIsolationCone_, reco::PFTau::pfTauTagInfoRef(), reco::LeafCandidate::phi(), removeCandidateFromRefVector(), reco::PFTau::setisolationCands(), reco::PFTau::setisolationChargedHadrCands(), reco::PFTau::setisolationGammaCands(), reco::PFTau::setisolationNeutrHadrCands(), reco::PFTau::setisolationPFChargedHadrCandsPtSum(), reco::PFTau::setisolationPFGammaCandsEtSum(), reco::PFTau::signalChargedHadrCands(), reco::PFTau::signalGammaCands(), and useIsolationAnnulus_.
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), and buildThreeProngs().
|
private |
Definition at line 88 of file HPSPFRecoTauAlgorithm.cc.
References applyElectronRejection(), applyMuonRejection(), associateIsolationCandidates(), reco::Candidate::charge(), HiRegitMuonDetachedTripletStep_cff::DeltaR, getBestTauCandidate(), h, leadPionThreshold_, matchingCone_, reco::Candidate::p4(), RecoPFTauTag_cff::PFTau, pfTaus_, reco::Candidate::pt(), reco::PFTau::setleadCand(), reco::PFTau::setleadChargedHadrCand(), reco::PFTau::setpfTauTagInfoRef(), reco::PFTau::setsignalCands(), reco::PFTau::setsignalChargedHadrCands(), metsig::tau, nano_cff::taus, tauThreshold_, and reco::Candidate::vertex().
Referenced by buildPFTau().
|
private |
Definition at line 138 of file HPSPFRecoTauAlgorithm.cc.
References applyElectronRejection(), applyMassConstraint(), applyMuonRejection(), associateIsolationCandidates(), coneMetric_, createMergedLorentzVector(), HiRegitMuonDetachedTripletStep_cff::DeltaR, getBestTauCandidate(), isNarrowTau(), matchingCone_, SiStripPI::max, oneProngStripMassWindow_, pfTaus_, removeCandidateFromRefVector(), digitizers_cfi::strip, stripPtThreshold_, RecoTauPiZeroBuilderPlugins_cfi::strips, metsig::tau, nano_cff::taus, and tauThreshold_.
Referenced by buildPFTau().
|
private |
Definition at line 234 of file HPSPFRecoTauAlgorithm.cc.
References applyElectronRejection(), applyMassConstraint(), applyMuonRejection(), associateIsolationCandidates(), coneMetric_, createMergedLorentzVector(), HiRegitMuonDetachedTripletStep_cff::DeltaR, getBestTauCandidate(), isNarrowTau(), matchingCone_, SiStripPI::max, oneProngTwoStripsMassWindow_, oneProngTwoStripsPi0MassWindow_, pfTaus_, removeCandidateFromRefVector(), stripPtThreshold_, RecoTauPiZeroBuilderPlugins_cfi::strips, metsig::tau, nano_cff::taus, and tauThreshold_.
Referenced by buildPFTau().
|
overridevirtual |
Implements PFRecoTauAlgorithmBase.
Definition at line 23 of file HPSPFRecoTauAlgorithm.cc.
References TransientTrackBuilder::build(), buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), buildThreeProngs(), candidateMerger_, doOneProngs_, doOneProngStrips_, doOneProngTwoStrips_, doThreeProngs_, getBestTauCandidate(), edm::Ref< C, T, F >::isNonnull(), metsig::jet, reco::PFTau::leadPFChargedHadrCand(), TauDiscriminatorTools::leadTrack, PFCandidateMergerBase::mergeCandidates(), pfTaus_, reco::PFTau::pfTauTagInfoRef(), reco::PFTau::setleadPFChargedHadrCandsignedSipt(), reco::LeafCandidate::setP4(), reco::PFTau::setpfTauTagInfoRef(), IPTools::signedTransverseImpactParameter(), TauTagTools::sortRefVectorByPt(), RecoTauPiZeroBuilderPlugins_cfi::strips, reco::PFCandidate::trackRef(), and PFRecoTauAlgorithmBase::TransientTrackBuilder_.
|
private |
Definition at line 354 of file HPSPFRecoTauAlgorithm.cc.
References a, funct::abs(), applyElectronRejection(), applyMuonRejection(), associateIsolationCandidates(), b, EnergyCorrector::c, ALCARECOTkAlJpsiMuMu_cff::charge, reco::LeafCandidate::charge(), coneMetric_, HiRegitMuonDetachedTripletStep_cff::DeltaR, Exception, edm::Ptr< T >::get(), getBestTauCandidate(), isNarrowTau(), leadPionThreshold_, reco::LeafCandidate::mass(), matchingCone_, SiStripPI::max, reco::LeafCandidate::p4(), RecoPFTauTag_cff::PFTau, pfTaus_, reco::LeafCandidate::pt(), refitThreeProng(), reco::PFTau::setleadCand(), reco::PFTau::setleadChargedHadrCand(), reco::PFTau::setpfTauTagInfoRef(), reco::PFTau::setsignalCands(), reco::PFTau::setsignalChargedHadrCands(), metsig::tau, nano_cff::taus, tauThreshold_, threeProngMassWindow_, reco::PFCandidate::trackRef(), and reco::PFCandidate::vertex().
Referenced by buildPFTau().
|
private |
Definition at line 639 of file HPSPFRecoTauAlgorithm.cc.
References candidateMerger_, chargeIsolationCone_, TauTagTools::computeConeSizeTFormula(), coneMetric_, coneSizeFormula, coneSizeFormula_, doOneProngs_, doOneProngStrips_, doOneProngTwoStrips_, doThreeProngs_, emMerger_, Exception, gammaIsolationCone_, edm::ParameterSet::getParameter(), leadPionThreshold_, matchingCone_, maxSignalCone_, minSignalCone_, neutrHadrIsolationCone_, oneProngStripMassWindow_, oneProngTwoStripsMassWindow_, oneProngTwoStripsPi0MassWindow_, overlapCriterion_, AlCaHLTBitMon_QueryRunRegistry::string, stripPtThreshold_, tauThreshold_, threeProngMassWindow_, and useIsolationAnnulus_.
Referenced by HPSPFRecoTauAlgorithm().
|
private |
Definition at line 689 of file HPSPFRecoTauAlgorithm.cc.
References mps_fire::i.
Referenced by buildOneProngStrip(), and buildOneProngTwoStrips().
|
private |
Definition at line 766 of file HPSPFRecoTauAlgorithm.cc.
References overlapCriterion_, and MCScenario_CRAFT1_22X::sorter().
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), buildPFTau(), and buildThreeProngs().
|
private |
Definition at line 440 of file HPSPFRecoTauAlgorithm.cc.
References coneSizeFormula, reco::LeafCandidate::energy(), reco::LeafCandidate::et(), maxSignalCone_, and minSignalCone_.
Referenced by buildOneProngStrip(), buildOneProngTwoStrips(), and buildThreeProngs().
|
private |
Definition at line 720 of file HPSPFRecoTauAlgorithm.cc.
References TransientTrackBuilder::build(), TransientVertex::hasRefittedTracks(), TransientVertex::isValid(), reco::TrackBase::momentum(), p1, p2, p3, TransientVertex::position(), reco::TrackBase::px(), reco::TrackBase::py(), reco::TrackBase::pz(), TransientVertex::refittedTracks(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setVertex(), reco::PFTau::signalPFChargedHadrCands(), mathSSE::sqrt(), reco::PFCandidate::trackRef(), PFRecoTauAlgorithmBase::TransientTrackBuilder_, KalmanVertexFitter::vertex(), badGlobalMuonTaggersAOD_cff::vtx, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by buildThreeProngs().
|
private |
Definition at line 699 of file HPSPFRecoTauAlgorithm.cc.
References spr::find().
Referenced by associateIsolationCandidates(), buildOneProngStrip(), and buildOneProngTwoStrips().
|
private |
Definition at line 39 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildPFTau(), configure(), and ~HPSPFRecoTauAlgorithm().
|
private |
Definition at line 98 of file HPSPFRecoTauAlgorithm.h.
Referenced by associateIsolationCandidates(), and configure().
|
private |
Definition at line 118 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProngStrip(), buildOneProngTwoStrips(), buildThreeProngs(), and configure().
|
private |
Definition at line 123 of file HPSPFRecoTauAlgorithm.h.
Referenced by configure(), and isNarrowTau().
|
private |
Definition at line 117 of file HPSPFRecoTauAlgorithm.h.
Referenced by configure().
|
private |
Definition at line 84 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildPFTau(), and configure().
|
private |
Definition at line 85 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildPFTau(), and configure().
|
private |
Definition at line 86 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildPFTau(), and configure().
|
private |
Definition at line 87 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildPFTau(), and configure().
|
private |
Definition at line 78 of file HPSPFRecoTauAlgorithm.h.
Referenced by configure().
|
private |
Definition at line 99 of file HPSPFRecoTauAlgorithm.h.
Referenced by associateIsolationCandidates(), and configure().
|
private |
Definition at line 93 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProng(), buildThreeProngs(), and configure().
|
private |
Definition at line 112 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), buildThreeProngs(), and configure().
|
private |
Definition at line 120 of file HPSPFRecoTauAlgorithm.h.
Referenced by configure(), and isNarrowTau().
|
private |
Definition at line 119 of file HPSPFRecoTauAlgorithm.h.
Referenced by configure(), and isNarrowTau().
|
private |
Definition at line 100 of file HPSPFRecoTauAlgorithm.h.
Referenced by associateIsolationCandidates(), and configure().
|
private |
Definition at line 106 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProngStrip(), and configure().
|
private |
Definition at line 107 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProngTwoStrips(), and configure().
|
private |
Definition at line 108 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProngTwoStrips(), and configure().
|
private |
Definition at line 81 of file HPSPFRecoTauAlgorithm.h.
Referenced by configure(), and getBestTauCandidate().
|
private |
Definition at line 125 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), buildPFTau(), and buildThreeProngs().
|
private |
Definition at line 96 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProngStrip(), buildOneProngTwoStrips(), and configure().
|
private |
Definition at line 91 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), buildThreeProngs(), and configure().
|
private |
Definition at line 109 of file HPSPFRecoTauAlgorithm.h.
Referenced by buildThreeProngs(), and configure().
|
private |
Definition at line 103 of file HPSPFRecoTauAlgorithm.h.
Referenced by associateIsolationCandidates(), and configure().