CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/DQM/RPCMonitorClient/interface/RPCDBHandler.h

Go to the documentation of this file.
00001 #ifndef RPCDBHandler_h
00002 #define RPCDBHandler_h
00003 
00004 #include <vector>
00005 #include <string>
00006 #include <iostream>
00007 #include <typeinfo>
00008 #include <iostream>
00009 #include <sstream>
00010 
00011 #include "CondCore/DBCommon/interface/TagInfo.h"
00012 #include "CondCore/PopCon/interface/PopConSourceHandler.h"
00013 #include "CondFormats/RPCObjects/interface/RPCDQMObject.h"
00014 #include "CondFormats/DataRecord/interface/RPCDQMObjectRcd.h"
00015 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00016 #include "FWCore/Framework/interface/ESHandle.h"
00017 #include "FWCore/Framework/interface/Event.h"
00018 #include "FWCore/Framework/interface/EventSetup.h"
00019 #include "FWCore/ServiceRegistry/interface/Service.h"
00020 #include <DataFormats/MuonDetId/interface/RPCDetId.h>
00021 #include <Geometry/RPCGeometry/interface/RPCGeometry.h>
00022 #include <Geometry/CommonDetUnit/interface/GeomDet.h>
00023 #include <Geometry/Records/interface/MuonGeometryRecord.h>
00024 #include "DQM/RPCMonitorDigi/interface/utils.h"
00025 
00026 
00027 class RPCDBHandler : public popcon::PopConSourceHandler<RPCDQMObject>
00028 {
00029       
00030 public:
00031   void getNewObjects();
00032   std::string id() const { return m_name; }
00033   ~RPCDBHandler(); 
00034   RPCDBHandler(const edm::ParameterSet& pset);
00035      
00036   void initObject(RPCDQMObject*);
00037  
00038 private:
00039   std::string m_name;
00040   unsigned int sinceTime;
00041   RPCDQMObject * rpcDQMObject;
00042 };
00043 
00044 #endif