1 #ifndef MuonIsolation_IsolatorByNominalEfficiency_H 2 #define MuonIsolation_IsolatorByNominalEfficiency_H 18 class NominalEfficiencyThresholds;
28 const std::vector<std::string>& ceff,
29 const std::vector<double>&
weights);
32 const std::vector<std::string>& ceff,
33 const std::vector<double>&
weights,
34 const std::vector<double>&
thresh);
41 Cuts cuts(
float nominalEfficiency)
const;
51 double size(
int i)
const;
52 int index(
float dr)
const;
mapNomEff_Cone coneForEfficiency
std::vector< double > theDepThresholds
Result result(const DepositContainer &deposits, const edm::Event *=nullptr) const override
Compute the deposit within the cone and return the isolation result.
std::vector< double > theWeights
MuIsoBaseIsolator::DepositContainer DepositContainer
const std::string names[nVars_]
ResultType resultType() const override
~IsolatorByNominalEfficiency() override
virtual double weightedSum(const DepositContainer &deposits, float dRcone) const
IsolatorByNominalEfficiency(const std::string &thrFile, const std::vector< std::string > &ceff, const std::vector< double > &weights)
Constructor.
mapNomEff_Cone cones(const std::vector< std::string > &names)
static const float cone_dr[DIM]
NominalEfficiencyThresholds * thresholds
std::vector< DepositAndVetos > DepositContainer
int index(float dr) const
Cuts cuts(float nominalEfficiency) const
std::multimap< float, int > mapNomEff_Cone
int bestConeForEfficiencyIndex(float eff_thr) const
std::string findPath(const std::string &fileName)