4 #include <calobase/TowerInfo.h>
5 #include <calobase/TowerInfoContainerv1.h>
40 cout <<
"Detector not set via Detector(<name>) method" << endl;
41 cout <<
"(it is the name appended to the G4TOWER_<name> nodename)" << endl;
42 cout <<
"you do not want to run like this, exiting now" << endl;
46 etot_hist =
new TH1F(
"etot",
"total deposited energy", 200, 0, 20);
72 unsigned int nchannels = g4towers->size();
78 unsigned int towerkey = g4towers->encode_key(
channel);
79 int ieta = g4towers->getTowerEtaBin(towerkey);
80 int iphi = g4towers->getTowerPhiBin(towerkey);
82 towers->
AddTower(towerenergy,ieta,iphi);