1 #ifndef MuonIsolation_IsolatorByDeposit_H
2 #define MuonIsolation_IsolatorByDeposit_H
15 namespace muonisolation {
32 const std::vector<double>&
weights,
33 const std::vector<double>&
thresh);
~IsolatorByDeposit() override
std::vector< double > theDepThresholds
double weightedSum(const DepositContainer &deposits, float dRcone) const
virtual float coneSize(float eta, float pT) const
Get the cone size.
IsolatorByDeposit(float conesize, const std::vector< double > &weights)
construct with no addtnl thresholds on deposits
MuIsoBaseIsolator::DepositContainer DepositContainer
virtual void setWeights(const std::vector< double > &weights)
Set the weights for summing deposits of different types.
Result result(const DepositContainer &deposits, const edm::Event *=nullptr) const override
Compute the deposit within the cone and return the isolation result.
void setConeSize(float conesize)
Compute the count of deposit within the cone and return the isolation result.
virtual float coneSize(float eta, float pt) const =0
std::vector< double > theWeights
const ConeSizeFunction * theConeSizeFunction
std::vector< DepositAndVetos > DepositContainer
ResultType resultType() const override
void setConeSize(ConeSizeFunction *conesize)
virtual ~ConeSizeFunction()=default