28 std::stringstream histoName;
30 for (
int i = -2;
i <= 2;
i++) {
33 histoName <<
"NumberOfDigi_Mean_Roll_vs_Sector_Wheel" <<
i;
40 histoName <<
"NumberOfDigi_Mean_Distribution_Wheel" <<
i;
41 MULTDWheel[i + 2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 50.5);
55 histoName <<
"NumberOfDigi_Mean_Ring_vs_Segment_Disk" <<
d;
61 histoName <<
"NumberOfDigi_Mean_Distribution_Disk" <<
d;
62 MULTDDisk[d +
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 50.5);
68 std::vector<RPCDetId>& detIdVector,
71 for (
unsigned int i = 0;
i < meVector.size();
i++) {
74 if (meName.find(clientHistoName) != std::string::npos) {
82 edm::LogVerbatim(
"multiplicity") <<
"[RPCMultiplicityTest]: Client Operation";
116 if (detId.
region() == 0) {
125 : yBin = (detId.
ring() - 1) * 3 - detId.
roll() + 1);
Log< level::Info, true > LogVerbatim
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * MULTDDisk[10]
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * MULTDisk[10]
RPCMultiplicityTest(const edm::ParameterSet &ps)
Constructor.
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &, std::string &) override
void fillGlobalME(RPCDetId &detId, MonitorElement *myMe)
MonitorElement * MULTDWheel[5]
MonitorElement * MULTWheel[5]
void clientOperation() override
void myBooker(DQMStore::IBooker &) override
int detId2RollNr(const RPCDetId &_id)
virtual double getMean(int axis=1) const
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
void beginJob(std::string &) override
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
std::vector< RPCDetId > myDetIds_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
std::string globalFolder_
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)
std::vector< MonitorElement * > myNumDigiMe_
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.