28 std::vector<RPCDetId>& detIdVector,
31 for (
unsigned int i = 0;
i < meVector.size();
i++)
36 edm::LogVerbatim(
"rpceventsummary") <<
"[RPCClusterSizeTest]:Client Operation";
57 for (
int sector = 1; sector <= 12; sector++) {
60 if (tmpName == meName) {
67 for (
int yBin_ = 1; yBin_ <= myMe->
getNbinsY(); yBin_++) {
70 for (
int xBin_ = 1; xBin_ <=
nbinsX; xBin_++) {
72 h->SetBinContent(xBin_,
cl);
76 meanCLS =
h->GetMean();
91 const std::array<std::string, 4> chNames = {{
"CH01-CH09",
"CH10-CH18",
"CH19-CH27",
"CH28-CH36"}};
99 for (
unsigned int ich = 0; ich < chNames.size(); ich++) {
102 if (tmpName == meName) {
119 for (
int yBin_ = 1; yBin_ <= myMe->
getNbinsY(); yBin_++) {
122 for (
int xBin_ = 1; xBin_ <=
nbinsX; xBin_++) {
124 h->SetBinContent(xBin_,
cl);
127 yBin = yBin_ - (3 * ((yBin_ - 1) / 3)) + (3 * (
ring - 2));
131 meanCLS =
h->GetMean();
138 MEAND->
Fill(meanCLS);
167 for (
int w = -2;
w <= 2;
w++) {
169 histoName <<
"ClusterSizeMean_Roll_vs_Sector_Wheel" <<
w;
175 histoName <<
"ClusterSizeMean_Distribution_Wheel" <<
w;
189 histoName <<
"ClusterSizeMean_Ring_vs_Segment_Disk" <<
d;
195 histoName <<
"ClusterSizeMean_Distribution_Disk" <<
d;
Log< level::Info, true > LogVerbatim
MonitorElement * MEANWheel[kWheels]
virtual void setCurrentFolder(std::string const &fullpath)
void myBooker(DQMStore::IBooker &) override
MonitorElement * MEANDWheel[kWheels]
void clientOperation() override
std::string globalFolder_
void beginJob(std::string &) override
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * MEANDisk[kDisks]
MonitorElement * MEANDDisk[kDisks]
virtual double getEntries() const
get # of entries
std::vector< MonitorElement * > myClusterMe_
virtual int getNbinsY() const
get # of bins in Y-axis
RPCClusterSizeTest(const edm::ParameterSet &ps)
Constructor.
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
const std::string & getName() const
get name of ME
virtual int getNbinsX() const
get # of bins in X-axis
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)
void getMonitorElements(std::vector< MonitorElement *> &, std::vector< RPCDetId > &, std::string &) override
virtual double getBinContent(int binx) const
get content of bin (1-D)