#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 19 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 35 of file TSinglePedEntry.cc.
References m_entries, and m_pedestalSum.
Referenced by TPedValues::checkEntries(), TPedValues::makePlots(), and TPedValues::terminate().
void TSinglePedEntry::insert | ( | const int & | pedestal | ) |
add a single value
Definition at line 27 of file TSinglePedEntry.cc.
References m_entries, m_pedestalSqSum, and m_pedestalSum.
Referenced by BeautifulSoup.PageElement::_invert(), and TPedValues::insert().
double TSinglePedEntry::RMS | ( | ) | const |
get the RMS of the inserted values
Definition at line 42 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 48 of file TSinglePedEntry.cc.
References m_entries, m_pedestalSqSum, m_pedestalSum, pileupDistInMC::num, and convertSQLitetoXML_cfg::output.
Referenced by RMS().
|
private |
number of entries
Definition at line 40 of file TSinglePedEntry.h.
Referenced by average(), insert(), RMS(), RMSSq(), and TSinglePedEntry().
|
private |
squared sum of entries
Definition at line 36 of file TSinglePedEntry.h.
Referenced by insert(), RMSSq(), and TSinglePedEntry().
|
private |
sum of entries
Definition at line 38 of file TSinglePedEntry.h.
Referenced by average(), insert(), RMSSq(), and TSinglePedEntry().