5 using namespace muonisolation;
8 : theConeSizeFunction(nullptr), theConeSize(conesize), theDepThresholds(dThresh) {}
11 : theConeSizeFunction(conesize), theConeSize(0.), theDepThresholds(dThresh) {}
16 if (deposits.size() > 1) {
26 float eta = deposits.front().dep->eta();
27 float pt = deposits.front().dep->candEnergy();
33 res.
valInt = sumAndCount.second;
Result result(const DepositContainer &deposits, const edm::Event *=nullptr) const override
Compute the deposit within the cone and return the isolation result.
IsolatorByDepositCount(float conesize, const std::vector< double > &thresh)
construct with non-default thresholds per deposit
MuIsoBaseIsolator::DepositContainer DepositContainer
virtual float coneSize(float eta, float pT) const
Get the cone size.
reco::IsoDeposit IsoDeposit
std::pair< double, int > depositAndCountWithin(double coneSize, const Vetos &vetos=Vetos(), double threshold=-1e+36, bool skipDepositVeto=false) const
Get deposit.
ResultType resultType() const override
std::vector< double > theDepThresholds
const reco::IsoDeposit * dep