ATLAS Offline Software
Loading...
Searching...
No Matches
eflowFirstIntRegions Class Reference

This defines the J1STLAYER enum, which is used to label calorimeter layers in a simplified scheme which exludes the presamplers and combines the HEC layers. More...

#include <eflowCaloRegions.h>

Collaboration diagram for eflowFirstIntRegions:

Public Types

enum  J1STLAYER {
  EMB1 =0 , EMB2 , EMB3 , EME1 ,
  EME2 , EME3 , HEC , Tile ,
  FCAL , Unknown =999
}

Static Public Member Functions

static const std::string & name (J1STLAYER layer)
static J1STLAYER translateCalo (eflowCaloENUM layer)

Static Public Attributes

static const int nRegions = FCAL + 1

Static Private Attributes

static const std::string m_layerNames []
static const J1STLAYER m_caloFirstIntMap []

Detailed Description

This defines the J1STLAYER enum, which is used to label calorimeter layers in a simplified scheme which exludes the presamplers and combines the HEC layers.

It also combines both the Tile regions and layers into one Tile quantity. This enum is used to label layers for the LHED calculation.

Definition at line 54 of file eflowCaloRegions.h.

Member Enumeration Documentation

◆ J1STLAYER

Member Function Documentation

◆ name()

const std::string & eflowFirstIntRegions::name ( J1STLAYER layer)
static

Definition at line 92 of file eflowCaloRegions.cxx.

93{
94 if (Unknown == layer)
95 return m_layerNames[nRegions];
96 else
97 return m_layerNames[layer];
98}
static const int nRegions
static const std::string m_layerNames[]
@ layer
Definition HitInfo.h:79

◆ translateCalo()

eflowFirstIntENUM eflowFirstIntRegions::translateCalo ( eflowCaloENUM layer)
static

Definition at line 84 of file eflowCaloRegions.cxx.

85{
86 if (eflowCalo::Unknown == layer)
87 return Unknown;
88 else
90}
static const J1STLAYER m_caloFirstIntMap[]

Member Data Documentation

◆ m_caloFirstIntMap

const eflowFirstIntENUM eflowFirstIntRegions::m_caloFirstIntMap
staticprivate
Initial value:

Definition at line 65 of file eflowCaloRegions.h.

72 :
73

◆ m_layerNames

const std::string eflowFirstIntRegions::m_layerNames
staticprivate
Initial value:
=
{
"EMB1", "EMB2", "EMB3",
"EME1", "EME2", "EME3",
"HEC",
"Tile",
"FCAL",
"N/A"
}

Definition at line 74 of file eflowCaloRegions.h.

◆ nRegions

const int eflowFirstIntRegions::nRegions = FCAL + 1
static

Definition at line 67 of file eflowCaloRegions.h.


The documentation for this class was generated from the following files: