CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DQM/RPCMonitorClient/interface/RPCMultiplicityTest.h

Go to the documentation of this file.
00001 #ifndef RPCMultiplicityTest_H
00002 #define RPCMultiplicityTest_H
00003 
00004 #include "DQM/RPCMonitorClient/interface/RPCClient.h"
00005 #include "DQMServices/Core/interface/DQMStore.h"
00006 
00007 #include <memory>
00008 #include <string>
00009 #include <vector>
00010 
00011 class  RPCMultiplicityTest:public RPCClient{
00012 
00013 public:
00014 
00015 
00017   RPCMultiplicityTest(const edm::ParameterSet& ps);
00018   
00020   virtual ~RPCMultiplicityTest();
00021 
00023   void beginJob(DQMStore * , std::string);
00024 
00025   //Begin Run
00026    void endRun(const edm::Run& , const edm::EventSetup& );
00027   
00028   
00030   void beginLuminosityBlock(edm::LuminosityBlock const& , edm::EventSetup const& ) ;
00031 
00033   void analyze(const edm::Event& , const edm::EventSetup& );
00034 
00036   void endLuminosityBlock(edm::LuminosityBlock const& , edm::EventSetup const& );
00037  
00038   //End Run
00039   void beginRun(const edm::Run& , const edm::EventSetup& );             
00040   
00042   void endJob();
00043 
00044   void clientOperation(edm::EventSetup const& c);
00045   void getMonitorElements(std::vector<MonitorElement *>& , std::vector<RPCDetId>&);
00046 
00047  protected:
00048   void fillGlobalME(RPCDetId & detId, MonitorElement * myMe);
00049 
00050  private:
00051   int prescaleFactor_;
00052   std::string globalFolder_;
00053   int numberOfDisks_;
00054   int   numberOfRings_;
00055   bool useRollInfo_  ;
00056   std::vector<MonitorElement *>  myNumDigiMe_;
00057   std::vector<RPCDetId>   myDetIds_;
00058   bool testMode_;
00059   MonitorElement * MULTWheel[5];
00060   MonitorElement * MULTDWheel[5];
00061   MonitorElement * MULTDisk[10]; 
00062   MonitorElement * MULTDDisk[10];
00063 
00064   DQMStore* dbe_;
00065   // std:: map<int, std::map< int ,  std::pair<float,float> > >  barrelMap_, endcapMap_;
00066   
00067 };
00068 #endif