1 #ifndef MuonIsolation_IsolatorByNominalEfficiency_H
2 #define MuonIsolation_IsolatorByNominalEfficiency_H
17 namespace muonisolation {
class NominalEfficiencyThresholds; }
19 namespace muonisolation {
26 const std::vector<std::string> & ceff,
27 const std::vector<double> &
weights);
30 const std::vector<std::string> & ceff,
31 const std::vector<double> &
weights,
const std::vector<double> &
thresh );
39 Cuts cuts(
float nominalEfficiency)
const;
49 double size(
int i)
const;
50 int index(
float dr)
const;
static const HistoName names[]
mapNomEff_Cone coneForEfficiency
std::vector< double > theDepThresholds
std::vector< double > theWeights
int index(float dr) const
MuIsoBaseIsolator::DepositContainer DepositContainer
std::multimap< float, int > mapNomEff_Cone
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)
virtual Result result(const DepositContainer &deposits, const edm::Event *=0) const
Compute the deposit within the cone and return the isolation result.
static const float cone_dr[DIM]
Cuts cuts(float nominalEfficiency) const
virtual ResultType resultType() const
virtual double weightedSum(const DepositContainer &deposits, float dRcone) const
NominalEfficiencyThresholds * thresholds
std::vector< DepositAndVetos > DepositContainer
int bestConeForEfficiencyIndex(float eff_thr) const
virtual ~IsolatorByNominalEfficiency()
std::string findPath(const std::string &fileName)