File indexing completed on 2024-04-06 11:57:58
0001 #ifndef TSinglePedEntry_h
0002 #define TSinglePedEntry_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 class TSinglePedEntry {
0014 public:
0015
0016 TSinglePedEntry();
0017
0018 TSinglePedEntry(const TSinglePedEntry& orig);
0019
0020 TSinglePedEntry& operator=(const TSinglePedEntry& orig) = default;
0021
0022 ~TSinglePedEntry();
0023
0024
0025 void insert(const int& pedestal);
0026
0027 double average() const;
0028
0029 double RMS() const;
0030
0031 double RMSSq() const;
0032
0033 private:
0034
0035 int m_pedestalSqSum;
0036
0037 int m_pedestalSum;
0038
0039 int m_entries;
0040 };
0041
0042 #endif