CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/DQM/RPCMonitorClient/interface/RPCBxTest.h

Go to the documentation of this file.
00001 #ifndef RPCBxTest_H
00002 #define RPCBxTest_H
00003 
00004 #include "DQM/RPCMonitorClient/interface/RPCClient.h"
00005 #include "DQMServices/Core/interface/DQMStore.h"
00006 
00007 #include <map>
00008 #include <memory>
00009 #include <string>
00010 #include <vector>
00011 
00012 
00013 class RPCBxTest:public RPCClient{
00014 public:
00015 
00017   RPCBxTest(const edm::ParameterSet& ps);
00018   
00020   virtual ~RPCBxTest();
00021 
00023   void beginJob(DQMStore *);
00024 
00025   //Begin Run
00026    void beginRun(const edm::Run& r, const edm::EventSetup& c ,std::vector<MonitorElement *> , std::vector<RPCDetId>);
00027   
00028   
00030   void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
00031 
00033   void analyze(const edm::Event& iEvent, const edm::EventSetup& c);
00034 
00036   void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
00037   
00038   virtual void  endJob(void);
00039 
00040   virtual void  endRun(const edm::Run& r, const edm::EventSetup& c);
00041 
00042  private:
00043   double distanceMean_;
00044   std::string globalFolder_;
00045   int numberOfDisks_,numberOfRings_;
00046   int prescaleFactor_;
00047   double rmsCut_;
00048   int entriesCut_;
00049   DQMStore* dbe_;
00050   int nLumiSegs_;
00051   
00052   std::vector<MonitorElement *>  myBXMe_;
00053   std::vector<RPCDetId>   myDetIds_;
00054 
00055   MonitorElement * BXEntriesEndcapN;     
00056   MonitorElement * BXEntriesEndcapP;     
00057   MonitorElement * BXEntriesBarrel;  
00058  
00059   MonitorElement * BXMeanEndcapN;     
00060   MonitorElement * BXMeanEndcapP;     
00061   MonitorElement * BXMeanBarrel;         // ClusterSize in 1 bin, Distribution
00062   MonitorElement * BXMeanWheel[5];         // Mean ClusterSize, Roll vs Sector
00063   MonitorElement * BXMeanDisk[10];        // Mean ClusterSize, Distribution
00064  
00065   MonitorElement * BXRmsEndcapN;     
00066   MonitorElement * BXRmsEndcapP;
00067   MonitorElement * BXRmsBarrel;
00068   MonitorElement * BXRmsDisk[10];         // Mean ClusterSize, Roll vs Sector
00069   MonitorElement * BXRmsWheel[5];        // Mean ClusterSize, Distribution
00070 
00071 };
00072 
00073 #endif