LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PmtGain.h
Go to the documentation of this file.
1 
14 #ifndef IOVDATA_PMTGAIN_H
15 #define IOVDATA_PMTGAIN_H
16 
17 #include "CalibrationExtraInfo.h"
18 #include "ChData.h"
19 
20 namespace lariov {
24  class PmtGain : public ChData {
25 
26  public:
28  PmtGain(unsigned int ch) : ChData(ch), fExtraInfo("PmtGain") {}
29 
31  ~PmtGain() {}
32 
33  float Gain() const { return fGain; }
34  float GainErr() const { return fGainErr; }
35  CalibrationExtraInfo const& ExtraInfo() const { return fExtraInfo; }
36 
37  void SetGain(float v) { fGain = v; }
38  void SetGainErr(float v) { fGainErr = v; }
39  void SetExtraInfo(CalibrationExtraInfo const& info) { fExtraInfo = info; }
40 
41  private:
42  float fGain;
43  float fGainErr;
45 
46  }; // end class
47 } // end namespace lariov
48 
49 #endif
50  // end of doxygen group
float GainErr() const
Definition: PmtGain.h:34
void SetExtraInfo(CalibrationExtraInfo const &info)
Definition: PmtGain.h:39
~PmtGain()
Default destructor.
Definition: PmtGain.h:31
CalibrationExtraInfo fExtraInfo
Definition: PmtGain.h:44
void SetGainErr(float v)
Definition: PmtGain.h:38
void SetGain(float v)
Definition: PmtGain.h:37
PmtGain(unsigned int ch)
Constructor.
Definition: PmtGain.h:28
float Gain() const
Definition: PmtGain.h:33
Filters for channels, events, etc.
CalibrationExtraInfo const & ExtraInfo() const
Definition: PmtGain.h:35
Class def header for a class ChData.
float fGainErr
Definition: PmtGain.h:43
float fGain
Definition: PmtGain.h:42