16 std::map<std::string, MonitorElement*> meMap;
29 char detUnitLabel[128];
32 sprintf(detUnitLabel ,
"%s",nameRoll.c_str());
33 sprintf(layerLabel ,
"%s",nameRoll.c_str());
42 sprintf(meId,
"ExpectedOccupancyFromDT_%s",detUnitLabel);
43 sprintf(meTitle,
"ExpectedOccupancyFromDT_for_%s",layerLabel);
44 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
47 sprintf(meId,
"RPCDataOccupancyFromDT_%s",detUnitLabel);
48 sprintf(meTitle,
"RPCDataOccupancyFromDT_for_%s",layerLabel);
49 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
51 sprintf(meId,
"Profile_%s",detUnitLabel);
52 sprintf(meTitle,
"Profile_for_%s",layerLabel);
53 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
64 sprintf(meId,
"ExpectedOccupancyFromCSC_%s",detUnitLabel);
65 sprintf(meTitle,
"ExpectedOccupancyFromCSC_for_%s",layerLabel);
66 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
69 sprintf(meId,
"RPCDataOccupancyFromCSC_%s",detUnitLabel);
70 sprintf(meTitle,
"RPCDataOccupancyFromCSC_for_%s",layerLabel);
71 meMap[meId] =
dbe->
book1D(meId, meTitle, nstrips, 0.5, nstrips+0.5);
74 sprintf(meId,
"Profile_%s",detUnitLabel);
75 sprintf(meTitle,
"Profile_for_%s",layerLabel);
76 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.