141 stringstream wh; wh << wheel;
142 stringstream sec; sec << sector;
145 if(sector==4 || sector==10)
146 OccupancyHistos[make_pair(wheel, sector)]=
dbe->
book2D(
"Occupancy_W"+wh.str()+
"_Sec"+sec.str(),
"Occupancy W"+wh.str()+
"_Sec"+sec.str(),100,1,100,52,1,53);
148 OccupancyHistos[make_pair(wheel, sector)]=
dbe->
book2D(
"Occupancy_W"+wh.str()+
"_Sec"+sec.str(),
"Occupancy W"+wh.str()+
"_Sec"+sec.str(),100,1,100,44,1,45);
149 OccupancyHistos[make_pair(wheel, sector)]->setAxisTitle(
"wire number", 1);
195 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(45,
"M4Sec13L1",2);
196 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(46,
"M4Sec13L2",2);
197 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(47,
"M4Sec13L3",2);
198 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(48,
"M4Sec13L4",2);
199 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(49,
"M4Sec13L5",2);
200 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(50,
"M4Sec13L6",2);
201 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(51,
"M4Sec13L7",2);
202 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(52,
"M4Sec13L8",2);
205 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(45,
"M4Sec14L1",2);
206 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(46,
"M4Sec14L2",2);
207 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(47,
"M4Sec14L3",2);
208 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(48,
"M4Sec14L4",2);
209 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(49,
"M4Sec14L5",2);
210 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(50,
"M4Sec14L6",2);
211 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(51,
"M4Sec14L7",2);
212 OccupancyHistos[make_pair(wheel, sector)]->setBinLabel(52,
"M4Sec14L8",2);
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
std::map< std::pair< int, int >, MonitorElement * > OccupancyHistos