18 int rawId = detId.
rawId();
23 sprintf(meId,
"ExpectedOccupancyFromDT_%d",rawId);
24 sprintf(meTitle,
"ExpectedOccupancyFromDT_for_%d",rawId);
25 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
27 sprintf(meId,
"RPCDataOccupancyFromDT_%d",rawId);
28 sprintf(meTitle,
"RPCDataOccupancyFromDT_for_%d",rawId);
29 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
33 sprintf(meId,
"ExpectedOccupancyFromCSC_%d",rawId);
34 sprintf(meTitle,
"ExpectedOccupancyFromCSC_for_%d",rawId);
35 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
37 sprintf(meId,
"RPCDataOccupancyFromCSC_%d",rawId);
38 sprintf(meTitle,
"RPCDataOccupancyFromCSC_for_%d",rawId);
39 meMap[meId] = ibooker.
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
void bookDetUnitSeg(DQMStore::IBooker &, RPCDetId &detId, int nstrips, std::string folder, std::map< std::string, MonitorElement * > &)
uint32_t rawId() const
get the raw id
MonitorElement * book1D(Args &&...args)
void setCurrentFolder(const std::string &fullpath)
std::string folderStructure(RPCDetId detId)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.