1 #ifndef MuonIsolation_IsolatorByDeposit_H
2 #define MuonIsolation_IsolatorByDeposit_H
18 namespace muonisolation {
24 virtual float coneSize(
float eta,
float pt)
const = 0;
33 const std::vector<double> &
weights,
const std::vector<double>&
thresh);
35 const std::vector<double> &
weights,
const std::vector<double>&
thresh);
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.
virtual Result result(const DepositContainer &deposits, const edm::Event *=0) const
Compute the deposit within the cone and return the isolation result.
virtual ResultType resultType() const
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
virtual ~IsolatorByDeposit()
void setConeSize(ConeSizeFunction *conesize)