DetPedestal.h
Go to the documentation of this file.
1 /**
2  * \file DetPedestal.h
3  *
4  * \ingroup IOVData
5  *
6  * \brief Class def header for a class DetPedestal
7  *
8  * @author eberly@slac.stanford.edu
9  */
10 
11 /** \addtogroup IOVData
12 
13  @{*/
14 #ifndef IOVDATA_DETPEDESTAL_H
15 #define IOVDATA_DETPEDESTAL_H 1
16 
17 #include "ChData.h"
18 
19 namespace lariov {
20  /**
21  \class DetPedestal
22  */
23  class DetPedestal : public ChData {
24 
25  public:
26 
27  /// Constructor
28  DetPedestal(unsigned int ch) : ChData(ch) {}
29 
30  /// Default destructor
32 
33  float PedMean() const { return fPedMean; }
34  float PedRms() const { return fPedRms; }
35  float PedMeanErr() const { return fPedMeanErr; }
36  float PedRmsErr() const { return fPedRmsErr; }
37 
38  void SetPedMean(float pedMean) { fPedMean = pedMean; }
39  void SetPedRms(float pedRms) { fPedRms = pedRms; }
40  void SetPedMeanErr(float pedMeanErr) { fPedMeanErr = pedMeanErr; }
41  void SetPedRmsErr(float pedRmsErr) { fPedRmsErr = pedRmsErr; }
42 
43  private:
44 
45  float fPedMean;
46  float fPedRms;
47  float fPedMeanErr;
48  float fPedRmsErr;
49 
50  }; // end class
51 } // end namespace lariov
52 
53 #endif
54 /** @} */ // end of doxygen group
float PedMeanErr() const
Definition: DetPedestal.h:35
void SetPedRms(float pedRms)
Definition: DetPedestal.h:39
float PedMean() const
Definition: DetPedestal.h:33
void SetPedRmsErr(float pedRmsErr)
Definition: DetPedestal.h:41
void SetPedMeanErr(float pedMeanErr)
Definition: DetPedestal.h:40
DetPedestal(unsigned int ch)
Constructor.
Definition: DetPedestal.h:28
Filters for channels, events, etc.
~DetPedestal()
Default destructor.
Definition: DetPedestal.h:31
float PedRmsErr() const
Definition: DetPedestal.h:36
void SetPedMean(float pedMean)
Definition: DetPedestal.h:38
Class def header for a class ChData.
float PedRms() const
Definition: DetPedestal.h:34