23 prefixDir_ = subsystemFolder+
"/"+ recHitTypeFolder;
44 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
49 tagList = meVector[
i]->getTags();
50 DQMNet::TagList::iterator tagItr = tagList.begin();
52 while (tagItr != tagList.end() && !
flag ) {
73 edm::LogVerbatim (
"rpceventsummary") <<
"[RPCOccupancyTest]: Client Operation";
91 std::stringstream histoName;
95 histoName<<
"Barrel_OccupancyByStations_Normalized";
108 histoName<<
"EndCap_OccupancyByRings_Normalized";
140 for (
int w = -2; w<=2; w++ ){
143 histoName<<
"AsymmetryLeftRight_Roll_vs_Sector_Wheel"<<w;
150 AsyMeWheel[w+2] =
dbe_->
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
159 histoName<<
"OccupancyNormByEvents_Wheel"<<w;
173 histoName<<
"AsymmetryLeftRight_Distribution_Wheel"<<w;
182 histoName<<
"OccupancyNormByEvents_Distribution_Wheel"<<w;
200 histoName<<
"AsymmetryLeftRight_Ring_vs_Segment_Disk"<<d;
217 histoName<<
"OccupancyNormByEvents_Disk"<<d;
230 histoName<<
"AsymmetryLeftRight_Distribution_Disk"<<d;
241 histoName<<
"OccupancyNormByEvents_Distribution_Disk"<<d;
319 if(totEnt != 0 ) asym = fabs((FOccupancy - BOccupancy )/totEnt);
329 if(NormOccup) NormOccup->
setBinContent(xBin,yBin, normoccup);
330 if(AsyMeD) AsyMeD->
Fill(asym);
331 if(NormOccupD) NormOccupD->
Fill(normoccup);
337 }
else if(detId.
region()==1) {
338 if(detId.
ring()==3) {
344 if(detId.
ring()==3) {
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * AsyMeWheel[5]
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * NormOccupDDisk[10]
void beginJob(DQMStore *, std::string)
void beginRun(const edm::Run &, const edm::EventSetup &)
void labelXAxisSegment(MonitorElement *myMe)
MonitorElement * EndCap_OccByRng
void getMonitorElements(std::vector< MonitorElement * > &, std::vector< RPCDetId > &)
double getEntries(void) const
get # of entries
void endRun(const edm::Run &, const edm::EventSetup &)
std::vector< RPCDetId > myDetIds_
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
MonitorElement * NormOccupDWheel[5]
MonitorElement * Barrel_OccBySt
virtual ~RPCOccupancyTest()
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
MonitorElement * NormOccupWheel[5]
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
void removeElement(const std::string &name)
MonitorElement * AsyMeDisk[10]
std::string globalFolder_
unsigned int offset(bool)
void clientOperation(edm::EventSetup const &c)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void labelXAxisSector(MonitorElement *myMe)
void fillGlobalME(RPCDetId &, MonitorElement *)
int detId2RollNr(const RPCDetId &_id)
std::vector< uint32_t > TagList
MonitorElement * AsyMeDDisk[10]
int sector() const
Sector id: the group of chambers at same phi (and increasing r)
void labelYAxisRoll(MonitorElement *myMe, int region, int ring)
RPCOccupancyTest(const edm::ParameterSet &ps)
double getBinContent(int binx) const
get content of bin (1-D)
void analyze(const edm::Event &iEvent, const edm::EventSetup &c)
int getNbinsX(void) const
get # of bins in X-axis
std::vector< MonitorElement * > myOccupancyMe_
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setCurrentFolder(const std::string &fullpath)
void labelYAxisRing(MonitorElement *myMe, int numberOfRings)
MonitorElement * NormOccupDisk[10]
MonitorElement * AsyMeDWheel[5]
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.