14 #ifndef DATABASERETRIEVALALG_H 15 #define DATABASERETRIEVALALG_H 19 #include "larevt/CalibrationDBI/IOVData/IOVTimeStamp.h" 60 const IOVTimeStamp&
End()
const {
return fFolder->CachedEnd();}
std::unique_ptr< DBFolder > fFolder
virtual void Reconfigure(fhicl::ParameterSet const &p)
Configure using fhicl::ParameterSet.
DatabaseRetrievalAlg(fhicl::ParameterSet const &p)
const std::string & URL() const
Get connection information.
bool UpdateFolder(DBTimeStamp_t ts)
Return true if fFolder is successfully updated.
const IOVTimeStamp & End() const
virtual ~DatabaseRetrievalAlg()
Default destructor.
const std::string & Tag() const
Filters for channels, events, etc.
const IOVTimeStamp & Begin() const
Get Timestamp information.
DatabaseRetrievalAlg(const std::string &foldername, const std::string &url, const std::string &tag="")
Constructors.
const std::string & FolderName() const