14 std::map<std::string, MonitorElement*> meMap;
26 char detUnitLabel[128];
29 sprintf(detUnitLabel ,
"%s",nameRoll.c_str());
30 sprintf(layerLabel ,
"%s",nameRoll.c_str());
39 sprintf(meId,
"ExpectedOccupancyFromDT_%s",detUnitLabel);
40 sprintf(meTitle,
"ExpectedOccupancyFromDT_for_%s",layerLabel);
41 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
44 sprintf(meId,
"RPCDataOccupancyFromDT_%s",detUnitLabel);
45 sprintf(meTitle,
"RPCDataOccupancyFromDT_for_%s",layerLabel);
46 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
48 sprintf(meId,
"Profile_%s",detUnitLabel);
49 sprintf(meTitle,
"Profile_for_%s",layerLabel);
50 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
61 sprintf(meId,
"ExpectedOccupancyFromCSC_%s",detUnitLabel);
62 sprintf(meTitle,
"ExpectedOccupancyFromCSC_for_%s",layerLabel);
63 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
66 sprintf(meId,
"RPCDataOccupancyFromCSC_%s",detUnitLabel);
67 sprintf(meTitle,
"RPCDataOccupancyFromCSC_for_%s",layerLabel);
68 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
71 sprintf(meId,
"Profile_%s",detUnitLabel);
72 sprintf(meTitle,
"Profile_for_%s",layerLabel);
73 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
virtual std::string name()
MonitorElement * book1D(Args &&...args)
void setCurrentFolder(const std::string &fullpath)
std::string folderStructure(RPCDetId detId)
std::map< std::string, MonitorElement * > bookDetUnitSeg(DQMStore::IBooker &, RPCDetId &, int nstrips, std::string)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.