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] =
dbe->
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] =
dbe->
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] =
dbe->
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] =
dbe->
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] =
dbe->
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] =
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.
virtual std::string name()
std::string folderStructure(RPCDetId detId)
std::map< std::string, MonitorElement * > bookDetUnitSeg(RPCDetId &detId, int nstrips, std::string folder)
void setCurrentFolder(const std::string &fullpath)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.