32 std::vector<RPCDetId>& detIdVector,
35 for (
unsigned int i = 0;
i < meVector.size();
i++) {
38 if (meName.find(clientHistoName) != std::string::npos) {
46 edm::LogVerbatim(
"rpceventsummary") <<
"[RPCClusterSizeTest]:Client Operation";
57 std::stringstream meName;
109 : yBin = (detId.
ring() - 1) * 3 - detId.
roll() + 1);
115 float meanCLS = myMe->
getMean();
124 MEAND->
Fill(meanCLS);
154 for (
int w = -2;
w <= 2;
w++) {
156 histoName <<
"ClusterSizeIn1Bin_Roll_vs_Sector_Wheel" 158 CLSWheel[w + 2] = ibooker.
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
163 histoName <<
"ClusterSizeMean_Roll_vs_Sector_Wheel" <<
w;
164 MEANWheel[w + 2] = ibooker.
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
171 histoName <<
"ClusterSizeIn1Bin_Distribution_Wheel" <<
w;
172 CLSDWheel[w + 2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
175 histoName <<
"ClusterSizeMean_Distribution_Wheel" <<
w;
176 MEANDWheel[w + 2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
189 histoName <<
"ClusterSizeIn1Bin_Ring_vs_Segment_Disk" 192 histoName.str().c_str(),
204 histoName <<
"ClusterSizeIn1Bin_Distribution_Disk" <<
d;
205 CLSDDisk[d +
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
208 histoName <<
"ClusterSizeMean_Distribution_Disk" <<
d;
209 MEANDDisk[d +
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
213 histoName <<
"ClusterSizeMean_Ring_vs_Segment_Disk" <<
d;
215 histoName.str().c_str(),
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 * MEANWheel[kWheels]
void setCurrentFolder(std::string const &fullpath)
void myBooker(DQMStore::IBooker &) override
void labelXAxisSegment(MonitorElement *myMe)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring, bool useRollInfo)
MonitorElement * MEANDWheel[kWheels]
MonitorElement * CLSDisk[kDisks]
void clientOperation() override
MonitorElement * CLSDWheel[kWheels]
std::string globalFolder_
void beginJob(std::string &) override
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &, std::string &) override
virtual double getEntries() const
get # of entries
MonitorElement * MEANDisk[kDisks]
MonitorElement * MEANDDisk[kDisks]
std::vector< MonitorElement * > myClusterMe_
virtual double getBinContent(int binx) const
get content of bin (1-D)
void labelXAxisSector(MonitorElement *myMe)
int detId2RollNr(const RPCDetId &_id)
~RPCClusterSizeTest() override
Destructor.
virtual double getMean(int axis=1) const
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
RPCClusterSizeTest(const edm::ParameterSet &ps)
Constructor.
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
std::vector< RPCDetId > myDetIds_
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
MonitorElement * CLSDDisk[kDisks]
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
MonitorElement * CLSWheel[kWheels]
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.