ATLAS Offline Software
Trigger
TrigT1
TrigT1CaloMappingTools
src
ChannelCoordinate.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#include "
ChannelCoordinate.h
"
7
8
namespace
LVL1
{
9
10
ChannelCoordinate::ChannelCoordinate
() : m_layer(NONE), m_eta(0.0), m_phi(0.0),
11
m_etaGran(0.0), m_phiGran(0.0)
12
{
13
}
14
15
ChannelCoordinate::ChannelCoordinate
(
const
CaloLayer
layer
,
const
double
eta,
16
const
double
phi,
const
double
etaGran,
17
const
double
phiGran) :
18
m_layer(
layer
), m_eta(eta), m_phi(phi), m_etaGran(etaGran), m_phiGran(phiGran)
19
{
20
}
21
22
std::string
ChannelCoordinate::layerName
(
const
CaloLayer
layer
)
23
{
24
std::string
name
;
25
switch
(
layer
) {
26
case
ChannelCoordinate::NONE
:
name
=
"NONE"
;
break
;
27
case
ChannelCoordinate::EM
:
name
=
"EM"
;
break
;
28
case
ChannelCoordinate::HAD
:
name
=
"HAD"
;
break
;
29
case
ChannelCoordinate::FCAL2
:
name
=
"FCAL2"
;
break
;
30
case
ChannelCoordinate::FCAL3
:
name
=
"FCAL3"
;
break
;
31
default
:
name
=
"????"
;
break
;
32
}
33
return
name
;
34
}
35
36
}
// end namespace
LVL1::ChannelCoordinate::ChannelCoordinate
ChannelCoordinate()
Definition:
ChannelCoordinate.cxx:10
LVL1::ChannelCoordinate::layer
CaloLayer layer() const
Definition:
ChannelCoordinate.h:56
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
LVL1::ChannelCoordinate::EM
@ EM
Definition:
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::FCAL3
@ FCAL3
Definition:
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::layerName
static std::string layerName(CaloLayer layer)
Return layer name.
Definition:
ChannelCoordinate.cxx:22
TRT::Hit::layer
@ layer
Definition:
HitInfo.h:79
TrigConf::name
Definition:
HLTChainList.h:35
LVL1::ChannelCoordinate::NONE
@ NONE
Definition:
ChannelCoordinate.h:23
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
LVL1::ChannelCoordinate::CaloLayer
CaloLayer
Definition:
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::FCAL2
@ FCAL2
Definition:
ChannelCoordinate.h:23
ChannelCoordinate.h
LVL1::ChannelCoordinate::HAD
@ HAD
Definition:
ChannelCoordinate.h:23
Generated on Tue Dec 24 2024 21:08:12 for ATLAS Offline Software by
1.8.18