1 #ifndef SimpleCutsIsolator_H
2 #define SimpleCutsIsolator_H
13 :
theCuts(par.getParameter<std::
vector<double> >(
"EtaBounds"),
14 par.getParameter<std::
vector<double> >(
"ConeSizes"),
15 par.getParameter<std::
vector<double> >(
"Thresholds")) {}
31 double conesize = cuts_here.
conesize;
33 unsigned int nDeps = deposits.size();
34 for (
unsigned int iDep = 0; iDep < nDeps; ++iDep) {
35 dephlt += deposits[iDep].dep->depositWithin(conesize);
Result result(const DepositContainer &deposits, const edm::Event *=nullptr) const override
Compute and return the isolation variable.
SimpleCutsIsolator(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
double eta() const
pseudorapidity of momentum vector
muonisolation::Cuts theCuts
std::vector< DepositAndVetos > DepositContainer
ResultType resultType() const override
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.