CMS 3D CMS Logo

L1RPCConfigSourceHandler.h

Go to the documentation of this file.
00001 #ifndef L1RPCCONFIGSOURCEHANDLER
00002 #define L1RPCCONFIGSOURCEHANDLER
00003 
00004 #include <vector>
00005 #include <string>
00006 #include <iostream>
00007 #include <typeinfo>
00008 
00009 #include "FWCore/Framework/interface/MakerMacros.h"
00010 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
00011 //#include "CondCore/PopCon/interface/LogReader.h"
00012 #include "FWCore/Framework/interface/ESHandle.h"
00013 #include "FWCore/Framework/interface/Event.h"
00014 #include "DataFormats/Common/interface/Handle.h"
00015 #include "FWCore/Framework/interface/EventSetup.h"
00016 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
00017 
00018 #include "CondFormats/L1TObjects/interface/L1RPCConfig.h"
00019 #include "CondFormats/DataRecord/interface/L1RPCConfigRcd.h"
00020 #include <FWCore/ParameterSet/interface/FileInPath.h>
00021 #include "L1Trigger/RPCTrigger/interface/RPCPatternsParser.h"
00022 
00023 using namespace std;
00024 
00025 namespace popcon
00026 {
00027         class L1RPCConfigSourceHandler : public popcon::PopConSourceHandler<L1RPCConfig>
00028         {
00029 
00030                 public:
00031     L1RPCConfigSourceHandler(const edm::ParameterSet& ps);
00032     ~L1RPCConfigSourceHandler();
00033     void getNewObjects();
00034     std::string id() const {return m_name;}
00035     void readConfig();
00036     int Compare2Configs(const L1RPCConfig* pat1, L1RPCConfig* pat2);
00037 
00038                 private:
00039     L1RPCConfig * patterns;
00040     std::string m_name;
00041     int m_validate;
00042     int m_ppt;
00043     std::string m_dataDir;
00044     std::string m_patternsDir;
00045 
00046         };
00047 }
00048 #endif

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