#include <HPSPFRecoTauAlgorithm.h>
Classes | |
class | HPSTauIsolationSorter |
class | HPSTauPtSorter |
Public Member Functions | |
reco::PFTau | buildPFTau (const reco::PFTauTagInfoRef &, const reco::Vertex &) |
HPSPFRecoTauAlgorithm () | |
HPSPFRecoTauAlgorithm (const edm::ParameterSet &) | |
~HPSPFRecoTauAlgorithm () | |
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().
HPSPFRecoTauAlgorithm::~HPSPFRecoTauAlgorithm | ( | ) |
Definition at line 17 of file HPSPFRecoTauAlgorithm.cc.
References candidateMerger_.
|
private |
Definition at line 588 of file HPSPFRecoTauAlgorithm.cc.
References funct::abs(), edm::Ptr< T >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), 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(), and funct::sin().
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), and buildThreeProngs().
|
private |
Definition at line 703 of file HPSPFRecoTauAlgorithm.cc.
References mathSSE::sqrt().
Referenced by buildOneProngStrip(), and buildOneProngTwoStrips().
|
private |
Definition at line 556 of file HPSPFRecoTauAlgorithm.cc.
References edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), reco::PFTau::leadPFChargedHadrCand(), RPCpg::mu, reco::PFTau::setCaloComp(), reco::PFTau::setMuonDecision(), and reco::PFTau::setSegComp().
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), and buildThreeProngs().
|
private |
Definition at line 447 of file HPSPFRecoTauAlgorithm.cc.
References chargeIsolationCone_, reco::deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), gammaIsolationCone_, i, edm::Ref< C, T, F >::isNull(), neutrHadrIsolationCone_, reco::PFTau::pfTauTagInfoRef(), reco::LeafCandidate::phi(), dt_dqm_sourceclient_common_cff::reco, removeCandidateFromRefVector(), reco::PFTau::setisolationPFCands(), reco::PFTau::setisolationPFChargedHadrCands(), reco::PFTau::setisolationPFChargedHadrCandsPtSum(), reco::PFTau::setisolationPFGammaCands(), reco::PFTau::setisolationPFGammaCandsEtSum(), reco::PFTau::setisolationPFNeutrHadrCands(), reco::PFTau::signalPFChargedHadrCands(), reco::PFTau::signalPFGammaCands(), and useIsolationAnnulus_.
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), and buildThreeProngs().
|
private |
Definition at line 88 of file HPSPFRecoTauAlgorithm.cc.
References applyElectronRejection(), applyMuonRejection(), associateIsolationCandidates(), getBestTauCandidate(), h, leadPionThreshold_, matchingCone_, RecoPFTauTag_cff::PFTau, pfTaus_, reco::PFTau::setleadPFCand(), reco::PFTau::setleadPFChargedHadrCand(), reco::PFTau::setpfTauTagInfoRef(), reco::PFTau::setsignalPFCands(), reco::PFTau::setsignalPFChargedHadrCands(), metsig::tau, and tauThreshold_.
Referenced by buildPFTau().
|
private |
Definition at line 138 of file HPSPFRecoTauAlgorithm.cc.
References applyElectronRejection(), applyMassConstraint(), applyMuonRejection(), associateIsolationCandidates(), coneMetric_, createMergedLorentzVector(), getBestTauCandidate(), isNarrowTau(), j, matchingCone_, max(), oneProngStripMassWindow_, pfTaus_, removeCandidateFromRefVector(), stripPtThreshold_, RecoTauPiZeroBuilderPlugins_cfi::strips, metsig::tau, and tauThreshold_.
Referenced by buildPFTau().
|
private |
Definition at line 234 of file HPSPFRecoTauAlgorithm.cc.
References applyElectronRejection(), applyMassConstraint(), applyMuonRejection(), associateIsolationCandidates(), coneMetric_, createMergedLorentzVector(), getBestTauCandidate(), isNarrowTau(), j, matchingCone_, max(), oneProngTwoStripsMassWindow_, oneProngTwoStripsPi0MassWindow_, pfTaus_, removeCandidateFromRefVector(), stripPtThreshold_, RecoTauPiZeroBuilderPlugins_cfi::strips, metsig::tau, and tauThreshold_.
Referenced by buildPFTau().
|
virtual |
Implements PFRecoTauAlgorithmBase.
Definition at line 23 of file HPSPFRecoTauAlgorithm.cc.
References TransientTrackBuilder::build(), buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), buildThreeProngs(), candidateMerger_, doOneProngs_, doOneProngStrips_, doOneProngTwoStrips_, doThreeProngs_, getBestTauCandidate(), edm::Ptr< T >::isNonnull(), edm::Ref< C, T, F >::isNonnull(), metsig::jet, reco::PFTau::leadPFChargedHadrCand(), singlePfTauSkim_cff::leadTrack, PFCandidateMergerBase::mergeCandidates(), pfTaus_, reco::PFTau::pfTauTagInfoRef(), reco::PFTau::setleadPFChargedHadrCandsignedSipt(), reco::LeafCandidate::setP4(), reco::PFTau::setpfTauTagInfoRef(), IPTools::signedTransverseImpactParameter(), TauTagTools::sortRefVectorByPt(), RecoTauPiZeroBuilderPlugins_cfi::strips, and PFRecoTauAlgorithmBase::TransientTrackBuilder_.
|
private |
Definition at line 354 of file HPSPFRecoTauAlgorithm.cc.
References a, funct::abs(), applyElectronRejection(), applyMuonRejection(), associateIsolationCandidates(), b, trackerHits::c, DeDxDiscriminatorTools::charge(), coneMetric_, getBestTauCandidate(), isNarrowTau(), leadPionThreshold_, reco::LeafCandidate::mass(), matchingCone_, max(), reco::LeafCandidate::p4(), RecoPFTauTag_cff::PFTau, pfTaus_, reco::LeafCandidate::pt(), refitThreeProng(), reco::PFTau::setleadPFCand(), reco::PFTau::setleadPFChargedHadrCand(), reco::PFTau::setpfTauTagInfoRef(), reco::PFTau::setsignalPFCands(), reco::PFTau::setsignalPFChargedHadrCands(), metsig::tau, tauThreshold_, and threeProngMassWindow_.
Referenced by buildPFTau().
|
private |
Definition at line 632 of file HPSPFRecoTauAlgorithm.cc.
References candidateMerger_, chargeIsolationCone_, TauTagTools::computeConeSizeTFormula(), coneMetric_, coneSizeFormula, coneSizeFormula_, doOneProngs_, doOneProngStrips_, doOneProngTwoStrips_, doThreeProngs_, emMerger_, edm::hlt::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 682 of file HPSPFRecoTauAlgorithm.cc.
References i.
Referenced by buildOneProngStrip(), and buildOneProngTwoStrips().
|
private |
Definition at line 759 of file HPSPFRecoTauAlgorithm.cc.
References overlapCriterion_, and MCScenario_CRAFT1_22X::sorter().
Referenced by buildOneProng(), buildOneProngStrip(), buildOneProngTwoStrips(), buildPFTau(), and buildThreeProngs().
|
private |
Definition at line 433 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 713 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(), PFRecoTauAlgorithmBase::TransientTrackBuilder_, KalmanVertexFitter::vertex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by buildThreeProngs().
|
private |
Definition at line 692 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().