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) {}

◆ ~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.

12 { return theLastCut->threshold; }

References theLastCut, and muonisolation::Cuts::CutSpec::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().

cuts
const TkSoA *__restrict__ CAHitNtupletGeneratorKernelsGPU::QualityCuts cuts
Definition: CAHitNtupletGeneratorKernelsImpl.h:416
PVValHelper::eta
Definition: PVValidationHelpers.h:70
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