27 EcalTPGFineGrainTowerEEPlot()
32 bool fill(
const std::vector<std::tuple<cond::Time_t, cond::Hash> >& iovs)
override {
33 TH2F* endc_p =
new TH2F(
"EE+",
"EE+ Tower TPG FineGrain", 22, 0, 22, 22, 0, 22);
34 TH2F* endc_m =
new TH2F(
"EE-",
"EE- Tower TPG FineGrain", 22, 0, 22, 22, 0, 22);
36 auto iov = iovs.front();
38 unsigned int run = std::get<0>(iov);
39 double minEE = 0, maxEE = 1;
45 for (it = towerMap.begin(); it != towerMap.end(); ++it) {
53 uint32_t
weight = (uint32_t)((*it).second);
56 endc_m->Fill(ix, iy,
weight);
58 endc_p->Fill(ix, iy,
weight);
69 TCanvas
canvas(
"CC map",
"CC map", 800, 800);
74 t1.DrawLatex(0.5, 0.96, Form(
"Ecal TPGFineGrain Tower EE, IOV %i",
run));
76 TPad* padem =
new TPad(
"padem",
"padem", 0., 0.3, 0.45, 0.75);
78 TPad* padep =
new TPad(
"padep",
"padep", 0.55, 0.3, 1., 0.75);
81 TLine*
l =
new TLine(0., 0., 72., 0.);
91 canvas.SaveAs(ImageName.c_str());