37 for (
int w = -2;
w <= 2;
w++) {
41 histoName <<
"RPCNoisyStrips_Distribution_Wheel" <<
w;
45 histoName <<
"RPCStripsDeviation_Distribution_Wheel" <<
w;
50 histoName <<
"RPCNoisyStrips_Roll_vs_Sector_Wheel" <<
w;
66 histoName <<
"RPCNoisyStrips_Distribution_Disk" <<
d;
70 histoName <<
"RPCStripsDeviation_Distribution_Disk" <<
d;
75 histoName <<
"RPCNoisyStrips_Ring_vs_Segment_Disk" <<
d;
82 std::vector<RPCDetId>& detIdVector,
85 for (
unsigned int i = 0;
i < meVector.size();
i++) {
88 if (meName.find(clientHistoName) != std::string::npos) {
96 std::stringstream meName;
102 if (detId.
region() == 0) {
125 std::vector<float> myvector;
128 for (
int xbin = 1; xbin <=
bins; xbin++) {
131 myvector.push_back(binContent);
136 if (!myvector.empty()) {
137 float ymean = entries / myvector.size();
138 for (
unsigned int i = 0;
i < myvector.size();
i++) {
139 float deviation = myvector[
i] / ymean;
145 DEVD->
Fill(deviation);
149 if (detId.
region() == 0) {
164 NOISED->
Fill(noisyStrips);
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
Log< level::Info, true > LogVerbatim
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * NOISEDDisk[10]
std::string globalFolder_
std::vector< RPCDetId > myDetIds_
RPCNoisyStripTest(const edm::ParameterSet &ps)
T getUntrackedParameter(std::string const &, T const &) const
std::vector< MonitorElement * > myOccupancyMe_
MonitorElement * NOISEDWheel[5]
void clientOperation() override
virtual double getEntries() const
get # of entries
MonitorElement * DEVDWheel[5]
int detId2RollNr(const RPCDetId &_id)
MonitorElement * NOISEDisk[10]
void beginJob(std::string &) override
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
void myBooker(DQMStore::IBooker &) override
virtual int getNbinsX() const
get # of bins in X-axis
void getMonitorElements(std::vector< MonitorElement *> &, std::vector< RPCDetId > &, std::string &) override
MonitorElement * DEVDDisk[10]
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)
void fillGlobalME(RPCDetId &, MonitorElement *)
MonitorElement * NOISEWheel[5]
virtual double getBinContent(int binx) const
get content of bin (1-D)