6 #include <calobase/RawTowerGeomContainer.h>
7 #include <calobase/TowerInfo.h>
8 #include <calobase/TowerInfoContainer.h>
38 std::cout <<
"Detector not set via Detector(<name>) method" << std::endl;
39 std::cout <<
"(it is the name appended to the G4TOWER_<name> nodename)" << std::endl;
40 std::cout <<
"you do not want to run like this, exiting now" << std::endl;
44 etot_hist =
new TH1F(
"etot",
"total deposited energy", 200, 0, 20);
71 unsigned int nchannels = g4towers->size();
77 unsigned int towerkey = g4towers->encode_key(
channel);
78 int ieta = g4towers->getTowerEtaBin(towerkey);
79 int iphi = g4towers->getTowerPhiBin(towerkey);