43 std::stringstream histoName;
46 histoName<<
"BX_Mean_Distribution_Barrel";
51 histoName<<
"BX_Mean_Distribution_EndcapP";
55 histoName<<
"BX_Mean_Distribution_EndcapN";
60 histoName<<
"BX_Entries_Distribution_Barrel";
64 histoName<<
"BX_Entries_Distribution_EndcapP";
68 histoName<<
"BX_Entries_Distribution_EndcapN";
73 histoName<<
"BX_RMS_Distribution_Barrel";
77 histoName<<
"BX_RMS_Distribution_EndcapP";
81 histoName<<
"BX_RMS_Distribution_EndcapN";
89 for (
int w = -1 * limit;
w<=
limit;
w++ ){
92 histoName<<
"BX_Mean_Distribution_Wheel"<<
w;
101 histoName<<
"BX_RMS_Distribution_Wheel"<<
w;
107 BXRmsWheel[w+2] =
dbe_->
book1D(histoName.str().c_str(), histoName.str().c_str(), 50, -0.5, 4.5);
116 histoName<<
"BX_Mean_Distribution_Disk"<<
w;
126 histoName<<
"BX_RMS_Distribution_Disk"<<
w;
139 for (
unsigned int i = 0 ;
i<meVector.size();
i++){
145 DQMNet::TagList::iterator tagItr = tagList.begin();
147 while (tagItr != tagList.end() && !flag ) {
196 for (
unsigned int i = 0 ;
i<
myBXMe_.size();
i++){
211 float mean = myTH1F->GetMean();
212 float rms = myTH1F->GetRMS();
213 float entries = myTH1F->GetEntries();
225 }
else if(detId.
region()==1){
231 }
else if(detId.
region()==-1){
239 ENTRIES->
Fill(entries);
250 MEANRing->
Fill(mean);
void analyze(const edm::Event &iEvent, const edm::EventSetup &c)
Analyze.
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
MonitorElement * BXRmsEndcapP
MonitorElement * BXRmsEndcapN
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * BXRmsBarrel
MonitorElement * BXRmsWheel[5]
MonitorElement * BXMeanEndcapN
void beginJob(DQMStore *)
BeginJob.
std::vector< RPCDetId > myDetIds_
MonitorElement * BXEntriesBarrel
MonitorElement * BXMeanDisk[10]
virtual ~RPCBxTest()
Destructor.
virtual void endJob(void)
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
Begin Lumi block.
DQMNet::TagList getTags(void) const
MonitorElement * BXRmsDisk[10]
void removeElement(const std::string &name)
virtual void endRun(const edm::Run &r, const edm::EventSetup &c)
std::string globalFolder_
unsigned int offset(bool)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
std::vector< uint32_t > TagList
RPCBxTest(const edm::ParameterSet &ps)
Constructor.
TH1F * getTH1F(void) const
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
End Lumi Block.
MonitorElement * BXMeanEndcapP
void beginRun(const edm::Run &r, const edm::EventSetup &c, const std::vector< MonitorElement * > &, const std::vector< RPCDetId > &)
MonitorElement * BXMeanWheel[5]
MonitorElement * BXEntriesEndcapN
MonitorElement * BXEntriesEndcapP
MonitorElement * BXMeanBarrel
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
std::vector< MonitorElement * > myBXMe_
void setCurrentFolder(const std::string &fullpath)
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.