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"))
33 double conesize = cuts_here.
conesize;
35 unsigned int nDeps = deposits.size();
36 for(
unsigned int iDep = 0; iDep < nDeps; ++iDep ){
37 dephlt += deposits[iDep].dep->depositWithin(conesize);
SimpleCutsIsolator(const edm::ParameterSet &par, edm::ConsumesCollector &&iC)
double eta() const
pseudorapidity of momentum vector
Result result(const DepositContainer &deposits, const reco::Track &tk, const edm::Event *=0) const override
Compute and return the isolation variable, with vetoes and the muon.
muonisolation::Cuts theCuts
Result result(const DepositContainer &deposits, const edm::Event *=0) const override
Compute and return the isolation variable.
std::vector< DepositAndVetos > DepositContainer
ResultType resultType() const override