Diana Software
QBaselineData.hh
Go to the documentation of this file.
1 #ifndef _Q_BASELINEDATA_HH_
2 #define _Q_BASELINEDATA_HH_
3 
12 #include "QObject.hh"
13 
14 class QBaselineData : public Diana::QObject {
15 
16  public:
18  void Clear() ;
19 
21  void Dump(std::ostream& o) const;
22 
23 
24  // MV: I left set/get methods for compatibility with modules, but
25  // they are not needed since members are public
26  void SetBaseline(double b) { fBaseline = b; }
27  double GetBaseline() const { return fBaseline; }
28 
29  void SetRightBaseline(double b) { fRightBaseline = b; }
30  double GetRightBaseline() const { return fRightBaseline; }
31 
33  double GetRightBaselineInRMS() const { return fRightBaselineInRMS; }
34 
37 
39  double GetRightLeftBaseline() const { return fRightLeftBaseline; }
40 
41  void SetBaselineFlatRMS(double b) { fBaselineFlatRMS = b; }
42  double GetBaselineFlatRMS() const { return fBaselineFlatRMS; }
43 
45  double GetBaselineIntercept() const { return fBaselineIntercept; }
46 
47  void SetBaselineSlope(double b) { fBaselineSlope = b; }
48  double GetBaselineSlope() const { return fBaselineSlope; }
49 
52 
53  void SetBaselineRMS(double b) { fBaselineRMS = b; }
54  double GetBaselineRMS() const { return fBaselineRMS; }
55 
56  double fBaseline;
59  double fBaselineSlope;
61  double fBaselineRMS;
66 
68 
69 };
70 
71 #endif
QVector b
Definition: CheckOF.C:21
baseline data
void SetRightBaselineInRMS(double b)
double fBaselineSlopeRMSWindow
double GetBaseline() const
double fBaselineRMS
double GetBaselineRMS() const
void SetBaselineRMS(double b)
double fRightBaseline
void SetRightBaseline(double b)
void Clear()
clear members
void SetRightLeftBaseline(double b)
void SetRightLeftBaselineInRMS(double b)
double GetBaselineSlope() const
double fBaselineIntercept
double fRightLeftBaselineInRMS
void SetBaselineSlopeRMSWindow(double b)
double GetBaselineFlatRMS() const
double fBaselineFlatRMS
double fBaselineSlope
void SetBaselineSlope(double b)
void SetBaseline(double b)
double GetRightLeftBaselineInRMS() const
QObjectDef(QBaselineData, 3)
double GetRightLeftBaseline() const
void SetBaselineIntercept(double b)
double GetRightBaselineInRMS() const
double GetBaselineIntercept() const
double GetBaselineSlopeRMSWindow() const
double fRightLeftBaseline
double fRightBaselineInRMS
void SetBaselineFlatRMS(double b)
void Dump(std::ostream &o) const
Dump content to stream.
double GetRightBaseline() const