Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TowerInfoContainer.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TowerInfoContainer.cc
1
#include "
TowerInfoContainer.h
"
2
#include "
TowerInfoDefs.h
"
3
4
void
TowerInfoContainer::identify
(std::ostream&
os
)
const
5
{
6
os <<
"TowerInfoContainer Base Class "
<< std::endl;
7
}
8
9
unsigned
int
TowerInfoContainer::encode_epd
(
unsigned
int
towerIndex)
10
{
11
unsigned
int
key =
TowerInfoDefs::encode_epd
(towerIndex);
12
return
key;
13
}
14
15
unsigned
int
TowerInfoContainer::encode_emcal
(
unsigned
int
towerIndex)
16
{
17
unsigned
int
key =
TowerInfoDefs::encode_emcal
(towerIndex);
18
return
key;
19
}
20
21
unsigned
int
TowerInfoContainer::encode_hcal
(
unsigned
int
towerIndex)
22
{
23
unsigned
int
key =
TowerInfoDefs::encode_hcal
(towerIndex);
24
return
key;
25
}
26
27
unsigned
int
TowerInfoContainer::encode_mbd
(
unsigned
int
towerIndex)
28
{
29
unsigned
int
key =
TowerInfoDefs::encode_mbd
(towerIndex);
30
return
key;
31
}
32
unsigned
int
TowerInfoContainer::encode_zdc
(
unsigned
int
towerIndex)
33
{
34
unsigned
int
key =
TowerInfoDefs::encode_zdc
(towerIndex);
35
return
key;
36
}
37
38
unsigned
int
TowerInfoContainer::decode_epd
(
unsigned
int
tower_key)
39
{
40
unsigned
int
index
=
TowerInfoDefs::decode_epd
(tower_key);
41
return
index
;
42
}
43
44
unsigned
int
TowerInfoContainer::decode_emcal
(
unsigned
int
tower_key)
45
{
46
unsigned
int
index
=
TowerInfoDefs::decode_emcal
(tower_key);
47
return
index
;
48
}
49
50
unsigned
int
TowerInfoContainer::decode_hcal
(
unsigned
int
tower_key)
51
{
52
unsigned
int
index
=
TowerInfoDefs::decode_hcal
(tower_key);
53
return
index
;
54
}
55
56
unsigned
int
TowerInfoContainer::decode_mbd
(
unsigned
int
tower_key)
57
{
58
unsigned
int
index
=
TowerInfoDefs::decode_mbd
(tower_key);
59
return
index
;
60
}
61
unsigned
int
TowerInfoContainer::decode_zdc
(
unsigned
int
tower_key)
62
{
63
unsigned
int
index
=
TowerInfoDefs::decode_zdc
(tower_key);
64
return
index
;
65
}
66
67
unsigned
int
TowerInfoContainer::getTowerPhiBin
(
unsigned
int
key)
68
{
69
unsigned
int
phibin =
TowerInfoDefs::getCaloTowerPhiBin
(key);
70
return
phibin;
71
}
72
73
unsigned
int
TowerInfoContainer::getTowerEtaBin
(
unsigned
int
key)
74
{
75
unsigned
int
etabin
=
TowerInfoDefs::getCaloTowerEtaBin
(key);
76
return
etabin
;
77
}
coresoftware
blob
master
offline
packages
CaloBase
TowerInfoContainer.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:05
using
1.8.2 with
sPHENIX GitHub integration