#include <CutsIsolatorWithCorrection.h>
Public Member Functions | |
CutsIsolatorWithCorrection (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
virtual Result | result (const DepositContainer &deposits, const edm::Event *=0) const |
Compute and return the isolation variable. More... | |
virtual Result | result (const DepositContainer &deposits, const reco::Track &tk, const edm::Event *=0) const |
Compute and return the isolation variable, with vetoes and the muon. More... | |
virtual ResultType | resultType () const |
Public Member Functions inherited from muonisolation::MuIsoBaseIsolator | |
virtual Result | result (const DepositContainer &deposits, const reco::Candidate &muon, const edm::Event *=0) 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 edm::hlt::Exception, theCutAbsIso, and theCutRelativeIso.
|
private |
Definition at line 33 of file CutsIsolatorWithCorrection.cc.
References corr, and JetCorrectorParameters::size().
Referenced by result().
|
inlinevirtual |
Compute and return the isolation variable.
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 16 of file CutsIsolatorWithCorrection.h.
References submit::answer, muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE, and muonisolation::MuIsoBaseIsolator::Result::valBool.
|
virtual |
Compute and return the isolation variable, with vetoes and the muon.
Reimplemented from muonisolation::MuIsoBaseIsolator.
Definition at line 48 of file CutsIsolatorWithCorrection.cc.
References submit::answer, muonisolation::Cuts::CutSpec::conesize, depSum(), reco::TrackBase::eta(), edm::Event::getByToken(), muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE, pi, edm::Handle< T >::product(), reco::TrackBase::pt(), rho, 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.
|
inlinevirtual |
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 14 of file CutsIsolatorWithCorrection.h.
References muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE.
|
private |
Definition at line 43 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 32 of file CutsIsolatorWithCorrection.h.
Referenced by CutsIsolatorWithCorrection(), and result().
|
private |
Definition at line 33 of file CutsIsolatorWithCorrection.h.
Referenced by CutsIsolatorWithCorrection(), and result().
|
private |
Definition at line 29 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 30 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 42 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 38 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 35 of file CutsIsolatorWithCorrection.h.
Referenced by result().
|
private |
Definition at line 34 of file CutsIsolatorWithCorrection.h.
Referenced by result().