#include <TSinglePedEntry.h>
Public Member Functions | |
double | average () const |
get the average of the inserted values More... | |
void | insert (const int &pedestal) |
add a single value More... | |
double | RMS () const |
get the RMS of the inserted values More... | |
double | RMSSq () const |
get the squared RMS of the inserted values More... | |
TSinglePedEntry () | |
ctor More... | |
TSinglePedEntry (const TSinglePedEntry &orig) | |
copy ctor More... | |
~TSinglePedEntry () | |
dtor More... | |
Private Attributes | |
int | m_entries |
number of entries More... | |
int | m_pedestalSqSum |
squared sum of entries More... | |
int | m_pedestalSum |
sum of entries More... | |
Definition at line 13 of file TSinglePedEntry.h.
TSinglePedEntry::TSinglePedEntry | ( | ) |
ctor
Definition at line 6 of file TSinglePedEntry.cc.
TSinglePedEntry::TSinglePedEntry | ( | const TSinglePedEntry & | orig | ) |
copy ctor
Definition at line 12 of file TSinglePedEntry.cc.
References m_entries, m_pedestalSqSum, and m_pedestalSum.
TSinglePedEntry::~TSinglePedEntry | ( | ) |
double TSinglePedEntry::average | ( | ) | const |
get the average of the inserted values
Definition at line 24 of file TSinglePedEntry.cc.
References m_entries, and m_pedestalSum.
Referenced by average.Average::__str__(), TPedValues::checkEntries(), TPedValues::makePlots(), and TPedValues::terminate().
void TSinglePedEntry::insert | ( | const int & | pedestal | ) |
add a single value
Definition at line 18 of file TSinglePedEntry.cc.
References m_entries, m_pedestalSqSum, m_pedestalSum, and EcalCondDBWriter_cfi::pedestal.
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly(), and TPedValues::insert().
double TSinglePedEntry::RMS | ( | ) | const |
get the RMS of the inserted values
Definition at line 30 of file TSinglePedEntry.cc.
References m_entries, RMSSq(), and mathSSE::sqrt().
Referenced by TPedValues::makePlots().
double TSinglePedEntry::RMSSq | ( | ) | const |
get the squared RMS of the inserted values
Definition at line 36 of file TSinglePedEntry.cc.
References m_entries, m_pedestalSqSum, m_pedestalSum, EgammaValidation_cff::num, and convertSQLitetoXML_cfg::output.
Referenced by RMS().
|
private |
number of entries
Definition at line 37 of file TSinglePedEntry.h.
Referenced by average(), insert(), RMS(), RMSSq(), and TSinglePedEntry().
|
private |
squared sum of entries
Definition at line 33 of file TSinglePedEntry.h.
Referenced by insert(), RMSSq(), and TSinglePedEntry().
|
private |
sum of entries
Definition at line 35 of file TSinglePedEntry.h.
Referenced by average(), insert(), RMSSq(), and TSinglePedEntry().