CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TSinglePedEntry.h
Go to the documentation of this file.
1 #ifndef TSinglePedEntry_h
2 #define TSinglePedEntry_h
3 
14 {
15  public:
16 
18  TSinglePedEntry () ;
20  TSinglePedEntry (const TSinglePedEntry & orig) ;
22  ~TSinglePedEntry () ;
23 
25  void insert (const int & pedestal) ;
27  double average () const ;
29  double RMS () const ;
31  double RMSSq () const ;
32 
33  private:
34 
40  int m_entries ;
41 
42 } ;
43 
44 #endif
int m_pedestalSqSum
squared sum of entries
double RMS() const
get the RMS of the inserted values
double average() const
get the average of the inserted values
int m_entries
number of entries
double RMSSq() const
get the squared RMS of the inserted values
int m_pedestalSum
sum of entries
void insert(const int &pedestal)
add a single value