40 std::cout<<
"CastorRecHitMonitor::bookHistograms"<<std::endl;
43 sprintf(s,
"CastorRecHitSumInSectors");
49 sprintf(s,
"CastorTileRecHit");
55 sprintf(s,
"CastorRecHitMap(cumulative)");
61 sprintf(s,
"CastorRecHitOccMap");
67 sprintf(s,
"CastorRecHitEntriesMap");
73 sprintf(s,
"CastorRecHitTime");
76 sprintf(s,
"Reco all tiles");
80 std::cout<<
"CastorRecHitMonitor::bookHistograms(end)"<<std::endl;
95 if(castorHits.
size() <= 0)
return;
97 for(CASTORiter=castorHits.
begin(); CASTORiter!=castorHits.
end(); ++CASTORiter)
99 float energy = CASTORiter->energy();
100 float time = CASTORiter->time();
102 if(time < -100.) time2 = -100.;
108 int sector = (int)
id.sector();
117 for (
int z=0;
z<14;
z++) {
122 if(rh < 0.)
continue;
130 for(
int mod=1;
mod<=14;
mod++)
for(
int sec=1; sec<=16;sec++) {
T getUntrackedParameter(std::string const &, T const &) const
float energyInEachChannel[14][16]
void setup(const edm::ParameterSet &ps)
std::vector< CastorRecHit >::const_iterator const_iterator
MonitorElement * hallchan
MonitorElement * h2RHentriesMap
std::string subsystemname
CastorRecHitMonitor(const edm::ParameterSet &ps)
MonitorElement * book1D(Args &&...args)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
const_iterator end() const
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
MonitorElement * h2RHoccmap
void processEvent(const CastorRecHitCollection &castorHits)
TH2F * getTH2F(void) const
T mod(const T &a, const T &b)
const_iterator begin() const