11 #ifndef SIOVELECTRONICSCALIBPROVIDER_H 12 #define SIOVELECTRONICSCALIBPROVIDER_H 14 #include "larevt/CalibrationDBI/IOVData/ElectronicsCalib.h" 15 #include "larevt/CalibrationDBI/IOVData/Snapshot.h" 16 #include "larevt/CalibrationDBI/IOVData/IOVDataConstants.h" 17 #include "larevt/CalibrationDBI/Interface/ElectronicsCalibProvider.h" 56 bool Update(DBTimeStamp_t ts);
60 float Gain(DBChannelID_t ch)
const override;
61 float GainErr(DBChannelID_t ch)
const override;
64 CalibrationExtraInfo
const&
ExtraInfo(DBChannelID_t ch)
const override;
71 bool DBUpdate(DBTimeStamp_t ts)
const;
80 mutable Snapshot<ElectronicsCalib>
fData;
float ShapingTimeErr(DBChannelID_t ch) const override
DBTimeStamp_t fCurrentTimeStamp
Retrieves information: electronics calibrations, specifically gain and shaping time.
CalibrationExtraInfo const & ExtraInfo(DBChannelID_t ch) const override
DataSource::ds fDataSource
float GainErr(DBChannelID_t ch) const override
const ElectronicsCalib & ElectronicsCalibObject(DBChannelID_t ch) const
Retrieve electronics calibration information.
float ShapingTime(DBChannelID_t ch) const override
DBTimeStamp_t fEventTimeStamp
void UpdateTimeStamp(DBTimeStamp_t ts)
Update event time stamp.
Class def header for a class DatabaseRetrievalAlg.
Filters for channels, events, etc.
float Gain(DBChannelID_t ch) const override
bool Update(DBTimeStamp_t ts)
Update Snapshot and inherited DBFolder if using database. Return true if updated. ...
SIOVElectronicsCalibProvider(fhicl::ParameterSet const &p)
Constructors.
void Reconfigure(fhicl::ParameterSet const &p) override
Reconfigure function called by fhicl constructor.
Snapshot< ElectronicsCalib > fData
bool DBUpdate() const
Do actual database updates.