#include <DatabaseRetrievalAlg.h>
User defined class DatabaseRetrievalAlg ... these comments are used to generate doxygen documentation!
Definition at line 31 of file DatabaseRetrievalAlg.h.
lariov::DatabaseRetrievalAlg::DatabaseRetrievalAlg |
( |
const std::string & |
foldername, |
|
|
const std::string & |
url, |
|
|
const std::string & |
url2 = "" , |
|
|
const std::string & |
tag = "" , |
|
|
bool |
usesqlite = false , |
|
|
bool |
testmode = false |
|
) |
| |
|
inline |
lariov::DatabaseRetrievalAlg::DatabaseRetrievalAlg |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
inline |
Definition at line 41 of file DatabaseRetrievalAlg.h.
virtual void Reconfigure(fhicl::ParameterSet const &p)
Configure using fhicl::ParameterSet.
virtual lariov::DatabaseRetrievalAlg::~DatabaseRetrievalAlg |
( |
| ) |
|
|
inlinevirtual |
const IOVTimeStamp& lariov::DatabaseRetrievalAlg::Begin |
( |
| ) |
const |
|
inline |
const IOVTimeStamp& lariov::DatabaseRetrievalAlg::End |
( |
| ) |
const |
|
inline |
const std::string& lariov::DatabaseRetrievalAlg::FolderName |
( |
| ) |
const |
|
inline |
void lariov::DatabaseRetrievalAlg::Reconfigure |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
virtual |
Configure using fhicl::ParameterSet.
Reimplemented in lariov::DetPedestalRetrievalAlg, lariov::SIOVElectronicsCalibProvider, and lariov::SIOVPmtGainProvider.
Definition at line 11 of file DatabaseRetrievalAlg.cxx.
13 std::string foldername =
p.get<std::string>(
"DBFolderName");
14 std::string url =
p.get<std::string>(
"DBUrl");
15 std::string url2 =
p.get<std::string>(
"DBUrl2",
"");
16 std::string tag =
p.get<std::string>(
"DBTag",
"");
17 bool usesqlite =
p.get<
bool>(
"UseSQLite",
false);
18 bool testmode =
p.get<
bool>(
"TestMode",
false);
19 fFolder.reset(
new DBFolder(foldername, url, url2, tag, usesqlite, testmode));
std::unique_ptr< DBFolder > fFolder
const std::string& lariov::DatabaseRetrievalAlg::Tag |
( |
| ) |
const |
|
inline |
bool lariov::DatabaseRetrievalAlg::UpdateFolder |
( |
DBTimeStamp_t |
ts | ) |
|
|
inline |
Return true if fFolder is successfully updated.
Definition at line 52 of file DatabaseRetrievalAlg.h.
std::unique_ptr< DBFolder > fFolder
const std::string& lariov::DatabaseRetrievalAlg::URL |
( |
| ) |
const |
|
inline |
std::unique_ptr<DBFolder> lariov::DatabaseRetrievalAlg::fFolder |
|
protected |
The documentation for this class was generated from the following files: