28 std::vector<RPCDetId>& detIdVector,
31 for (
unsigned int i = 0;
i < meVector.size();
i++) {
34 if (meName.find(clientHistoName) != std::string::npos) {
42 edm::LogVerbatim(
"rpceventsummary") <<
"[RPCClusterSizeTest]:Client Operation";
53 std::stringstream meName;
90 int xBin = 0,
yBin = 0;
108 const float meanCLS = myMe->
getMean();
117 MEAND->
Fill(meanCLS);
142 std::stringstream histoName;
147 for (
int w = -2;
w <= 2;
w++) {
149 histoName <<
"ClusterSizeIn1Bin_Roll_vs_Sector_Wheel"
155 histoName <<
"ClusterSizeMean_Roll_vs_Sector_Wheel" <<
w;
161 histoName <<
"ClusterSizeIn1Bin_Distribution_Wheel" <<
w;
162 CLSDWheel[w + 2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
165 histoName <<
"ClusterSizeMean_Distribution_Wheel" <<
w;
166 MEANDWheel[w + 2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
179 histoName <<
"ClusterSizeIn1Bin_Ring_vs_Segment_Disk"
186 histoName <<
"ClusterSizeIn1Bin_Distribution_Disk" <<
d;
187 CLSDDisk[d +
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
190 histoName <<
"ClusterSizeMean_Distribution_Disk" <<
d;
191 MEANDDisk[d +
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
195 histoName <<
"ClusterSizeMean_Ring_vs_Segment_Disk" <<
d;
Log< level::Info, true > LogVerbatim
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * MEANWheel[kWheels]
virtual void setCurrentFolder(std::string const &fullpath)
void myBooker(DQMStore::IBooker &) override
MonitorElement * MEANDWheel[kWheels]
MonitorElement * CLSDisk[kDisks]
void clientOperation() override
MonitorElement * CLSDWheel[kWheels]
std::string globalFolder_
void beginJob(std::string &) override
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)
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)
RPCClusterSizeTest(const edm::ParameterSet &ps)
Constructor.
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
std::vector< RPCDetId > myDetIds_
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
MonitorElement * CLSDDisk[kDisks]
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)
MonitorElement * CLSWheel[kWheels]
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.