ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RawTower.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file RawTower.cc
1 #include "RawTower.h"
2 
3 #include <phool/phool.h> // for PHOOL_VIRTUAL_WARN
4 
5 #include <cstdlib> // for exit
6 
9 
11 {
12  return DummyCellMap.end();
13 }
14 
16 {
17  return DummyCellMap.end();
18 }
19 
21 {
22  PHOOL_VIRTUAL_WARN("get_g4cells()");
23  return CellConstRange(DummyCellMap.begin(), DummyCellMap.end());
24 }
25 
27 {
28  PHOOL_VIRTUAL_WARN("get_g4showers()");
29  return ShowerConstRange(DummyShowerMap.begin(), DummyShowerMap.end());
30 }
31 
33 {
34  return DummyShowerMap.end();
35 }
36 
38 {
39  return DummyShowerMap.end();
40 }
41 
43 {
44  switch (prop_id)
45  {
46  case prop_scint_gammas:
47  return "Scintillation photon count or energy";
49  return "Cherenkov photon count or energy";
50 
51  default:
52  std::cout << "RawTower::get_property_info - Fatal Error - unknown index " << prop_id << std::endl;
53  exit(1);
54  }
55 }