CMS 3D CMS Logo

TSinglePedEntry.h
Go to the documentation of this file.
1 #ifndef TSinglePedEntry_h
2 #define TSinglePedEntry_h
3 
14 public:
18  TSinglePedEntry(const TSinglePedEntry &orig);
21 
23  void insert(const int &pedestal);
25  double average() const;
27  double RMS() const;
29  double RMSSq() const;
30 
31 private:
37  int m_entries;
38 };
39 
40 #endif
double RMS() const
get the RMS of the inserted values
double RMSSq() const
get the squared RMS of the inserted values
int m_pedestalSqSum
squared sum of entries
int m_entries
number of entries
double average() const
get the average of the inserted values
int m_pedestalSum
sum of entries
void insert(const int &pedestal)
add a single value