LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
DBIService.h
Go to the documentation of this file.
1 
6 #ifndef IFDBISERVICE_H
7 #define IFDBISERVICE_H
8 
9 #include <string>
10 
14 #include "fhiclcpp/ParameterSet.h"
17 
18 
19 namespace nutools
20 {
21  namespace dbi
22  {
23 
26  {
27  public:
28  // Get a RunHistoryService instance here
29  DBIService(const fhicl::ParameterSet& pset);
30 
31  void reconfigure(const fhicl::ParameterSet& pset);
32 
33  Table* CreateTable(std::string tableName="",
34  std::string schemaName="",
35  int tableType=nutools::dbi::kConditionsTable,
36  int dataSource=nutools::dbi::kOffline);
37 
38  protected:
42 
43  std::string fWebServiceURL;
44  std::string fQueryEngineURL;
45  std::string fDBUser;
46 
47  };
48 
49  }
50 }
51 
53 
54 #endif
55 
Simple service to provide a RunHistory configured to the right run.
Definition: DBIService.h:25
DBIService(const fhicl::ParameterSet &pset)
Definition: DBI.cc:18
Simple service to provide a RunHistory configured to the right run.
Definition: Column.cpp:14
#define DECLARE_ART_SERVICE(svc, scope)
Table * CreateTable(std::string tableName="", std::string schemaName="", int tableType=nutools::dbi::kConditionsTable, int dataSource=nutools::dbi::kOffline)
Definition: DBI.cc:36
Interface class to services that are intended to be reconfigurable through the event display...
std::string fQueryEngineURL
Definition: DBIService.h:44
std::string fWebServiceURL
Definition: DBIService.h:43
void reconfigure(const fhicl::ParameterSet &pset)
Definition: DBI.cc:24
std::string tableName