ElectronicsCalibProvider.h
Go to the documentation of this file.
1 /**
2  * \file ElectronicsCalibProvider
3  *
4  * \brief Class def header for a class ElectronicsCalibProvider
5  *
6  * @author eberly@slac.stanford.edu
7  */
8 
9 #ifndef ELECTRONICSCALIBPROVIDER_H
10 #define ELECTRONICSCALIBPROVIDER_H
11 
15 
16 namespace lariov {
17 
18  /**
19  \class ElectronicsCalibProvider
20  * Currently, the class provides interface for the following information:
21  * - electronics gain and its error
22  * - electronics shaping time and its error
23  * - electronics extra info, related to procedure that determines the gain and shaping time
24  */
26 
27  public:
28 
29  virtual ~ElectronicsCalibProvider() = default;
30 
31  /// Retrieve pmt gain information
32  virtual float Gain(raw::ChannelID_t ch) const = 0;
33  virtual float GainErr(raw::ChannelID_t ch) const = 0;
34  virtual float ShapingTime(raw::ChannelID_t ch) const = 0;
35  virtual float ShapingTimeErr(raw::ChannelID_t ch) const = 0;
36 
37  virtual CalibrationExtraInfo const& ExtraInfo(raw::ChannelID_t ch) const = 0;
38  };
39 }//end namespace lariov
40 
41 #endif
An empty class that can't be copied nor moved.
Defines classes that can't be copied nor moved.
virtual CalibrationExtraInfo const & ExtraInfo(raw::ChannelID_t ch) const =0
virtual ~ElectronicsCalibProvider()=default
virtual float ShapingTime(raw::ChannelID_t ch) const =0
Filters for channels, events, etc.
virtual float ShapingTimeErr(raw::ChannelID_t ch) const =0
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Definition: RawTypes.h:28
virtual float Gain(raw::ChannelID_t ch) const =0
Retrieve pmt gain information.
virtual float GainErr(raw::ChannelID_t ch) const =0