LArSoft
v07_13_02
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::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), and lariov::SIOVChannelStatusProvider::DBUpdate().
|
inline |
Definition at line 60 of file DatabaseRetrievalAlg.h.
References fFolder.
Referenced by lariov::SIOVPmtGainProvider::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), and lariov::SIOVChannelStatusProvider::DBUpdate().
|
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::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), and lariov::SIOVChannelStatusProvider::DBUpdate().
|
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(), lariov::SIOVPmtGainProvider::DBUpdate(), lariov::SIOVElectronicsCalibProvider::DBUpdate(), lariov::DetPedestalRetrievalAlg::DBUpdate(), lariov::SIOVChannelStatusProvider::DBUpdate(), End(), FolderName(), Reconfigure(), Tag(), UpdateFolder(), and URL().