LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "DatabaseRetrievalAlg.h"
Public Member Functions | |
DatabaseRetrievalAlg (const std::string &foldername, const std::string &url, const std::string &url2="", const std::string &tag="", bool usesqlite=false, bool testmode=false) | |
Constructors. More... | |
DatabaseRetrievalAlg (fhicl::ParameterSet const &p) | |
virtual | ~DatabaseRetrievalAlg () |
Default destructor. More... | |
virtual void | Reconfigure (fhicl::ParameterSet const &p) |
Configure using fhicl::ParameterSet. More... | |
bool | UpdateFolder (DBTimeStamp_t ts) |
Return true if fFolder is successfully updated. More... | |
const std::string & | URL () const |
Get connection information. More... | |
const std::string & | FolderName () const |
const std::string & | Tag () const |
const IOVTimeStamp & | Begin () const |
Get Timestamp information. More... | |
const IOVTimeStamp & | End () const |
Protected Attributes | |
std::unique_ptr< DBFolder > | fFolder |
User defined class DatabaseRetrievalAlg ... these comments are used to generate doxygen documentation!
Definition at line 33 of file DatabaseRetrievalAlg.h.
|
inline |
Constructors.
Definition at line 37 of file DatabaseRetrievalAlg.h.
|
inline |
Definition at line 46 of file DatabaseRetrievalAlg.h.
|
inlinevirtual |
|
inline |
Get Timestamp information.
Definition at line 63 of file DatabaseRetrievalAlg.h.
Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), and lariov::SIOVChannelStatusProvider::DBUpdate().
|
inline |
Definition at line 64 of file DatabaseRetrievalAlg.h.
Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), and lariov::SIOVChannelStatusProvider::DBUpdate().
|
inline |
Definition at line 59 of file DatabaseRetrievalAlg.h.
|
virtual |
Configure using fhicl::ParameterSet.
Reimplemented in lariov::DetPedestalRetrievalAlg, lariov::SIOVElectronicsCalibProvider, and lariov::SIOVPmtGainProvider.
Definition at line 11 of file DatabaseRetrievalAlg.cxx.
References fFolder, and fhicl::ParameterSet::get().
Referenced by lariov::SIOVPmtGainProvider::Reconfigure(), lariov::SIOVElectronicsCalibProvider::Reconfigure(), and lariov::DetPedestalRetrievalAlg::Reconfigure().
|
inline |
Definition at line 60 of file DatabaseRetrievalAlg.h.
|
inline |
Return true if fFolder is successfully updated.
Definition at line 55 of file DatabaseRetrievalAlg.h.
Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), and lariov::SIOVChannelStatusProvider::DBUpdate().
|
inline |
Get connection information.
Definition at line 58 of file DatabaseRetrievalAlg.h.
|
protected |
Definition at line 67 of file DatabaseRetrievalAlg.h.
Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), lariov::SIOVChannelStatusProvider::DBUpdate(), and Reconfigure().