#include <RecoTauIsolationMasking.h>
Classes | |
struct | IsoMaskResult |
Public Member Functions | |
IsoMaskResult | mask (const reco::PFTau &) const |
Return a new isolation collections with masking applied. More... | |
RecoTauIsolationMasking (const edm::ParameterSet &pset) | |
void | setMaxSigmas (double maxSigmas) |
~RecoTauIsolationMasking () | |
Private Member Functions | |
bool | inCone (const reco::PFCandidate &track, const reco::Candidate &cand) const |
double | resolution (const reco::Candidate &cand) const |
Private Attributes | |
double | ecalCone_ |
double | finalHcalCone_ |
double | hcalCone_ |
double | maxSigmas_ |
std::unique_ptr< PFEnergyResolution > | resolutions_ |
Definition at line 24 of file RecoTauIsolationMasking.h.
reco::tau::RecoTauIsolationMasking::RecoTauIsolationMasking | ( | const edm::ParameterSet & | pset | ) |
Definition at line 62 of file RecoTauIsolationMasking.cc.
References ecalCone_, finalHcalCone_, edm::ParameterSet::getParameter(), hcalCone_, and maxSigmas_.
reco::tau::RecoTauIsolationMasking::~RecoTauIsolationMasking | ( | ) |
Definition at line 71 of file RecoTauIsolationMasking.cc.
|
private |
Definition at line 161 of file RecoTauIsolationMasking.cc.
References funct::abs(), reco::deltaR(), ecalCone_, hcalCone_, reco::Candidate::p4(), reco::Candidate::pdgId(), and reco::PFCandidate::positionAtECALEntrance().
Referenced by mask(), and setMaxSigmas().
RecoTauIsolationMasking::IsoMaskResult reco::tau::RecoTauIsolationMasking::mask | ( | const reco::PFTau & | tau | ) | const |
Return a new isolation collections with masking applied.
Definition at line 74 of file RecoTauIsolationMasking.cc.
References popcon2dropbox::copy(), reco::Candidate::energy(), finalHcalCone_, reco::tau::RecoTauIsolationMasking::IsoMaskResult::gammas, reco::tau::RecoTauIsolationMasking::IsoMaskResult::h0s, inCone(), reco::PFTau::isolationGammaCands(), reco::PFTau::isolationNeutrHadrCands(), maxSigmas_, convertSQLitetoXML_cfg::output, resolution(), resolutions_, reco::PFTau::signalChargedHadrCands(), reco::PFTau::signalPFChargedHadrCands(), MCScenario_CRAFT1_22X::sorter(), mathSSE::sqrt(), square(), and HiIsolationCommonParameters_cff::track.
|
private |
Definition at line 143 of file RecoTauIsolationMasking.cc.
References funct::abs(), reco::Candidate::energy(), reco::Candidate::eta(), reco::Candidate::pdgId(), reco::Candidate::phi(), and resolutions_.
Referenced by mask(), and setMaxSigmas().
|
inline |
Definition at line 36 of file RecoTauIsolationMasking.h.
References inCone(), RecoTauDiscriminantConfiguration::maxSigmas, maxSigmas_, resolution(), and HiIsolationCommonParameters_cff::track.
|
private |
Definition at line 44 of file RecoTauIsolationMasking.h.
Referenced by inCone(), and RecoTauIsolationMasking().
|
private |
Definition at line 47 of file RecoTauIsolationMasking.h.
Referenced by mask(), and RecoTauIsolationMasking().
|
private |
Definition at line 45 of file RecoTauIsolationMasking.h.
Referenced by inCone(), and RecoTauIsolationMasking().
|
private |
Definition at line 46 of file RecoTauIsolationMasking.h.
Referenced by mask(), RecoTauIsolationMasking(), and setMaxSigmas().
|
private |
Definition at line 48 of file RecoTauIsolationMasking.h.
Referenced by mask(), and resolution().