38 std::stringstream histoName;
45 histoName<<
"Barrel_OccupancyByStations_Normalized";
58 histoName<<
"EndCap_OccupancyByRings_Normalized";
70 histoName<<
"EndCap_OccupancyByDisksAndRings_Normalized";
90 for (
int w = -1 *limit; w<=
limit; w++ ){
93 histoName<<
"AsymmetryLeftRight_Roll_vs_Sector_Wheel"<<w;
100 AsyMeWheel[w+2] =
dbe_->
book2D(histoName.str().c_str(), histoName.str().c_str(), 12, 0.5, 12.5, 21, 0.5, 21.5);
106 histoName<<
"AsymmetryLeftRight_Distribution_Wheel"<<w;
116 histoName<<
"OccupancyNormByEvents_Wheel"<<w;
129 histoName<<
"OccupancyNormByEvents_Distribution_Wheel"<<w;
144 histoName<<
"AsymmetryLeftRight_Ring_vs_Segment_Disk"<<w;
157 histoName<<
"AsymmetryLeftRight_Distribution_Disk"<<w;
167 histoName<<
"OccupancyNormByEvents_Disk"<<w;
180 histoName<<
"OccupancyNormByEvents_Distribution_Disk"<<w;
191 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
197 DQMNet::TagList::iterator tagItr = tagList.begin();
199 while (tagItr != tagList.end() && !
flag ) {
220 edm::LogVerbatim (
"rpceventsummary") <<
"[RPCOccupancyTest]: Client Operation";
313 if(totEnt != 0 ) asym = fabs((FOccupancy - BOccupancy )/totEnt);
317 if(AsyMeD) AsyMeD->
Fill(asym);
322 if(NormOccup) NormOccup->
setBinContent(xBin,yBin, normoccup);
323 if(NormOccupD) NormOccupD->
Fill(normoccup);
335 else if(detId.
region()==1) {
341 if(detId.
ring()==3) {
352 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 *)
void beginRun(const edm::Run &, const edm::EventSetup &)
void labelXAxisSegment(MonitorElement *myMe)
MonitorElement * EndCap_OccByRng
MonitorElement * EndCap_OccByDisk
double getEntries(void) const
get # of entries
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]
DQMNet::TagList getTags(void) const
void removeElement(const std::string &name)
MonitorElement * AsyMeDisk[10]
std::string globalFolder_
virtual void clientOperation(edm::EventSetup const &c)
unsigned int offset(bool)
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_
void endRun(const edm::Run &, const edm::EventSetup &, std::vector< MonitorElement * >, std::vector< RPCDetId >)
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void Reset(void)
reset ME (ie. contents, errors, etc)
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.