LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "DatabaseRetrievalAlg.h"
Public Member Functions | |
DatabaseRetrievalAlg (const std::string &foldername, const std::string &url, const std::string &tag="") | |
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 30 of file DatabaseRetrievalAlg.h.
|
inline |
Constructors.
Definition at line 35 of file DatabaseRetrievalAlg.h.
|
inline |
Definition at line 38 of file DatabaseRetrievalAlg.h.
References Reconfigure().
|
inlinevirtual |
|
inline |
Get Timestamp information.
Definition at line 59 of file DatabaseRetrievalAlg.h.
References fFolder.
Referenced by lariov::SIOVPmtGainProvider::Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
|
inline |
Definition at line 60 of file DatabaseRetrievalAlg.h.
References fFolder.
Referenced by lariov::SIOVPmtGainProvider::Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
|
inline |
Definition at line 55 of file DatabaseRetrievalAlg.h.
References fFolder.
|
virtual |
Configure using fhicl::ParameterSet.
Reimplemented in lariov::DetPedestalRetrievalAlg, lariov::SIOVElectronicsCalibProvider, and lariov::SIOVPmtGainProvider.
Definition at line 9 of file DatabaseRetrievalAlg.cxx.
References fFolder, and fhicl::ParameterSet::get().
Referenced by DatabaseRetrievalAlg(), lariov::SIOVPmtGainProvider::Reconfigure(), lariov::SIOVElectronicsCalibProvider::Reconfigure(), lariov::DetPedestalRetrievalAlg::Reconfigure(), and ~DatabaseRetrievalAlg().
|
inline |
Definition at line 56 of file DatabaseRetrievalAlg.h.
References fFolder.
|
inline |
Return true if fFolder is successfully updated.
Definition at line 49 of file DatabaseRetrievalAlg.h.
References fFolder.
Referenced by lariov::SIOVPmtGainProvider::Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), and lariov::SIOVChannelStatusProvider::Update().
|
inline |
Get connection information.
Definition at line 54 of file DatabaseRetrievalAlg.h.
References fFolder.
|
protected |
Definition at line 65 of file DatabaseRetrievalAlg.h.
Referenced by Begin(), End(), FolderName(), Reconfigure(), Tag(), lariov::SIOVPmtGainProvider::Update(), lariov::SIOVElectronicsCalibProvider::Update(), lariov::DetPedestalRetrievalAlg::Update(), lariov::SIOVChannelStatusProvider::Update(), UpdateFolder(), and URL().