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