CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DBService.h
Go to the documentation of this file.
1 #ifndef RecoLuminosity_LumiProducer_DBService_h
2 #define RecoLuminosity_LumiProducer_DBService_h
5 #include <string>
6 namespace coral{
7  class ISessionProxy;
8  class ConnectionService;
9 }
10 namespace lumi{
11  class DBConfig;
12  namespace service{
13  class DBService{
14  public:
15  DBService(const edm::ParameterSet& iConfig,
17  ~DBService();
18  void postEndJob();
19  void preEventProcessing( const edm::EventID & evtID,
20  const edm::Timestamp & iTime );
21  void preModule(const edm::ModuleDescription& desc);
22  void postModule(const edm::ModuleDescription& desc);
24  const edm::Timestamp& );
25  coral::ISessionProxy* connectReadOnly( const std::string& connectstring );
26  void disconnect( coral::ISessionProxy* session );
28  void setupWebCache();
29  private:
30  coral::ConnectionService* m_svc;
32  };//cl DBService
33  }//ns service
34 }//ns lumi
35 #endif
void preEventProcessing(const edm::EventID &evtID, const edm::Timestamp &iTime)
Definition: DBService.cc:27
tuple lumi
Definition: fjr2json.py:35
lumi::DBConfig * m_dbconfig
Definition: DBService.h:31
void preBeginLumi(const edm::LuminosityBlockID &, const edm::Timestamp &)
Definition: DBService.cc:34
void preModule(const edm::ModuleDescription &desc)
Definition: DBService.cc:31
void postModule(const edm::ModuleDescription &desc)
Definition: DBService.cc:38
void disconnect(coral::ISessionProxy *session)
Definition: DBService.cc:46
lumi::DBConfig & DBConfig()
Definition: DBService.cc:50
DBService(const edm::ParameterSet &iConfig, edm::ActivityRegistry &iAR)
Definition: DBService.cc:9
coral::ISessionProxy * connectReadOnly(const std::string &connectstring)
Definition: DBService.cc:42
coral::ConnectionService * m_svc
Definition: DBService.h:30