#include <IsolatorByDepositCount.h>
Classes | |
struct | ConeSizeFunction |
Public Types | |
typedef MuIsoBaseIsolator::DepositContainer | DepositContainer |
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 |
Public Member Functions | |
virtual float | coneSize (float eta, float pT) const |
Get the cone size. More... | |
IsolatorByDepositCount (float conesize, const std::vector< double > &thresh) | |
construct with non-default thresholds per deposit More... | |
IsolatorByDepositCount (const ConeSizeFunction *conesize, const std::vector< double > &thresh) | |
Result | result (const DepositContainer &deposits, const edm::Event *=nullptr) const override |
Compute the deposit within the cone and return the isolation result. More... | |
ResultType | resultType () const override |
void | setConeSize (float conesize) |
void | setConeSize (ConeSizeFunction *conesize) |
~IsolatorByDepositCount () override=default | |
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 Result | result (const DepositContainer &deposits, const reco::Track &muon, const edm::Event *=nullptr) const |
Compute and return the isolation variable, with vetoes and the muon. More... | |
virtual | ~MuIsoBaseIsolator () |
Private Attributes | |
float | theConeSize |
const ConeSizeFunction * | theConeSizeFunction |
std::vector< double > | theDepThresholds |
Definition at line 16 of file IsolatorByDepositCount.h.
Definition at line 18 of file IsolatorByDepositCount.h.
IsolatorByDepositCount::IsolatorByDepositCount | ( | float | conesize, |
const std::vector< double > & | thresh | ||
) |
construct with non-default thresholds per deposit
Definition at line 7 of file IsolatorByDepositCount.cc.
IsolatorByDepositCount::IsolatorByDepositCount | ( | const ConeSizeFunction * | conesize, |
const std::vector< double > & | thresh | ||
) |
Definition at line 10 of file IsolatorByDepositCount.cc.
|
overridedefault |
|
inlinevirtual |
Get the cone size.
Definition at line 42 of file IsolatorByDepositCount.h.
References muonisolation::IsolatorByDepositCount::ConeSizeFunction::coneSize(), PVValHelper::eta, pv::pT, theConeSize, and theConeSizeFunction.
Referenced by result().
|
overridevirtual |
Compute the deposit within the cone and return the isolation result.
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 13 of file IsolatorByDepositCount.cc.
References coneSize(), muonisolation::MuIsoBaseIsolator::DepositAndVetos::dep, reco::IsoDeposit::depositAndCountWithin(), CandIsolatorFromDeposits_cfi::deposits, PVValHelper::eta, muonisolation::MuIsoBaseIsolator::ISOL_INVALID_TYPE, DiDispStaMuonMonitor_cfi::pt, resultType(), theDepThresholds, and muonisolation::MuIsoBaseIsolator::DepositAndVetos::vetos.
|
inlineoverridevirtual |
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 46 of file IsolatorByDepositCount.h.
References muonisolation::MuIsoBaseIsolator::ISOL_INT_TYPE.
Referenced by result().
|
inline |
Definition at line 34 of file IsolatorByDepositCount.h.
References l1NNTauProducerPuppi_cfi::conesize, theConeSize, and theConeSizeFunction.
|
inline |
Definition at line 39 of file IsolatorByDepositCount.h.
References l1NNTauProducerPuppi_cfi::conesize, and theConeSizeFunction.
|
private |
Definition at line 50 of file IsolatorByDepositCount.h.
Referenced by coneSize(), and setConeSize().
|
private |
Definition at line 49 of file IsolatorByDepositCount.h.
Referenced by coneSize(), and setConeSize().
|
private |
Definition at line 51 of file IsolatorByDepositCount.h.
Referenced by result().