#include <CutsIsolatorWithCorrection.h>
Public Member Functions | |
CutsIsolatorWithCorrection (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
Result | result (const DepositContainer &deposits, const edm::Event *=nullptr) const override |
Compute and return the isolation variable. More... | |
Result | result (const DepositContainer &deposits, const reco::Track &tk, const edm::Event *=nullptr) const override |
Compute and return the isolation variable, with vetoes and the muon. More... | |
ResultType | resultType () const override |
Public Member Functions inherited from muonisolation::MuIsoBaseIsolator | |
virtual Result | result (const DepositContainer &deposits, const reco::Candidate &muon, const edm::Event *=nullptr) const |
Compute and return the isolation variable, with vetoes and the muon. More... | |
virtual | ~MuIsoBaseIsolator () |
Private Member Functions | |
double | depSum (const DepositContainer &deposits, double dr, double corr) const |
Private Attributes | |
bool | theAndOrCuts |
bool | theCutAbsIso |
bool | theCutRelativeIso |
muonisolation::Cuts | theCuts |
muonisolation::Cuts | theCutsRel |
double | theEffAreaSFBarrel |
double | theEffAreaSFEndcap |
bool | theReturnAbsoluteSum |
bool | theReturnRelativeSum |
double | theRhoMax |
double | theRhoScaleBarrel |
double | theRhoScaleEndcap |
edm::EDGetTokenT< double > | theRhoToken |
bool | theUseRhoCorrection |
Additional Inherited Members | |
Public Types inherited from muonisolation::MuIsoBaseIsolator | |
typedef std::vector< DepositAndVetos > | DepositContainer |
enum | ResultType { ISOL_INT_TYPE = 0, ISOL_FLOAT_TYPE, ISOL_BOOL_TYPE, ISOL_INVALID_TYPE } |
typedef reco::IsoDeposit::Veto | Veto |
typedef reco::IsoDeposit::Vetos | Vetos |
Definition at line 9 of file CutsIsolatorWithCorrection.h.
CutsIsolatorWithCorrection::CutsIsolatorWithCorrection | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 8 of file CutsIsolatorWithCorrection.cc.
References Exception, theCutAbsIso, and theCutRelativeIso.
|
private |
Definition at line 32 of file CutsIsolatorWithCorrection.cc.
References alignCSCRings::corr, CandIsolatorFromDeposits_cfi::deposits, and l1ctLayer1_cff::dr.
Referenced by result().
|
inlineoverridevirtual |
Compute and return the isolation variable.
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 15 of file CutsIsolatorWithCorrection.h.
References muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE, and muonisolation::MuIsoBaseIsolator::Result::valBool.
|
overridevirtual |
Compute and return the isolation variable, with vetoes and the muon.
Reimplemented from muonisolation::MuIsoBaseIsolator.
Definition at line 47 of file CutsIsolatorWithCorrection.cc.
References L1NNTauProducer_cff::conesize, muonisolation::Cuts::CutSpec::conesize, CandIsolatorFromDeposits_cfi::deposits, depSum(), reco::TrackBase::eta(), makeMEIFBenchmarkPlots::ev, nano_mu_digi_cff::float, muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE, pi, edm::Handle< T >::product(), reco::TrackBase::pt(), rho, HLT_2024v12_cff::rhoScale, theAndOrCuts, theCutAbsIso, theCutRelativeIso, theCuts, theCutsRel, theEffAreaSFBarrel, theEffAreaSFEndcap, theReturnAbsoluteSum, theReturnRelativeSum, theRhoMax, theRhoScaleBarrel, theRhoScaleEndcap, theRhoToken, theUseRhoCorrection, muonisolation::Cuts::CutSpec::threshold, muonisolation::MuIsoBaseIsolator::Result::valBool, and muonisolation::MuIsoBaseIsolator::Result::valFloat.
|
inlineoverridevirtual |
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 13 of file CutsIsolatorWithCorrection.h.
References muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE.
|
private |
Definition at line 42 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 31 of file CutsIsolatorWithCorrection.h.
Referenced by CutsIsolatorWithCorrection(), and result().
|
private |
Definition at line 32 of file CutsIsolatorWithCorrection.h.
Referenced by CutsIsolatorWithCorrection(), and result().
|
private |
Definition at line 28 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 29 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 38 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 39 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 40 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 41 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 35 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 36 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 37 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 34 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 33 of file CutsIsolatorWithCorrection.h.
Referenced by result().