ATLAS Offline Software
Loading...
Searching...
No Matches
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
ChannelCoordinate.h
LVL1::ChannelCoordinate::m_phi
double m_phi
central phi
Definition
ChannelCoordinate.h:50
LVL1::ChannelCoordinate::m_eta
double m_eta
central eta
Definition
ChannelCoordinate.h:49
LVL1::ChannelCoordinate::ChannelCoordinate
ChannelCoordinate()
Definition
ChannelCoordinate.cxx:10
LVL1::ChannelCoordinate::phi
double phi() const
Definition
ChannelCoordinate.h:66
LVL1::ChannelCoordinate::CaloLayer
CaloLayer
Definition
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::HAD
@ HAD
Definition
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::FCAL3
@ FCAL3
Definition
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::FCAL2
@ FCAL2
Definition
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::NONE
@ NONE
Definition
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::EM
@ EM
Definition
ChannelCoordinate.h:23
LVL1::ChannelCoordinate::eta
double eta() const
Definition
ChannelCoordinate.h:61
LVL1::ChannelCoordinate::layer
CaloLayer layer() const
Definition
ChannelCoordinate.h:56
LVL1::ChannelCoordinate::layerName
static std::string layerName(CaloLayer layer)
Return layer name.
Definition
ChannelCoordinate.cxx:22
LVL1::ChannelCoordinate::m_etaGran
double m_etaGran
eta granularity
Definition
ChannelCoordinate.h:51
LVL1::ChannelCoordinate::m_layer
CaloLayer m_layer
calo layer
Definition
ChannelCoordinate.h:48
LVL1::ChannelCoordinate::m_phiGran
double m_phiGran
phi granularity
Definition
ChannelCoordinate.h:52
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition
ICMMCPHitsCnvTool.h:18
TrigConf::name
Definition
HLTChainList.h:35
Generated on
for ATLAS Offline Software by
1.14.0