38 for (
int i = -2;
i <= 2;
i++) {
41 histoName <<
"NumberOfDigi_Mean_Roll_vs_Sector_Wheel" <<
i;
43 MULTWheel[i + 2] = ibooker.
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
50 histoName <<
"NumberOfDigi_Mean_Distribution_Wheel" <<
i;
51 MULTDWheel[i + 2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 50.5);
65 histoName <<
"NumberOfDigi_Mean_Ring_vs_Segment_Disk" <<
d;
67 histoName.str().c_str(),
79 histoName <<
"NumberOfDigi_Mean_Distribution_Disk" <<
d;
80 MULTDDisk[d +
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 50.5);
86 std::vector<RPCDetId>& detIdVector,
89 for (
unsigned int i = 0;
i < meVector.size();
i++) {
92 if (meName.find(clientHistoName) != std::string::npos) {
100 edm::LogVerbatim(
"multiplicity") <<
"[RPCMultiplicityTest]: Client Operation";
112 if (detId.
region() == 0) {
134 if (detId.
region() == 0) {
143 : yBin = (detId.
ring() - 1) * 3 - detId.
roll() + 1);
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * MULTDDisk[10]
void setCurrentFolder(std::string const &fullpath)
MonitorElement * MULTDisk[10]
void labelXAxisSegment(MonitorElement *myMe)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring, bool useRollInfo)
RPCMultiplicityTest(const edm::ParameterSet &ps)
Constructor.
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &, std::string &) override
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
void fillGlobalME(RPCDetId &detId, MonitorElement *myMe)
MonitorElement * MULTDWheel[5]
MonitorElement * MULTWheel[5]
void labelXAxisSector(MonitorElement *myMe)
void clientOperation() override
~RPCMultiplicityTest() override
Destructor.
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)
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 * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
std::string globalFolder_
std::vector< MonitorElement * > myNumDigiMe_
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.