21 enum { kEBTotalTowers = 2448, kEETotalTowers = 1584 };
29 EcalTPGFineGrainEBGroupPlot()
34 bool fill(
const std::vector<std::tuple<cond::Time_t, cond::Hash> >& iovs)
override {
38 double minEB = 0, maxEB = 1;
40 auto iov = iovs.front();
42 unsigned int run = std::get<0>(iov);
47 for (it = towerMap.begin(); it != towerMap.end(); ++it) {
61 if (
ttId.subDet() == 1) {
65 if (maxEB < (*it).second)
67 if (minEB > (*it).second)
75 gStyle->SetPalette(1);
76 gStyle->SetOptStat(0);
87 t1.DrawLatex(0.5, 0.96, Form(
"Ecal TPGFine GrainEBGroup, IOV %i",
run));
89 TPad** pad =
new TPad*;
91 pad[
obj] =
new TPad(Form(
"p_%i",
obj), Form(
"p_%i",
obj), 0.0, 0.04, 1.0, 0.94);
95 t1.DrawLatex(0.2, 0.88, Form(
"%i towers", EBcount));
100 barrel->SetMaximum(maxEB);
102 TLine*
l =
new TLine(0., 0., 0., 0.);
105 Double_t
x = 4. + (
i * 4);
109 l =
new TLine(0., 0., 72., 0.);
113 canvas.SaveAs(ImageName.c_str());