CMS 3D CMS Logo

CutsConeSizeFunction.h
Go to the documentation of this file.
1 #ifndef MuonIsolation_CutsConeSizeFunction_H
2 #define MuonIsolation_CutsConeSizeFunction_H
3 
6 
7 namespace muonisolation {
9  public:
11  ~CutsConeSizeFunction() override = default;
12  float threshold() const { return theLastCut->threshold; }
13  float coneSize(float eta, float pt) const override {
15  return theLastCut->conesize;
16  }
17 
18  private:
19  mutable const Cuts::CutSpec* theLastCut;
20  const Cuts& theCuts;
21  };
22 } // namespace muonisolation
23 #endif
float coneSize(float eta, float pt) const override
~CutsConeSizeFunction() override=default