All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ElectronicsCalib.h
Go to the documentation of this file.
1 /**
2  * \file ElectronicsCalib.h
3  *
4  * \ingroup IOVData
5  *
6  * \brief Class def header for a class ElectronicsCalib
7  *
8  * @author eberly@slac.stanford.edu
9  */
10 
11 /** \addtogroup IOVData
12 
13  @{*/
14 #ifndef IOVDATA_ELECTRONICSCALIB_H
15 #define IOVDATA_ELECTRONICSCALIB_H
16 
17 #include "ChData.h"
18 #include "CalibrationExtraInfo.h"
19 
20 namespace lariov {
21  /**
22  \class ElectronicsCalib
23  */
24  class ElectronicsCalib : public ChData {
25 
26  public:
27 
28  /// Constructor
29  ElectronicsCalib(unsigned int ch) :
30  ChData(ch),
31  fExtraInfo("ElectronicsCalib") {}
32 
33  /// Default destructor
35 
36  float Gain() const { return fGain; }
37  float GainErr() const { return fGainErr; }
38  float ShapingTime() const { return fShapingTime; }
39  float ShapingTimeErr() const { return fShapingTimeErr; }
40  CalibrationExtraInfo const& ExtraInfo() const { return fExtraInfo; }
41 
42  void SetGain(float v) { fGain = v; }
43  void SetGainErr(float v) { fGainErr = v; }
44  void SetShapingTime(float v) { fShapingTime = v; }
45  void SetShapingTimeErr(float v) { fShapingTimeErr = v; }
47  { fExtraInfo = info; }
48 
49  private:
50 
51  float fGain;
52  float fGainErr;
53  float fShapingTime;
56 
57  }; // end class
58 } // end namespace lariov
59 
60 #endif
61 /** @} */ // end of doxygen group
CalibrationExtraInfo fExtraInfo
~ElectronicsCalib()
Default destructor.
ElectronicsCalib(unsigned int ch)
Constructor.
Class def header for a class ChData.
void SetShapingTimeErr(float v)
void SetExtraInfo(CalibrationExtraInfo const &info)
CalibrationExtraInfo const & ExtraInfo() const
float ShapingTimeErr() const