22 std::map<std::string, MonitorElement*>
25 std::map<std::string, MonitorElement*> meMap;
35 if(detId.
region() == -1) regionName=
"Encap-";
36 if(detId.
region() == 1) regionName=
"Encap+";
40 sprintf(folder,
"L1T/L1TRPCTPG/Strips/%s/%s_%d/station_%d/sector_%d",
41 regionName.c_str(),ringType.c_str(),
44 dbe->setCurrentFolder(folder);
47 char detUnitLabel[328];
53 sprintf(detUnitLabel ,
"%s",nameRoll.c_str());
54 sprintf(layerLabel ,
"%s",nameRoll.c_str());
61 sprintf(meId,
"Occupancy_%s",detUnitLabel);
62 sprintf(meTitle,
"Occupancy_for_%s",layerLabel);
65 meMap[meId] = dbe->book1D(meId, meTitle, 100, 0.5, 100.5);
67 sprintf(meId,
"BXN_%s",detUnitLabel);
68 sprintf(meTitle,
"BXN_for_%s",layerLabel);
69 meMap[meId] = dbe->book1D(meId, meTitle, 11, -10.5, 10.5);
71 sprintf(meId,
"BXN_vs_strip_%s",detUnitLabel);
72 sprintf(meTitle,
"BXN_vs_strip_for_%s",layerLabel);
73 meMap[meId] = dbe->book2D(meId, meTitle, 100, 0.5, 100.5, 11, -10.5, 10.5);
std::map< std::string, MonitorElement * > L1TRPCBookME(RPCDetId &detId)
Booking of MonitoringElemnt for one RPCDetId (= roll)
virtual std::string name()
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.