CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
muonisolation::NominalEfficiencyThresholds::EtaBounds Class Reference

Public Types

enum  { NumberOfTowers = 32 }
 

Public Member Functions

 EtaBounds ()
 
float operator() (unsigned int i) const
 
int towerFromEta (double eta) const
 

Private Attributes

float theBounds [NumberOfTowers+1]
 

Detailed Description

Definition at line 35 of file NominalEfficiencyThresholds.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Constructor & Destructor Documentation

◆ EtaBounds()

NominalEfficiencyThresholds::EtaBounds::EtaBounds ( )

Definition at line 11 of file NominalEfficiencyThresholds.cc.

References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.

11  {
12  float BaseEtaBin = 0.087;
13  theBounds[0] = 0.0;
14  for (int it = 1; it <= 20; it++)
15  theBounds[it] = it * BaseEtaBin;
16  theBounds[21] = 1.83;
17  theBounds[22] = 1.93;
18  theBounds[23] = 2.043;
19  theBounds[24] = 2.172;
20  theBounds[25] = 2.322;
21  theBounds[26] = 2.5;
22  theBounds[27] = 2.65;
23  theBounds[28] = 3.0;
24  theBounds[29] = 3.13;
25  theBounds[30] = 3.305;
26  theBounds[31] = 3.48;
27  theBounds[32] = 3.655;
28 }

Member Function Documentation

◆ operator()()

float muonisolation::NominalEfficiencyThresholds::EtaBounds::operator() ( unsigned int  i) const
inline

Definition at line 40 of file NominalEfficiencyThresholds.h.

References mps_fire::i, and theBounds.

◆ towerFromEta()

int NominalEfficiencyThresholds::EtaBounds::towerFromEta ( double  eta) const

Member Data Documentation

◆ theBounds

float muonisolation::NominalEfficiencyThresholds::EtaBounds::theBounds[NumberOfTowers+1]
private

Definition at line 43 of file NominalEfficiencyThresholds.h.

Referenced by operator()().