Setup.
219 #ifndef EBCLUSTERTASKEXTRAS_DQMOFFLINE
221 sprintf(histo,
"EBCLTE SC size (crystal)");
223 meSCSizCrystal_->
setAxisTitle(
"super cluster size (crystal)", 1);
225 sprintf(histo,
"EBCLTE SC size (basic clusters)");
227 meSCSizBC_->
setAxisTitle(
"super cluster size (basic clusters)", 1);
229 sprintf(histo,
"EBCLTE SC size in basic clusters vs phi");
232 meSCSizPhi_->setAxisTitle(
"super cluster size (basic clusters)", 2);
234 sprintf(histo,
"EBCLTE SC seed crystal energy");
236 meSCSeedEne_->
setAxisTitle(
"seed crystal energy (GeV)", 1);
238 sprintf(histo,
"EBCLTE SC seed e2");
240 meSCEne2_->
setAxisTitle(
"seed + highest neighbor crystal energy (GeV)", 1);
242 sprintf(histo,
"EBCLTE SC energy low scale");
246 sprintf(histo,
"EBCLTE SC energy high scale");
250 sprintf(histo,
"EBCLTE SC single crystal energy (GeV)");
254 sprintf(histo,
"EBCLTE SC seed occupancy map trigger tower binned");
257 meSCSeedMapOccTT_->setAxisTitle(
"jeta", 2);
259 sprintf(histo,
"EBCLTE SC seed occupancy map (high energy clusters) (crystal binned)");
260 meSCSeedMapOccHighEne_ =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
262 meSCSeedMapOccHighEne_->setAxisTitle(
"jeta", 2);
264 sprintf(histo,
"EBCLTE SC single crystal cluster occupancy map");
265 meSCSeedMapOccSingleCrystal_ =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
267 meSCSeedMapOccSingleCrystal_->setAxisTitle(
"jeta", 2);
269 sprintf(histo,
"EBCLTE SC seed crystal timing");
273 sprintf(histo,
"EBCLTE SC seed crystal timing map trigger tower binned");
274 meSCSeedMapTimeTT_ =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
276 meSCSeedMapTimeTT_->setAxisTitle(
"jeta", 2);
278 sprintf(histo,
"EBCLTE SC seed crystal timing map module binned");
279 meSCSeedMapTimeMod_ =
dqmStore_->
bookProfile2D(histo,histo,18,0,360,8,-85,85,78,0.,10.,
"s");
281 meSCSeedMapTimeMod_->setAxisTitle(
"jeta",2);
283 sprintf(histo,
"EBCLTE SC seed crystal timing vs phi");
286 meSCSeedTimeVsPhi_->setAxisTitle(
"seed crystal timing",2);
288 sprintf(histo,
"EBCLTE SC seed crystal energy vs relative timing");
290 meSCSeedTimeVsAmp_->
setAxisTitle(
"seed crystal timing", 1);
291 meSCSeedTimeVsAmp_->setAxisTitle(
"seed crystal energy (GeV)", 2);
293 sprintf(histo,
"EBCLTE SC seed crystal timing EB -");
297 sprintf(histo,
"EBCLTE SC seed crystal timing EB +");
301 sprintf(histo,
"EBCLTE SC seed crystal timing EB - top");
303 meSCSeedTimeEBMTop_->
setAxisTitle(
"seed crystal timing", 1);
305 sprintf(histo,
"EBCLTE SC seed crystal timing EB + top");
307 meSCSeedTimeEBPTop_->
setAxisTitle(
"seed crystal timing", 1);
309 sprintf(histo,
"EBCLTE SC seed crystal timing EB - bottom");
311 meSCSeedTimeEBMBot_->
setAxisTitle(
"seed crystal timing", 1);
313 sprintf(histo,
"EBCLTE SC seed crystal timing EB + bottom");
315 meSCSeedTimeEBPBot_->
setAxisTitle(
"seed crystal timing", 1);
318 for(
int i=0;
i!=36;++
i) {
320 sprintf(histo,
"EBCLTE SC seed crystal timing EB - %i",
i+1);
322 sprintf(histo,
"EBCLTE SC seed crystal timing EB + %i",
i+1-18);
324 meSCSeedTimePerFed_[
i]->
setAxisTitle(
"seed crystal timing", 1);
329 sprintf(histo,
"EBCLTE SC seed occupancy map (CSC exclusive triggered)");
330 meSCSeedMapOccTrgExcl_[0] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
332 meSCSeedMapOccTrgExcl_[0]->setAxisTitle(
"jeta", 2);
334 sprintf(histo,
"EBCLTE SC seed occupancy map (DT exclusive triggered)");
335 meSCSeedMapOccTrgExcl_[1] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
337 meSCSeedMapOccTrgExcl_[1]->setAxisTitle(
"jeta", 2);
339 sprintf(histo,
"EBCLTE SC seed occupancy map (ECAL exclusive triggered)");
340 meSCSeedMapOccTrgExcl_[2] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
342 meSCSeedMapOccTrgExcl_[2]->setAxisTitle(
"jeta", 2);
344 sprintf(histo,
"EBCLTE SC seed occupancy map (HCAL exclusive triggered)");
345 meSCSeedMapOccTrgExcl_[3] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
347 meSCSeedMapOccTrgExcl_[3]->setAxisTitle(
"jeta", 2);
349 sprintf(histo,
"EBCLTE SC seed occupancy map (RPC exclusive triggered)");
350 meSCSeedMapOccTrgExcl_[4] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
352 meSCSeedMapOccTrgExcl_[4]->setAxisTitle(
"jeta", 2);
354 sprintf(histo,
"EBCLTE SC seed occupancy map (CSC triggered)");
355 meSCSeedMapOccTrg_[0] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
357 meSCSeedMapOccTrg_[0]->setAxisTitle(
"jeta", 2);
359 sprintf(histo,
"EBCLTE SC seed occupancy map (DT triggered)");
360 meSCSeedMapOccTrg_[1] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
362 meSCSeedMapOccTrg_[1]->setAxisTitle(
"jeta", 2);
364 sprintf(histo,
"EBCLTE SC seed occupancy map (ECAL triggered)");
365 meSCSeedMapOccTrg_[2] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
367 meSCSeedMapOccTrg_[2]->setAxisTitle(
"jeta", 2);
369 sprintf(histo,
"EBCLTE SC seed occupancy map (HCAL triggered)");
370 meSCSeedMapOccTrg_[3] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
372 meSCSeedMapOccTrg_[3]->setAxisTitle(
"jeta", 2);
374 sprintf(histo,
"EBCLTE SC seed occupancy map (RPC triggered)");
375 meSCSeedMapOccTrg_[4] =
dqmStore_->
book2D(histo,histo,360,0,360,170,-85,85);
377 meSCSeedMapOccTrg_[4]->setAxisTitle(
"jeta", 2);
379 sprintf(histo,
"EBCLTE SC seed crystal timing map (CSC triggered) module binned");
380 meSCSeedMapTimeTrgMod_[0] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
382 meSCSeedMapTimeTrgMod_[0]->setAxisTitle(
"jeta", 2);
384 sprintf(histo,
"EBCLTE SC seed crystal timing map (DT triggered) module binned");
385 meSCSeedMapTimeTrgMod_[1] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
387 meSCSeedMapTimeTrgMod_[1]->setAxisTitle(
"jeta", 2);
389 sprintf(histo,
"EBCLTE SC seed crystal timing map (ECAL triggered) module binned");
390 meSCSeedMapTimeTrgMod_[2] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
392 meSCSeedMapTimeTrgMod_[2]->setAxisTitle(
"jeta", 2);
394 sprintf(histo,
"EBCLTE SC seed crystal timing map (HCAL triggered) module binned");
395 meSCSeedMapTimeTrgMod_[3] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
397 meSCSeedMapTimeTrgMod_[3]->setAxisTitle(
"jeta", 2);
399 sprintf(histo,
"EBCLTE SC seed crystal timing map (RPC triggered) module binned");
400 meSCSeedMapTimeTrgMod_[4] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
402 meSCSeedMapTimeTrgMod_[4]->setAxisTitle(
"jeta", 2);
406 sprintf(histo,
"EBCLTE SC size (crystal) vs energy (GeV)");
411 sprintf(histo,
"EBCLTE SC seed occupancy map");
416 sprintf(histo,
"EBCLTE SC seed occupancy map (high energy clusters) trigger tower binned");
421 sprintf(histo,
"EBCLTE SC seed occupancy map (CSC triggered) trigger tower binned");
426 sprintf(histo,
"EBCLTE SC seed occupancy map (DT triggered) trigger tower binned");
431 sprintf(histo,
"EBCLTE SC seed occupancy map (ECAL triggered) trigger tower binned");
436 sprintf(histo,
"EBCLTE SC seed occupancy map (HCAL triggered) trigger tower binned");
441 sprintf(histo,
"EBCLTE SC seed occupancy map (RPC triggered) trigger tower binned");
446 sprintf(histo,
"EBCLTE SC seed occupancy map (CSC exclusive triggered) trigger tower binned");
451 sprintf(histo,
"EBCLTE SC seed occupancy map (DT exclusive triggered) trigger tower binned");
456 sprintf(histo,
"EBCLTE SC seed occupancy map (ECAL exclusive triggered) trigger tower binned");
461 sprintf(histo,
"EBCLTE SC seed occupancy map (HCAL exclusive triggered) trigger tower binned");
466 sprintf(histo,
"EBCLTE SC seed occupancy map (RPC exclusive triggered) trigger tower binned");
471 sprintf(histo,
"EBCLTE SC seed crystal timing map (CSC exclusive triggered) trigger tower binned");
472 meSCSeedMapTimeTrgTT_[0] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
476 sprintf(histo,
"EBCLTE SC seed crystal timing map (DT exclusive triggered) trigger tower binned");
477 meSCSeedMapTimeTrgTT_[1] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
481 sprintf(histo,
"EBCLTE SC seed crystal timing map (ECAL exclusive triggered) trigger tower binned");
482 meSCSeedMapTimeTrgTT_[2] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
486 sprintf(histo,
"EBCLTE SC seed crystal timing map (HCAL exclusive triggered) trigger tower binned");
487 meSCSeedMapTimeTrgTT_[3] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
491 sprintf(histo,
"EBCLTE SC seed crystal timing map (RPC exclusive triggered) trigger tower binned");
492 meSCSeedMapTimeTrgTT_[4] =
dqmStore_->
bookProfile2D(histo,histo,72,0,360,34,-85,85,78,0.,10.,
"s");
496 sprintf(histo,
"EBCLTE SC seed crystal timing (CSC triggered)");
500 sprintf(histo,
"EBCLTE SC seed crystal timing (DT triggered)");
504 sprintf(histo,
"EBCLTE SC seed crystal timing (ECAL triggered)");
508 sprintf(histo,
"EBCLTE SC seed crystal timing (HCAL triggered)");
512 sprintf(histo,
"EBCLTE SC seed crystal timing (RPC triggered)");
516 sprintf(histo,
"EBCLTE triggers");
520 sprintf(histo,
"EBCLTE exclusive triggers");
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")