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 {
14  theLastCut = & theCuts(eta);
15  return theLastCut->conesize;
16  }
17 private:
18  mutable const Cuts::CutSpec * theLastCut;
19  const Cuts & theCuts;
20 };
21 }
22 #endif
#define nullptr
~CutsConeSizeFunction() override=default
float coneSize(float eta, float pt) const override