38 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
43 tagList = meVector[
i]->getTags();
44 DQMNet::TagList::iterator tagItr = tagList.begin();
46 while (tagItr != tagList.end() && !
flag ) {
69 edm::LogVerbatim (
"rpceventsummary") <<
"[RPCClusterSizeTest]:Client Operation";
80 std::stringstream meName;
145 float meanCLS = myMe->
getMean();
147 if (CLS) CLS -> setBinContent(xBin,yBin, NormCLS);
148 if(MEAN) MEAN -> setBinContent(xBin, yBin, meanCLS);
151 if(MEAND) MEAND->
Fill(meanCLS);
152 if(CLSD) CLSD->
Fill(NormCLS);
163 std::stringstream histoName;
168 for (
int w = -2;
w<=2;
w++ ){
171 histoName<<
"ClusterSizeIn1Bin_Roll_vs_Sector_Wheel"<<
w;
178 CLSWheel[w+2] =
dbe_->
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
184 histoName<<
"ClusterSizeMean_Roll_vs_Sector_Wheel"<<
w;
191 MEANWheel[w+2] =
dbe_->
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
198 histoName<<
"ClusterSizeIn1Bin_Distribution_Wheel"<<
w;
204 CLSDWheel[w+2] =
dbe_->
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
208 histoName<<
"ClusterSizeMean_Distribution_Wheel"<<
w;
214 MEANDWheel[w+2] =
dbe_->
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
220 if (d == 0 )
continue;
226 histoName<<
"ClusterSizeIn1Bin_Ring_vs_Segment_Disk"<<d;
239 histoName<<
"ClusterSizeIn1Bin_Distribution_Disk"<<d;
248 histoName<<
"ClusterSizeMean_Distribution_Disk"<<d;
259 histoName<<
"ClusterSizeMean_Ring_vs_Segment_Disk"<<d;
void clientOperation(edm::EventSetup const &c)
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
MonitorElement * CLSDDisk[10]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void beginRun(const edm::Run &r, const edm::EventSetup &c)
void labelXAxisSegment(MonitorElement *myMe)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring, bool useRollInfo)
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)
std::string globalFolder_
void labelYAxisRing(MonitorElement *myMe, int numberOfRings, bool useRollInfo)
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &)
void removeElement(const std::string &name)
MonitorElement * MEANDWheel[5]
std::vector< MonitorElement * > myClusterMe_
unsigned int offset(bool)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void endRun(const edm::Run &r, const edm::EventSetup &c)
void labelXAxisSector(MonitorElement *myMe)
MonitorElement * MEANWheel[5]
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Begin Lumi block.
MonitorElement * CLSDWheel[5]
int detId2RollNr(const RPCDetId &_id)
void analyze(const edm::Event &iEvent, const edm::EventSetup &c)
Analyze.
std::vector< uint32_t > TagList
RPCClusterSizeTest(const edm::ParameterSet &ps)
Constructor.
std::vector< RPCDetId > myDetIds_
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
End Lumi Block.
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * MEANDDisk[10]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
MonitorElement * CLSDisk[10]
void beginJob(DQMStore *, std::string)
BeginJob.
MonitorElement * CLSWheel[5]
void setCurrentFolder(const std::string &fullpath)
virtual ~RPCClusterSizeTest()
Destructor.
MonitorElement * MEANDisk[10]
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.