27 EcalTPGFineGrainTowerEEPlot()
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());
std::map< uint32_t, uint32_t >::const_iterator EcalTPGFineGrainTowerEEMapIterator
static EcalScDetId unhashIndex(int hi)
unsigned ttId(DetId const &, EcalElectronicsMapping const *)
#define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME)
void DrawEE_Tower(TH2F *endc, TLine *l, double minScale, double maxScale)
#define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME)
std::map< uint32_t, uint32_t > EcalTPGFineGrainTowerEEMap
static bool validHashIndex(int hi)
std::shared_ptr< PayloadType > fetchPayload(const cond::Hash &payloadHash)