11 #ifndef SIOVPMTGAINPROVIDER_H 12 #define SIOVPMTGAINPROVIDER_H 14 #include "larevt/CalibrationDBI/IOVData/PmtGain.h" 15 #include "larevt/CalibrationDBI/IOVData/Snapshot.h" 16 #include "larevt/CalibrationDBI/IOVData/IOVDataConstants.h" 17 #include "larevt/CalibrationDBI/Interface/PmtGainProvider.h" 52 bool Update(DBTimeStamp_t ts);
56 float Gain(DBChannelID_t ch)
const override;
57 float GainErr(DBChannelID_t ch)
const override;
58 CalibrationExtraInfo
const&
ExtraInfo(DBChannelID_t ch)
const override;
65 bool DBUpdate(DBTimeStamp_t ts)
const;
74 mutable Snapshot<PmtGain>
fData;
bool DBUpdate() const
Do actual database updates.
const PmtGain & PmtGainObject(DBChannelID_t ch) const
Retrieve gain information.
bool Update(DBTimeStamp_t ts)
Update Snapshot and inherited DBFolder if using database. Return true if updated. ...
Snapshot< PmtGain > fData
SIOVPmtGainProvider(fhicl::ParameterSet const &p)
Constructors.
CalibrationExtraInfo const & ExtraInfo(DBChannelID_t ch) const override
Retrieves information: pmt gain.
DataSource::ds fDataSource
DBTimeStamp_t fCurrentTimeStamp
void UpdateTimeStamp(DBTimeStamp_t ts)
Update event time stamp.
Class def header for a class DatabaseRetrievalAlg.
Filters for channels, events, etc.
DBTimeStamp_t fEventTimeStamp
void Reconfigure(fhicl::ParameterSet const &p) override
Reconfigure function called by fhicl constructor.
float Gain(DBChannelID_t ch) const override
float GainErr(DBChannelID_t ch) const override