ATLAS Offline Software
Public Types | Static Public Member Functions | Static Public Attributes | Static Private Attributes | List of all members
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

Enumerator
EMB1 
EMB2 
EMB3 
EME1 
EME2 
EME3 
HEC 
Tile 
FCAL 
Unknown 

Definition at line 58 of file eflowCaloRegions.h.

58  {
59  EMB1=0, EMB2, EMB3,
60  EME1, EME2, EME3,
61  HEC,
62  Tile,
63  FCAL,
64  Unknown=999
65  };

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 }

◆ translateCalo()

eflowFirstIntENUM eflowFirstIntRegions::translateCalo ( eflowCaloENUM  layer)
static

Definition at line 84 of file eflowCaloRegions.cxx.

85 {
87  return Unknown;
88  else
89  return m_caloFirstIntMap[layer];
90 }

Member Data Documentation

◆ m_caloFirstIntMap

const eflowFirstIntENUM eflowFirstIntRegions::m_caloFirstIntMap
staticprivate
Initial value:

Definition at line 75 of file eflowCaloRegions.h.

◆ 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:
eflowCalo::Unknown
@ Unknown
Definition: eflowCaloRegions.h:50
eflowFirstIntRegions::EMB3
@ EMB3
Definition: eflowCaloRegions.h:59
eflowFirstIntRegions::EME3
@ EME3
Definition: eflowCaloRegions.h:60
eflowFirstIntRegions::m_caloFirstIntMap
static const J1STLAYER m_caloFirstIntMap[]
Definition: eflowCaloRegions.h:75
eflowFirstIntRegions::EMB1
@ EMB1
Definition: eflowCaloRegions.h:59
eflowFirstIntRegions::FCAL
@ FCAL
Definition: eflowCaloRegions.h:63
eflowFirstIntRegions::Tile
@ Tile
Definition: eflowCaloRegions.h:62
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
eflowFirstIntRegions::HEC
@ HEC
Definition: eflowCaloRegions.h:61
eflowFirstIntRegions::m_layerNames
static const std::string m_layerNames[]
Definition: eflowCaloRegions.h:74
eflowFirstIntRegions::EME2
@ EME2
Definition: eflowCaloRegions.h:60
eflowFirstIntRegions::EMB2
@ EMB2
Definition: eflowCaloRegions.h:59
eflowFirstIntRegions::EME1
@ EME1
Definition: eflowCaloRegions.h:60
eflowFirstIntRegions::Unknown
@ Unknown
Definition: eflowCaloRegions.h:64
eflowFirstIntRegions::nRegions
static const int nRegions
Definition: eflowCaloRegions.h:67