Setup.
198 #ifndef EECLUSTERTASKEXTRAS_DQMOFFLINE
200 sprintf(histo,
"EECLTE SC size (crystal)");
202 meSCSizCrystal_->
setAxisTitle(
"super cluster size (crystal)", 1);
204 sprintf(histo,
"EECLTE SC size (basic clusters)");
206 meSCSizBC_->
setAxisTitle(
"super cluster size (basic clusters)", 1);
208 sprintf(histo,
"EECLTE SC energy");
212 sprintf(histo,
"EECLTE SC + highest neighbor energy");
214 meSCEne2_->
setAxisTitle(
"+ highest neighbor energy (GeV)", 1);
216 sprintf(histo,
"EECLTE SC energy low scale");
220 sprintf(histo,
"EECLTE SC energy high scale");
224 sprintf(histo,
"EECLTE SC single crystal cluster energy (GeV)");
228 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(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 sprintf(histo,
"EECLTE SC relative timing");
372 sprintf(histo,
"EECLTE SC relative timing vs amplitude");
374 meSCSeedTimeVsAmp_->
setAxisTitle(
"seed crystal timing", 1);
375 meSCSeedTimeVsAmp_->setAxisTitle(
"energy (GeV)", 2);
377 sprintf(histo,
"EECLTE SC relative timing EE -");
381 sprintf(histo,
"EECLTE SC relative timing EE +");
386 for(
int i=0;
i!=18;++
i) {
388 sprintf(histo,
"EECLTE SC timing EE - %i",
i+1);
390 sprintf(histo,
"EECLTE SC timing EE + %i",
i+1-9);
392 meSCSeedTimePerFed_[
i]->
setAxisTitle(
"seed crystal timing", 1);
399 sprintf(histo,
"EECLTE SC size (crystal) vs energy (GeV)");
404 sprintf(histo,
"EECLTE SC seed occupancy map EE -");
409 sprintf(histo,
"EECLTE SC seed occupancy map EE - (high energy clusters) super crystal binned");
414 sprintf(histo,
"EECLTE SC seed occupancy map EE - (CSC triggered) super crystal binned");
419 sprintf(histo,
"EECLTE SC seed occupancy map EE - (DT triggered) super crystal binned");
424 sprintf(histo,
"EECLTE SC seed occupancy map EE - (ECAL triggered) super crystal binned");
429 sprintf(histo,
"EECLTE SC seed occupancy map EE - (HCAL triggered) super crystal binned");
434 sprintf(histo,
"EECLTE SC seed occupancy map EE - (RPC triggered) super crystal binned");
439 sprintf(histo,
"EECLTE SC seed occupancy map EE - (CSC exclusive triggered) super crystal binned");
444 sprintf(histo,
"EECLTE SC seed occupancy map EE - (DT exclusive triggered) super crystal binned");
449 sprintf(histo,
"EECLTE SC seed occupancy map EE - (ECAL exclusive triggered) super crystal binned");
454 sprintf(histo,
"EECLTE SC seed occupancy map EE - (HCAL exclusive triggered) super crystal binned");
459 sprintf(histo,
"EECLTE SC seed occupancy map EE - (RPC exclusive triggered) super crystal binned");
464 sprintf(histo,
"EECLTE SC seed occupancy map EE +");
469 sprintf(histo,
"EECLTE SC seed occupancy map EE + (high energy clusters) super crystal binned");
474 sprintf(histo,
"EECLTE SC seed occupancy map EE + (CSC triggered) super crystal binned");
479 sprintf(histo,
"EECLTE SC seed occupancy map EE + (DT triggered) super crystal binned");
484 sprintf(histo,
"EECLTE SC seed occupancy map EE + (ECAL triggered) super crystal binned");
489 sprintf(histo,
"EECLTE SC seed occupancy map EE + (HCAL triggered) super crystal binned");
494 sprintf(histo,
"EECLTE SC seed occupancy map EE + (RPC triggered) super crystal binned");
499 sprintf(histo,
"EECLTE SC seed occupancy map EE + (CSC exclusive triggered) super crystal binned");
504 sprintf(histo,
"EECLTE SC seed occupancy map EE + (DT exclusive triggered) super crystal binned");
509 sprintf(histo,
"EECLTE SC seed occupancy map EE + (ECAL exclusive triggered) super crystal binned");
514 sprintf(histo,
"EECLTE SC seed occupancy map EE + (HCAL exclusive triggered) super crystal binned");
519 sprintf(histo,
"EECLTE SC seed occupancy map EE + (RPC exclusive triggered) super crystal binned");
524 sprintf(histo,
"EECLTE SC seed crystal timing map EE - (CSC exclusive triggered) super crystal binned");
525 meSCSeedMapTimeTrgSC_[0][0] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
529 sprintf(histo,
"EECLTE SC seed crystal timing map EE - (DT exclusive triggered) super crystal binned");
530 meSCSeedMapTimeTrgSC_[0][1] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
534 sprintf(histo,
"EECLTE SC seed crystal timing map EE - (ECAL exclusive triggered) super crystal binned");
535 meSCSeedMapTimeTrgSC_[0][2] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
539 sprintf(histo,
"EECLTE SC seed crystal timing map EE - (HCAL exclusive triggered) super crystal binned");
540 meSCSeedMapTimeTrgSC_[0][3] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
544 sprintf(histo,
"EECLTE SC seed crystal timing map EE - (RPC exclusive triggered) super crystal binned");
545 meSCSeedMapTimeTrgSC_[0][4] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
549 sprintf(histo,
"EECLTE SC seed crystal timing map EE + (CSC exclusive triggered) super crystal binned");
550 meSCSeedMapTimeTrgSC_[1][0] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
554 sprintf(histo,
"EECLTE SC seed crystal timing map EE + (DT exclusive triggered) super crystal binned");
555 meSCSeedMapTimeTrgSC_[1][1] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
559 sprintf(histo,
"EECLTE SC seed crystal timing map EE + (ECAL exclusive triggered) super crystal binned");
560 meSCSeedMapTimeTrgSC_[1][2] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
564 sprintf(histo,
"EECLTE SC seed crystal timing map EE + (HCAL exclusive triggered) super crystal binned");
565 meSCSeedMapTimeTrgSC_[1][3] =
dqmStore_->
bookProfile2D(histo,histo,20,0,100,20,0,100,78,0.,10.,
"s");
569 sprintf(histo,
"EECLTE SC seed crystal timing map EE + (RPC exclusive triggered) super crystal binned");
570 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")