22 int rawId = detId.
rawId();
27 sprintf(meId,
"ExpectedOccupancyFromDT_%d",rawId);
28 sprintf(meTitle,
"ExpectedOccupancyFromDT_for_%d",rawId);
29 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
31 sprintf(meId,
"RPCDataOccupancyFromDT_%d",rawId);
32 sprintf(meTitle,
"RPCDataOccupancyFromDT_for_%d",rawId);
33 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
41 sprintf(meId,
"ExpectedOccupancyFromCSC_%d",rawId);
42 sprintf(meTitle,
"ExpectedOccupancyFromCSC_for_%d",rawId);
43 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
45 sprintf(meId,
"RPCDataOccupancyFromCSC_%d",rawId);
46 sprintf(meTitle,
"RPCDataOccupancyFromCSC_for_%d",rawId);
47 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
uint32_t rawId() const
get the raw id
void bookDetUnitSeg(RPCDetId &detId, int nstrips, std::string folder, std::map< std::string, MonitorElement * > &)
void setCurrentFolder(const std::string &fullpath)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.