#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) | |
virtual Result | result (const DepositContainer &deposits, const edm::Event *=0) const |
Compute the deposit within the cone and return the isolation result. More... | |
virtual ResultType | resultType () const |
void | setConeSize (float conesize) |
void | setConeSize (ConeSizeFunction *conesize) |
virtual | ~IsolatorByDepositCount ()=default |
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 Result | result (const DepositContainer &deposits, const reco::Track &muon, const edm::Event *=0) 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 17 of file IsolatorByDepositCount.h.
Definition at line 19 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 11 of file IsolatorByDepositCount.cc.
|
virtualdefault |
|
inlinevirtual |
Get the cone size.
Definition at line 42 of file IsolatorByDepositCount.h.
References muonisolation::IsolatorByDepositCount::ConeSizeFunction::coneSize(), theConeSize, and theConeSizeFunction.
Referenced by result().
|
virtual |
Compute the deposit within the cone and return the isolation result.
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 16 of file IsolatorByDepositCount.cc.
References coneSize(), muonisolation::MuIsoBaseIsolator::DepositAndVetos::dep, reco::IsoDeposit::depositAndCountWithin(), runTauDisplay::dr, stringResolutionProvider_cfi::eta, muonisolation::MuIsoBaseIsolator::ISOL_INVALID_TYPE, EnergyCorrector::pt, resultType(), theDepThresholds, muonisolation::MuIsoBaseIsolator::Result::valInt, and muonisolation::MuIsoBaseIsolator::DepositAndVetos::vetos.
|
inlinevirtual |
Implements muonisolation::MuIsoBaseIsolator.
Definition at line 46 of file IsolatorByDepositCount.h.
References muonisolation::MuIsoBaseIsolator::ISOL_INT_TYPE.
Referenced by result().
|
inline |
Definition at line 36 of file IsolatorByDepositCount.h.
References theConeSize, and theConeSizeFunction.
|
inline |
Definition at line 38 of file IsolatorByDepositCount.h.
References theConeSizeFunction.
|
private |
Definition at line 51 of file IsolatorByDepositCount.h.
Referenced by coneSize(), and setConeSize().
|
private |
Definition at line 50 of file IsolatorByDepositCount.h.
Referenced by coneSize(), and setConeSize().
|
private |
Definition at line 52 of file IsolatorByDepositCount.h.
Referenced by result().