36 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
40 if(meName.find(clientHistoName) != std::string::npos){
50 edm::LogVerbatim (
"rpceventsummary") <<
"[RPCClusterSizeTest]:Client Operation";
61 std::stringstream meName;
126 float meanCLS = myMe->
getMean();
128 if (CLS) CLS -> setBinContent(xBin,yBin, NormCLS);
129 if(MEAN) MEAN -> setBinContent(xBin, yBin, meanCLS);
132 if(MEAND) MEAND->
Fill(meanCLS);
133 if(CLSD) CLSD->
Fill(NormCLS);
159 std::stringstream histoName;
164 for (
int w = -2;
w <= 2;
w++) {
166 histoName<<
"ClusterSizeIn1Bin_Roll_vs_Sector_Wheel"<<
w;
167 CLSWheel[w+2] = ibooker.
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
173 histoName<<
"ClusterSizeMean_Roll_vs_Sector_Wheel"<<
w;
174 MEANWheel[w+2] = ibooker.
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
181 histoName<<
"ClusterSizeIn1Bin_Distribution_Wheel"<<
w;
182 CLSDWheel[w+2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
186 histoName<<
"ClusterSizeMean_Distribution_Wheel"<<
w;
187 MEANDWheel[w+2] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
200 histoName<<
"ClusterSizeIn1Bin_Ring_vs_Segment_Disk"<<
d;
207 histoName<<
"ClusterSizeIn1Bin_Distribution_Disk"<<
d;
208 CLSDDisk[d+
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
211 histoName<<
"ClusterSizeMean_Distribution_Disk"<<
d;
212 MEANDDisk[d+
offset] = ibooker.
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
217 histoName<<
"ClusterSizeMean_Ring_vs_Segment_Disk"<<
d;
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * MEANWheel[kWheels]
void myBooker(DQMStore::IBooker &)
void labelXAxisSegment(MonitorElement *myMe)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring, bool useRollInfo)
MonitorElement * MEANDWheel[kWheels]
double getEntries(void) const
get # of entries
double getMean(int axis=1) const
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
MonitorElement * CLSDisk[kDisks]
MonitorElement * CLSDWheel[kWheels]
std::string globalFolder_
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
MonitorElement * MEANDisk[kDisks]
MonitorElement * MEANDDisk[kDisks]
MonitorElement * book1D(Args &&...args)
std::vector< MonitorElement * > myClusterMe_
void labelXAxisSector(MonitorElement *myMe)
int detId2RollNr(const RPCDetId &_id)
void setCurrentFolder(const std::string &fullpath)
RPCClusterSizeTest(const edm::ParameterSet &ps)
Constructor.
MonitorElement * book2D(Args &&...args)
void beginJob(std::string &)
std::vector< RPCDetId > myDetIds_
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &, std::string &)
double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * CLSDDisk[kDisks]
MonitorElement * CLSWheel[kWheels]
virtual ~RPCClusterSizeTest()
Destructor.
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.