CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
muonisolation::CutsConeSizeFunction Class Reference

#include <CutsConeSizeFunction.h>

Inheritance diagram for muonisolation::CutsConeSizeFunction:
muonisolation::IsolatorByDeposit::ConeSizeFunction

Public Member Functions

float coneSize (float eta, float pt) const override
 
 CutsConeSizeFunction (const Cuts &cuts)
 
float threshold () const
 
 ~CutsConeSizeFunction () override=default
 
- Public Member Functions inherited from muonisolation::IsolatorByDeposit::ConeSizeFunction
virtual ~ConeSizeFunction ()=default
 

Private Attributes

const CutstheCuts
 
const Cuts::CutSpectheLastCut
 

Detailed Description

Definition at line 8 of file CutsConeSizeFunction.h.

Constructor & Destructor Documentation

◆ CutsConeSizeFunction()

muonisolation::CutsConeSizeFunction::CutsConeSizeFunction ( const Cuts cuts)
inline

Definition at line 10 of file CutsConeSizeFunction.h.

10 : theLastCut(nullptr), theCuts(cuts) {}
TkSoA const *__restrict__ CAHitNtupletGeneratorKernelsGPU::QualityCuts cuts

◆ ~CutsConeSizeFunction()

muonisolation::CutsConeSizeFunction::~CutsConeSizeFunction ( )
overridedefault

Member Function Documentation

◆ coneSize()

float muonisolation::CutsConeSizeFunction::coneSize ( float  eta,
float  pt 
) const
inlineoverridevirtual

◆ threshold()

float muonisolation::CutsConeSizeFunction::threshold ( ) const
inline

Definition at line 12 of file CutsConeSizeFunction.h.

References theLastCut, and muonisolation::Cuts::CutSpec::threshold.

12 { return theLastCut->threshold; }

Member Data Documentation

◆ theCuts

const Cuts& muonisolation::CutsConeSizeFunction::theCuts
private

Definition at line 20 of file CutsConeSizeFunction.h.

Referenced by coneSize().

◆ theLastCut

const Cuts::CutSpec* muonisolation::CutsConeSizeFunction::theLastCut
mutableprivate

Definition at line 19 of file CutsConeSizeFunction.h.

Referenced by coneSize(), and threshold().