00001 #ifndef RPCREADOUTMAPPINGDBWRITER 00002 #define RPCREADOUTMAPPINGDBWRITER 00003 00004 #include "CondCore/PopCon/interface/PopConAnalyzer.h" 00005 #include "CondTools/RPC/interface/RPCReadOutMappingSourceHandler.h" 00006 00007 00008 class RPCReadOutMappingDBWriter : public popcon::PopConAnalyzer<RPCReadOutMapping> 00009 { 00010 public: 00011 RPCReadOutMappingDBWriter(const edm::ParameterSet&); 00012 private: 00013 void initSource(const edm::Event& evt, const edm::EventSetup& est); 00014 int m_validate; 00015 std::string m_host; 00016 std::string m_sid; 00017 std::string m_user; 00018 std::string m_pass; 00019 int m_port; 00020 }; 00021 00022 00023 #endif