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
cuts
const TkSoA *__restrict__ CAHitNtupletGeneratorKernelsGPU::QualityCuts cuts
Definition: CAHitNtupletGeneratorKernelsImpl.h:416
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
muonisolation::IsolatorByDeposit::ConeSizeFunction
Definition: IsolatorByDeposit.h:20
PVValHelper::eta
Definition: PVValidationHelpers.h:70
muonisolation::CutsConeSizeFunction::~CutsConeSizeFunction
~CutsConeSizeFunction() override=default
muonisolation::Cuts
Definition: Cuts.h:14
muonisolation::CutsConeSizeFunction
Definition: CutsConeSizeFunction.h:8
muonisolation::CutsConeSizeFunction::coneSize
float coneSize(float eta, float pt) const override
Definition: CutsConeSizeFunction.h:13
muonisolation
Definition: CandViewExtractor.h:16
IsolatorByDeposit.h
muonisolation::CutsConeSizeFunction::theLastCut
const Cuts::CutSpec * theLastCut
Definition: CutsConeSizeFunction.h:19
muonisolation::CutsConeSizeFunction::theCuts
const Cuts & theCuts
Definition: CutsConeSizeFunction.h:20
muonisolation::Cuts::CutSpec::conesize
double conesize
Definition: Cuts.h:18
muonisolation::Cuts::CutSpec::threshold
double threshold
Definition: Cuts.h:19
muonisolation::CutsConeSizeFunction::CutsConeSizeFunction
CutsConeSizeFunction(const Cuts &cuts)
Definition: CutsConeSizeFunction.h:10
muonisolation::Cuts::CutSpec
Definition: Cuts.h:16
muonisolation::CutsConeSizeFunction::threshold
float threshold() const
Definition: CutsConeSizeFunction.h:12
Cuts.h