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

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

#include <eflowCaloRegions.h>

Collaboration diagram for eflowCalo:

Public Types

enum  LAYER {
  EMB1 =0 , EMB2 , EMB3 , EME1 ,
  EME2 , EME3 , HEC1 , HEC2 ,
  HEC3 , HEC4 , Tile1 , Tile2 ,
  Tile3 , FCAL0 , FCAL1 , FCAL2 ,
  Unknown =999
}

Static Public Member Functions

static const std::string & name (LAYER layer)
static LAYER translateSampl (CaloCell_ID::CaloSample sampl)

Static Public Attributes

static const int nRegions = FCAL2 + 1

Static Private Attributes

static const std::string m_layerNames []
static const LAYER m_samplCaloMap []

Detailed Description

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

Definition at line 24 of file eflowCaloRegions.h.

Member Enumeration Documentation

◆ LAYER

Enumerator
EMB1 
EMB2 
EMB3 
EME1 
EME2 
EME3 
HEC1 
HEC2 
HEC3 
HEC4 
Tile1 
Tile2 
Tile3 
FCAL0 
FCAL1 
FCAL2 
Unknown 

Definition at line 28 of file eflowCaloRegions.h.

Member Function Documentation

◆ name()

const std::string & eflowCalo::name ( LAYER layer)
static

Definition at line 53 of file eflowCaloRegions.cxx.

54{
55 if (Unknown == layer)
56 return m_layerNames[nRegions];
57 else
58 return m_layerNames[layer];
59}
static const std::string m_layerNames[]
static const int nRegions
@ layer
Definition HitInfo.h:79

◆ translateSampl()

eflowCaloENUM eflowCalo::translateSampl ( CaloCell_ID::CaloSample sampl)
static

Definition at line 45 of file eflowCaloRegions.cxx.

46{
47 if (CaloCell_ID::Unknown == sampl)
48 return Unknown;
49 else
50 return m_samplCaloMap[sampl];
51}
static const LAYER m_samplCaloMap[]

Member Data Documentation

◆ m_layerNames

const std::string eflowCalo::m_layerNames
staticprivate
Initial value:
=
{
"EMB1", "EMB2", "EMB3",
"EME1", "EME2", "EME3",
"HEC1", "HEC2", "HEC3", "HEC4",
"Tile1", "Tile2", "Tile3",
"FCAL0", "FCAL1", "FCAL2",
"N/A"
}

Definition at line 35 of file eflowCaloRegions.h.

42 :
43

◆ m_samplCaloMap

const eflowCaloENUM eflowCalo::m_samplCaloMap
staticprivate
Initial value:

Definition at line 23 of file eflowCaloRegions.h.

25{
26 public:
27
28 enum LAYER {
29 EMB1=0, EMB2, EMB3,
30 EME1, EME2, EME3,
31 HEC1, HEC2, HEC3, HEC4,

◆ nRegions

const int eflowCalo::nRegions = FCAL2 + 1
static

Definition at line 37 of file eflowCaloRegions.h.


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