LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Simple service to provide a RunHistory configured to the right run. More...
#include "DBIService.h"
Public Member Functions | |
DBIService (const fhicl::ParameterSet &pset) | |
void | reconfigure (const fhicl::ParameterSet &pset) |
Table * | CreateTable (std::string tableName="", std::string schemaName="", int tableType=nutools::dbi::kConditionsTable, int dataSource=nutools::dbi::kOffline) |
void | do_reconfigure (fhicl::ParameterSet const &pset) |
Protected Attributes | |
int | fVerbosity |
bool | fTimeQueries |
bool | fTimeParsing |
std::string | fWebServiceURL |
std::string | fQueryEngineURL |
std::string | fDBUser |
Simple service to provide a RunHistory configured to the right run.
Definition at line 25 of file DBIService.h.
nutools::dbi::DBIService::DBIService | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 18 of file DBI_service.cc.
References reconfigure().
Table * nutools::dbi::DBIService::CreateTable | ( | std::string | tableName = "" , |
std::string | schemaName = "" , |
||
int | tableType = nutools::dbi::kConditionsTable , |
||
int | dataSource = nutools::dbi::kOffline |
||
) |
Definition at line 36 of file DBI_service.cc.
References DEFINE_ART_SERVICE, fDBUser, fQueryEngineURL, fTimeParsing, fTimeQueries, fVerbosity, fWebServiceURL, nutools::dbi::kConditionsTable, nutools::dbi::kNDataSources, nutools::dbi::kNTableType, nutools::dbi::kOffline, nutools::dbi::Table::SetDataSource(), nutools::dbi::Table::SetDetector(), nutools::dbi::Table::SetQEURL(), nutools::dbi::Table::SetTableName(), nutools::dbi::Table::SetTableType(), nutools::dbi::Table::SetTimeParsing(), nutools::dbi::Table::SetTimeQueries(), nutools::dbi::Table::SetUser(), nutools::dbi::Table::SetVerbosity(), and nutools::dbi::Table::SetWSURL().
|
inlineinherited |
Definition at line 17 of file Reconfigurable.h.
void nutools::dbi::DBIService::reconfigure | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 24 of file DBI_service.cc.
References fDBUser, fQueryEngineURL, fTimeParsing, fTimeQueries, fVerbosity, fWebServiceURL, and fhicl::ParameterSet::get().
Referenced by DBIService().
|
protected |
Definition at line 45 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 44 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 41 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 40 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 39 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().
|
protected |
Definition at line 43 of file DBIService.h.
Referenced by CreateTable(), and reconfigure().