CMS 3D CMS Logo

RPCQualityTests.h

Go to the documentation of this file.
00001 // system include files
00002 #include <memory>
00003 #include <stdio.h>
00004 #include <string>
00005 
00006 // Framework
00007 #include "FWCore/Framework/interface/Frameworkfwd.h"
00008 #include "FWCore/Framework/interface/EDAnalyzer.h"
00009 #include "FWCore/Framework/interface/LuminosityBlock.h"
00010 #include "FWCore/Framework/interface/Event.h"
00011 #include "FWCore/Framework/interface/MakerMacros.h"
00012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00013 
00014 #include "DQM/RPCMonitorClient/interface/RPCClient.h"
00015 #include "DQMServices/Core/interface/DQMOldReceiver.h"
00016 #include "DQMServices/Core/interface/DQMStore.h"
00017 
00018 
00019 //
00020 // class decleration
00021 //
00022 
00023 class RPCQualityTests : public edm::EDAnalyzer {
00024    public:
00025       explicit RPCQualityTests(const edm::ParameterSet&);
00026       ~RPCQualityTests();
00027 
00028 
00029    private:
00030       virtual void beginJob(const edm::EventSetup&) ;
00031       virtual void analyze(const edm::Event&, const edm::EventSetup&);
00032       virtual void endJob();
00033       virtual void beginRun(const edm::Run& r, const edm::EventSetup& c);
00034       virtual void endRun(const edm::Run& r, const edm::EventSetup& c);  
00035 
00036       void beginLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& context) ;
00037       void endLuminosityBlock(edm::LuminosityBlock const& lumiSeg, edm::EventSetup const& c);
00038      
00039       std::map<std::string , RPCClient*> makeQTestMap();
00040 
00041 
00042       int nevents_;
00043 
00044       DQMStore * dbe_ ;
00045       DQMOldReceiver * mui_;
00046 
00047       std::string hostName_;
00048       int hostPort_;
00049       std::string clientName_;
00050       
00051 
00052       bool  getQualityTestsFromFile_;
00053 
00054 
00055       edm::ParameterSet parameters_;
00056       bool enableMonitorDaemon_;
00057       bool enableQTests_;
00058       bool enableInputFile_;
00059 
00060       std::vector<RPCClient*> qtests_; 
00061       std::vector<std::string>  qtestList_; 
00062       std::string inputFile_;
00063       std::string eventInfoPath_;
00064       int eSummary_;
00065       int prescaleFactor_;
00066 
00067       //   std::vector<std::string> enabledQTests_;
00068       //          std::map<std::string , RPCClient*> qTest_;
00069 
00070       // ----------member data ---------------------------
00071 };

Generated on Tue Jun 9 17:33:17 2009 for CMSSW by  doxygen 1.5.4