Setup.
198 #ifndef EECLUSTERTASKEXTRAS_DQMOFFLINE
200 histo =
"EECLTE SC size (crystal)";
202 meSCSizCrystal_->
setAxisTitle(
"super cluster size (crystal)", 1);
204 histo =
"EECLTE SC size (basic clusters)";
206 meSCSizBC_->
setAxisTitle(
"super cluster size (basic clusters)", 1);
208 histo =
"EECLTE SC energy";
212 histo =
"EECLTE SC + highest neighbor energy";
214 meSCEne2_->
setAxisTitle(
"+ highest neighbor energy (GeV)", 1);
216 histo =
"EECLTE SC energy low scale";
220 histo =
"EECLTE SC energy high scale";
224 histo =
"EECLTE SC single crystal cluster energy (GeV)";
228 histo =
"EECLTE SC seed occupancy map super crystal binned EE -";
229 meSCSeedMapOccSC_[0] =
dqmStore_->
book2D(histo,histo,20,0,100,20,0,100);
231 meSCSeedMapOccSC_[0]->setAxisTitle(
"jy", 2);
233 histo =
"EECLTE SC seed occupancy map EE - (high energy clusters)";
234 meSCSeedMapOccHighEne_[0] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
236 meSCSeedMapOccHighEne_[0]->setAxisTitle(
"jy", 2);
238 histo =
"EECLTE SC single crystal cluster seed occupancy map EE -";
239 meSCSeedMapOccSingleCrystal_[0] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
241 meSCSeedMapOccSingleCrystal_[0]->setAxisTitle(
"jy", 2);
243 histo =
"EECLTE SC seed occupancy map EE - (CSC triggered)";
244 meSCSeedMapOccTrg_[0][0] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
246 meSCSeedMapOccTrg_[0][0]->setAxisTitle(
"jy", 2);
248 histo =
"EECLTE SC seed occupancy map EE - (DT triggered)";
249 meSCSeedMapOccTrg_[0][1] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
251 meSCSeedMapOccTrg_[0][1]->setAxisTitle(
"jy", 2);
253 histo =
"EECLTE SC seed occupancy map EE - (ECAL triggered)";
254 meSCSeedMapOccTrg_[0][2] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
256 meSCSeedMapOccTrg_[0][2]->setAxisTitle(
"jy", 2);
258 histo =
"EECLTE SC seed occupancy map EE - (HCAL triggered)";
259 meSCSeedMapOccTrg_[0][3] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
261 meSCSeedMapOccTrg_[0][3]->setAxisTitle(
"jy", 2);
263 histo =
"EECLTE SC seed occupancy map EE - (RPC triggered)";
264 meSCSeedMapOccTrg_[0][4] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
266 meSCSeedMapOccTrg_[0][4]->setAxisTitle(
"jy", 2);
268 histo =
"EECLTE SC seed occupancy map EE - (CSC exclusive triggered)";
269 meSCSeedMapOccTrgExcl_[0][0] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
271 meSCSeedMapOccTrgExcl_[0][0]->setAxisTitle(
"jy", 2);
273 histo =
"EECLTE SC seed occupancy map EE - (DT exclusive triggered)";
274 meSCSeedMapOccTrgExcl_[0][1] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
276 meSCSeedMapOccTrgExcl_[0][1]->setAxisTitle(
"jy", 2);
278 histo =
"EECLTE SC seed occupancy map EE - (ECAL exclusive triggered)";
279 meSCSeedMapOccTrgExcl_[0][2] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
281 meSCSeedMapOccTrgExcl_[0][2]->setAxisTitle(
"jy", 2);
283 histo =
"EECLTE SC seed occupancy map EE - (HCAL exclusive triggered)";
284 meSCSeedMapOccTrgExcl_[0][3] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
286 meSCSeedMapOccTrgExcl_[0][3]->setAxisTitle(
"jy", 2);
288 histo =
"EECLTE SC seed occupancy map EE - (RPC exclusive triggered)";
289 meSCSeedMapOccTrgExcl_[0][4] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
291 meSCSeedMapOccTrgExcl_[0][4]->setAxisTitle(
"jy", 2);
293 histo =
"EECLTE SC seed occupancy map super crystal binned EE +";
294 meSCSeedMapOccSC_[1] =
dqmStore_->
book2D(histo,histo,20,0,100,20,0,100);
296 meSCSeedMapOccSC_[1]->setAxisTitle(
"jy", 2);
298 histo =
"EECLTE SC seed occupancy map EE + (high energy clusters)";
299 meSCSeedMapOccHighEne_[1] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
301 meSCSeedMapOccHighEne_[1]->setAxisTitle(
"jy", 2);
303 histo =
"EECLTE SC single crystal cluster seed occupancy map EE +";
304 meSCSeedMapOccSingleCrystal_[1] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
306 meSCSeedMapOccSingleCrystal_[1]->setAxisTitle(
"jy", 2);
308 histo =
"EECLTE SC seed occupancy map EE + (CSC triggered)";
309 meSCSeedMapOccTrg_[1][0] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
311 meSCSeedMapOccTrg_[1][0]->setAxisTitle(
"jy", 2);
313 histo =
"EECLTE SC seed occupancy map EE + (DT triggered)";
314 meSCSeedMapOccTrg_[1][1] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
316 meSCSeedMapOccTrg_[1][1]->setAxisTitle(
"jy", 2);
318 histo =
"EECLTE SC seed occupancy map EE + (ECAL triggered)";
319 meSCSeedMapOccTrg_[1][2] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
321 meSCSeedMapOccTrg_[1][2]->setAxisTitle(
"jy", 2);
323 histo =
"EECLTE SC seed occupancy map EE + (HCAL triggered)";
324 meSCSeedMapOccTrg_[1][3] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
326 meSCSeedMapOccTrg_[1][3]->setAxisTitle(
"jy", 2);
328 histo =
"EECLTE SC seed occupancy map EE + (RPC triggered)";
329 meSCSeedMapOccTrg_[1][4] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
331 meSCSeedMapOccTrg_[1][4]->setAxisTitle(
"jy", 2);
333 histo =
"EECLTE SC seed occupancy map EE + (CSC exclusive triggered)";
334 meSCSeedMapOccTrgExcl_[1][0] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
336 meSCSeedMapOccTrgExcl_[1][0]->setAxisTitle(
"jy", 2);
338 histo =
"EECLTE SC seed occupancy map EE + (DT exclusive triggered)";
339 meSCSeedMapOccTrgExcl_[1][1] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
341 meSCSeedMapOccTrgExcl_[1][1]->setAxisTitle(
"jy", 2);
343 histo =
"EECLTE SC seed occupancy map EE + (ECAL exclusive triggered)";
344 meSCSeedMapOccTrgExcl_[1][2] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
346 meSCSeedMapOccTrgExcl_[1][2]->setAxisTitle(
"jy", 2);
348 histo =
"EECLTE SC seed occupancy map EE + (HCAL exclusive triggered)";
349 meSCSeedMapOccTrgExcl_[1][3] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
351 meSCSeedMapOccTrgExcl_[1][3]->setAxisTitle(
"jy", 2);
353 histo =
"EECLTE SC seed occupancy map EE + (RPC exclusive triggered)";
354 meSCSeedMapOccTrgExcl_[1][4] =
dqmStore_->
book2D(histo,histo,100,0,100,100,0,100);
356 meSCSeedMapOccTrgExcl_[1][4]->setAxisTitle(
"jy", 2);
358 histo =
"EECLTE SC seed crystal timing map EE + super crystal binned";
359 meSCSeedMapTimeSC_[1] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
361 meSCSeedMapTimeSC_[1]->setAxisTitle(
"jy", 2);
363 histo =
"EECLTE SC seed crystal timing map EE + super crystal binned";
364 meSCSeedMapTimeSC_[1] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
366 meSCSeedMapTimeSC_[1]->setAxisTitle(
"jy", 2);
368 histo =
"EECLTE SC relative timing";
372 histo =
"EECLTE SC relative timing vs amplitude";
374 meSCSeedTimeVsAmp_->
setAxisTitle(
"seed crystal timing", 1);
375 meSCSeedTimeVsAmp_->setAxisTitle(
"energy (GeV)", 2);
377 histo =
"EECLTE SC relative timing EE -";
381 histo =
"EECLTE SC relative timing EE +";
385 std::stringstream ss;
387 for(
int i=0;
i!=18;++
i) {
390 ss <<
"EECLTE SC timing EE - " <<
i+1;
394 ss <<
"EECLTE SC timing EE + " << i+1-9;
398 meSCSeedTimePerFed_[
i]->
setAxisTitle(
"seed crystal timing", 1);
405 histo =
"EECLTE SC size (crystal) vs energy (GeV)";
410 histo =
"EECLTE SC seed occupancy map EE -";
415 histo =
"EECLTE SC seed occupancy map EE - (high energy clusters) super crystal binned";
420 histo =
"EECLTE SC seed occupancy map EE - (CSC triggered) super crystal binned";
425 histo =
"EECLTE SC seed occupancy map EE - (DT triggered) super crystal binned";
430 histo =
"EECLTE SC seed occupancy map EE - (ECAL triggered) super crystal binned";
435 histo =
"EECLTE SC seed occupancy map EE - (HCAL triggered) super crystal binned";
440 histo =
"EECLTE SC seed occupancy map EE - (RPC triggered) super crystal binned";
445 histo =
"EECLTE SC seed occupancy map EE - (CSC exclusive triggered) super crystal binned";
450 histo =
"EECLTE SC seed occupancy map EE - (DT exclusive triggered) super crystal binned";
455 histo =
"EECLTE SC seed occupancy map EE - (ECAL exclusive triggered) super crystal binned";
460 histo =
"EECLTE SC seed occupancy map EE - (HCAL exclusive triggered) super crystal binned";
465 histo =
"EECLTE SC seed occupancy map EE - (RPC exclusive triggered) super crystal binned";
470 histo =
"EECLTE SC seed occupancy map EE +";
475 histo =
"EECLTE SC seed occupancy map EE + (high energy clusters) super crystal binned";
480 histo =
"EECLTE SC seed occupancy map EE + (CSC triggered) super crystal binned";
485 histo =
"EECLTE SC seed occupancy map EE + (DT triggered) super crystal binned";
490 histo =
"EECLTE SC seed occupancy map EE + (ECAL triggered) super crystal binned";
495 histo =
"EECLTE SC seed occupancy map EE + (HCAL triggered) super crystal binned";
500 histo =
"EECLTE SC seed occupancy map EE + (RPC triggered) super crystal binned";
505 histo =
"EECLTE SC seed occupancy map EE + (CSC exclusive triggered) super crystal binned";
510 histo =
"EECLTE SC seed occupancy map EE + (DT exclusive triggered) super crystal binned";
515 histo =
"EECLTE SC seed occupancy map EE + (ECAL exclusive triggered) super crystal binned";
520 histo =
"EECLTE SC seed occupancy map EE + (HCAL exclusive triggered) super crystal binned";
525 histo =
"EECLTE SC seed occupancy map EE + (RPC exclusive triggered) super crystal binned";
530 histo =
"EECLTE SC seed crystal timing map EE - (CSC exclusive triggered) super crystal binned";
531 meSCSeedMapTimeTrgSC_[0][0] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
535 histo =
"EECLTE SC seed crystal timing map EE - (DT exclusive triggered) super crystal binned";
536 meSCSeedMapTimeTrgSC_[0][1] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
540 histo =
"EECLTE SC seed crystal timing map EE - (ECAL exclusive triggered) super crystal binned";
541 meSCSeedMapTimeTrgSC_[0][2] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
545 histo =
"EECLTE SC seed crystal timing map EE - (HCAL exclusive triggered) super crystal binned";
546 meSCSeedMapTimeTrgSC_[0][3] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
550 histo =
"EECLTE SC seed crystal timing map EE - (RPC exclusive triggered) super crystal binned";
551 meSCSeedMapTimeTrgSC_[0][4] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
555 histo =
"EECLTE SC seed crystal timing map EE + (CSC exclusive triggered) super crystal binned";
556 meSCSeedMapTimeTrgSC_[1][0] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
560 histo =
"EECLTE SC seed crystal timing map EE + (DT exclusive triggered) super crystal binned";
561 meSCSeedMapTimeTrgSC_[1][1] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
565 histo =
"EECLTE SC seed crystal timing map EE + (ECAL exclusive triggered) super crystal binned";
566 meSCSeedMapTimeTrgSC_[1][2] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
570 histo =
"EECLTE SC seed crystal timing map EE + (HCAL exclusive triggered) super crystal binned";
571 meSCSeedMapTimeTrgSC_[1][3] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
575 histo =
"EECLTE SC seed crystal timing map EE + (RPC exclusive triggered) super crystal binned";
576 meSCSeedMapTimeTrgSC_[1][4] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * bookProfile2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, int nchZ, double lowZ, double highZ, const char *option="s")