11 #ifndef SIOVELECTRONICSCALIBPROVIDER_H 12 #define SIOVELECTRONICSCALIBPROVIDER_H 18 #include "larevt/CalibrationDBI/Interface/ElectronicsCalibProvider.h" 43 public ElectronicsCalibProvider {
56 bool Update(DBTimeStamp_t ts);
60 float Gain(DBChannelID_t ch)
const override;
61 float GainErr(DBChannelID_t ch)
const override;
70 bool DBUpdate(DBTimeStamp_t ts)
const;
float ShapingTimeErr(DBChannelID_t ch) const override
Class def header for a class Snapshot.
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
Class def header for a class ElectronicsCalib.
bool DBUpdate() const
Do actual database updates.