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

42  :
43 

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 }

◆ 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 }

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 52 of file eflowCaloRegions.h.

◆ m_samplCaloMap

const eflowCaloENUM eflowCalo::m_samplCaloMap
staticprivate
Initial value:

Definition at line 53 of file eflowCaloRegions.h.

◆ nRegions

const int eflowCalo::nRegions = FCAL2 + 1
static

Definition at line 45 of file eflowCaloRegions.h.


The documentation for this class was generated from the following files:
eflowCalo::EME3
@ EME3
Definition: eflowCaloRegions.h:46
GetLCDefs::Unknown
@ Unknown
Definition: GetLCDefs.h:21
eflowCalo::FCAL0
@ FCAL0
Definition: eflowCaloRegions.h:49
eflowCalo::EMB2
@ EMB2
Definition: eflowCaloRegions.h:45
eflowCalo::Unknown
@ Unknown
Definition: eflowCaloRegions.h:50
eflowCalo::m_layerNames
static const std::string m_layerNames[]
Definition: eflowCaloRegions.h:52
eflowCalo::HEC2
@ HEC2
Definition: eflowCaloRegions.h:47
eflowCalo::Tile1
@ Tile1
Definition: eflowCaloRegions.h:48
eflowCalo::Tile2
@ Tile2
Definition: eflowCaloRegions.h:48
eflowCalo::HEC4
@ HEC4
Definition: eflowCaloRegions.h:47
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
eflowCalo::EME2
@ EME2
Definition: eflowCaloRegions.h:46
eflowCalo::Tile3
@ Tile3
Definition: eflowCaloRegions.h:48
eflowCalo::HEC1
@ HEC1
Definition: eflowCaloRegions.h:47
eflowCalo::EMB1
@ EMB1
Definition: eflowCaloRegions.h:45
eflowCalo::FCAL2
@ FCAL2
Definition: eflowCaloRegions.h:49
eflowCalo::nRegions
static const int nRegions
Definition: eflowCaloRegions.h:45
eflowCalo::HEC3
@ HEC3
Definition: eflowCaloRegions.h:47
eflowCalo::m_samplCaloMap
static const LAYER m_samplCaloMap[]
Definition: eflowCaloRegions.h:53
eflowCalo::EMB3
@ EMB3
Definition: eflowCaloRegions.h:45
eflowCalo::FCAL1
@ FCAL1
Definition: eflowCaloRegions.h:49
eflowCalo::EME1
@ EME1
Definition: eflowCaloRegions.h:46