8 : theConeSizeFunction(0), theConeSize(conesize), theDepThresholds(dThresh)
12 const vector<double>& dThresh)
27 float eta = deposits.front().dep->eta();
28 float pt = deposits.front().dep->candEnergy();
35 res.
valInt = sumAndCount.second;
virtual Result result(const DepositContainer &deposits, const edm::Event *=0) const
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
const ConeSizeFunction * theConeSizeFunction
virtual float coneSize(float eta, float pT) const
Get the cone size.
virtual ResultType resultType() const
reco::IsoDeposit IsoDeposit
std::pair< double, int > depositAndCountWithin(double coneSize, const Vetos &vetos=Vetos(), double threshold=-1e+36, bool skipDepositVeto=false) const
Get deposit.
std::vector< double > theDepThresholds
const reco::IsoDeposit * dep