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
TSinglePedEntry::m_entries
int m_entries
number of entries
Definition: TSinglePedEntry.h:37
TSinglePedEntry::RMS
double RMS() const
get the RMS of the inserted values
Definition: TSinglePedEntry.cc:30
TSinglePedEntry
Definition: TSinglePedEntry.h:13
TSinglePedEntry::m_pedestalSum
int m_pedestalSum
sum of entries
Definition: TSinglePedEntry.h:35
TSinglePedEntry::~TSinglePedEntry
~TSinglePedEntry()
dtor
Definition: TSinglePedEntry.cc:10
EcalCondDBWriter_cfi.pedestal
pedestal
Definition: EcalCondDBWriter_cfi.py:49
TSinglePedEntry::TSinglePedEntry
TSinglePedEntry()
ctor
Definition: TSinglePedEntry.cc:6
TSinglePedEntry::RMSSq
double RMSSq() const
get the squared RMS of the inserted values
Definition: TSinglePedEntry.cc:36
TSinglePedEntry::insert
void insert(const int &pedestal)
add a single value
Definition: TSinglePedEntry.cc:18
TSinglePedEntry::average
double average() const
get the average of the inserted values
Definition: TSinglePedEntry.cc:24
TSinglePedEntry::m_pedestalSqSum
int m_pedestalSqSum
squared sum of entries
Definition: TSinglePedEntry.h:33