ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
RawTowerZDC.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RawTowerZDC.cc
1
#include "
RawTowerZDC.h
"
2
3
#include <
phool/phool.h
>
// for PHOOL_VIRTUAL_WARN
4
5
#include <cstdlib>
// for exit
6
7
RawTowerZDC::CellMap
DummyCellMap
;
8
RawTowerZDC::ShowerMap
DummyShowerMap
;
9
10
RawTowerZDC::CellIterator
RawTowerZDC::find_g4cell
(
CellKeyType
/*id*/
)
11
{
12
return
DummyCellMap
.end();
13
}
14
15
RawTowerZDC::CellConstIterator
RawTowerZDC::find_g4cell
(
CellKeyType
/*id*/
)
const
16
{
17
return
DummyCellMap
.end();
18
}
19
20
RawTowerZDC::CellConstRange
RawTowerZDC::get_g4cells
()
const
21
{
22
PHOOL_VIRTUAL_WARN
(
"get_g4cells()"
);
23
return
CellConstRange
(
DummyCellMap
.begin(),
DummyCellMap
.end());
24
}
25
26
RawTowerZDC::ShowerConstRange
RawTowerZDC::get_g4showers
()
const
27
{
28
PHOOL_VIRTUAL_WARN
(
"get_g4showers()"
);
29
return
ShowerConstRange
(
DummyShowerMap
.begin(),
DummyShowerMap
.end());
30
}
31
32
RawTowerZDC::ShowerIterator
RawTowerZDC::find_g4shower
(
int
/*id*/
)
33
{
34
return
DummyShowerMap
.end();
35
}
36
37
RawTowerZDC::ShowerConstIterator
RawTowerZDC::find_g4shower
(
int
/*id*/
)
const
38
{
39
return
DummyShowerMap
.end();
40
}
41
42
const
std::string
RawTowerZDC::get_property_info
(
RawTowerZDC::PROPERTY
prop_id)
43
{
44
switch
(prop_id)
45
{
46
case
prop_scint_gammas
:
47
return
"Scintillation photon count or energy"
;
48
case
prop_cerenkov_gammas
:
49
return
"Cherenkov photon count or energy"
;
50
51
default
:
52
std::cout <<
"RawTowerZDC::get_property_info - Fatal Error - unknown index "
<< prop_id << std::endl;
53
exit
(1);
54
}
55
}
fun4all_eicdetectors
blob
master
reconstruction
eiczdcbase
RawTowerZDC.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:45
using
1.8.2 with
ECCE GitHub integration