ATLAS Offline Software
eflowRingThicknesses.cxx
Go to the documentation of this file.
1 /* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration */
2 
4 
6 
7  double EM1 = 0.0491122;
8  double EM2 = 0.0175171;
9  double EM3 = 0.0278496;
10  double HEC = 0.0700683;
11  double Tile1Or2 = HEC;
12  double Tile3 = 0.111398;
13  double FCal = 0.141421;
14 
15  switch(layer){
16 
17  case eflowCalo::EMB1 : return EM1;
18  case eflowCalo::EMB2 : return EM2;
19  case eflowCalo::EMB3 : return EM3;
20  case eflowCalo::EME1 : return EM1;
21  case eflowCalo::EME2 : return EM2;
22  case eflowCalo::EME3 : return EM3;
23  case eflowCalo::HEC1 : return HEC;
24  case eflowCalo::HEC2 : return HEC;
25  case eflowCalo::HEC3 : return HEC;
26  case eflowCalo::HEC4 : return HEC;
27  case eflowCalo::Tile1 : return Tile1Or2;
28  case eflowCalo::Tile2 : return Tile1Or2;
29  case eflowCalo::Tile3 : return Tile3;
30  case eflowCalo::FCAL0 : return FCal;
31  case eflowCalo::FCAL1 : return FCal;
32  case eflowCalo::FCAL2 : return FCal;
33  case eflowCalo::Unknown : return 0.0;
34  }
35  //if no case was found return 0.0
36  return 0.0;
37 }
eflowCalo::EME3
@ EME3
Definition: eflowCaloRegions.h:46
HI::SubCalo::Lists::FCal
constexpr std::initializer_list< int > FCal
Definition: HIEventDefs.h:66
LArSamples::HEC
@ HEC
Definition: CaloId.h:26
Ringer::EM3
@ EM3
Definition: CaloRingsDefs.h:49
eflowCalo::FCAL0
@ FCAL0
Definition: eflowCaloRegions.h:49
eflowCalo::EMB2
@ EMB2
Definition: eflowCaloRegions.h:45
eflowCalo::Unknown
@ Unknown
Definition: eflowCaloRegions.h:50
Ringer::EM2
@ EM2
Definition: CaloRingsDefs.h:48
eflowRingThicknesses.h
eflowCalo::HEC2
@ HEC2
Definition: eflowCaloRegions.h:47
eflowRingThicknesses::ringThickness
static double ringThickness(const eflowCaloENUM &layer)
Definition: eflowRingThicknesses.cxx:5
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::HEC3
@ HEC3
Definition: eflowCaloRegions.h:47
eflowCalo::LAYER
LAYER
Definition: eflowCaloRegions.h:36
eflowCalo::EMB3
@ EMB3
Definition: eflowCaloRegions.h:45
eflowCalo::FCAL1
@ FCAL1
Definition: eflowCaloRegions.h:49
Ringer::EM1
@ EM1
Definition: CaloRingsDefs.h:47
eflowCalo::EME1
@ EME1
Definition: eflowCaloRegions.h:46