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