40 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
45 tagList = meVector[
i]->getTags();
46 DQMNet::TagList::iterator tagItr = tagList.begin();
48 while (tagItr != tagList.end() && !
flag ) {
71 edm::LogVerbatim (
"rpceventsummary") <<
"[RPCClusterSizeTest]:Client Operation";
82 std::stringstream meName;
147 float meanCLS = myMe->
getMean();
149 if (CLS) CLS -> setBinContent(xBin,yBin, NormCLS);
150 if(MEAN) MEAN -> setBinContent(xBin, yBin, meanCLS);
153 if(MEAND) MEAND->
Fill(meanCLS);
154 if(CLSD) CLSD->
Fill(NormCLS);
182 std::stringstream histoName;
187 for (
int w = -2;
w <= 2;
w++) {
189 histoName<<
"ClusterSizeIn1Bin_Roll_vs_Sector_Wheel"<<
w;
196 CLSWheel[w+2] =
dbe_->
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
202 histoName<<
"ClusterSizeMean_Roll_vs_Sector_Wheel"<<
w;
209 MEANWheel[w+2] =
dbe_->
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
216 histoName<<
"ClusterSizeIn1Bin_Distribution_Wheel"<<
w;
222 CLSDWheel[w+2] =
dbe_->
book1D(histoName.str().c_str(), histoName.str().c_str(), 20, 0.0, 1.0);
226 histoName<<
"ClusterSizeMean_Distribution_Wheel"<<
w;
232 MEANDWheel[w+2] =
dbe_->
book1D(histoName.str().c_str(), histoName.str().c_str(), 100, 0.5, 10.5);
245 histoName<<
"ClusterSizeIn1Bin_Ring_vs_Segment_Disk"<<d;
258 histoName<<
"ClusterSizeIn1Bin_Distribution_Disk"<<d;
267 histoName<<
"ClusterSizeMean_Distribution_Disk"<<d;
278 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 * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * MEANWheel[kWheels]
void beginRun(const edm::Run &r, const edm::EventSetup &c)
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)
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &)
void removeElement(const std::string &name)
MonitorElement * MEANDisk[kDisks]
MonitorElement * MEANDDisk[kDisks]
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)
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Begin Lumi block.
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 * CLSDDisk[kDisks]
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void beginJob(DQMStore *, std::string)
BeginJob.
void setCurrentFolder(const std::string &fullpath)
MonitorElement * CLSWheel[kWheels]
virtual ~RPCClusterSizeTest()
Destructor.
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.