#include <SimpleCutsIsolator.h>
Public Member Functions | |
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 |
SimpleCutsIsolator (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
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 Attributes | |
muonisolation::Cuts | theCuts |
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 10 of file SimpleCutsIsolator.h.
|
inline |
Definition at line 12 of file SimpleCutsIsolator.h.
|
inlineoverridevirtual |
Compute and return the isolation variable.
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 19 of file SimpleCutsIsolator.h.
References muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE, and muonisolation::MuIsoBaseIsolator::Result::valBool.
|
inlineoverridevirtual |
Compute and return the isolation variable, with vetoes and the muon.
Reimplemented from muonisolation::MuIsoBaseIsolator.
Definition at line 26 of file SimpleCutsIsolator.h.
References l1NNTauProducerPuppi_cfi::conesize, muonisolation::Cuts::CutSpec::conesize, CandIsolatorFromDeposits_cfi::deposits, reco::TrackBase::eta(), muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE, theCuts, muonisolation::Cuts::CutSpec::threshold, muonisolation::MuIsoBaseIsolator::Result::valBool, and muonisolation::MuIsoBaseIsolator::Result::valFloat.
|
inlineoverridevirtual |
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 17 of file SimpleCutsIsolator.h.
References muonisolation::MuIsoBaseIsolator::ISOL_BOOL_TYPE.
|
private |
Definition at line 48 of file SimpleCutsIsolator.h.
Referenced by result().