CalibCalorimetry
EcalPedestalOffsets
interface
TSinglePedEntry.h
Go to the documentation of this file.
1
#ifndef TSinglePedEntry_h
2
#define TSinglePedEntry_h
3
13
class
TSinglePedEntry
{
14
public
:
16
TSinglePedEntry
();
18
TSinglePedEntry
(
const
TSinglePedEntry
&orig);
20
~TSinglePedEntry
();
21
23
void
insert
(
const
int
&
pedestal
);
25
double
average
()
const
;
27
double
RMS
()
const
;
29
double
RMSSq
()
const
;
30
31
private
:
33
int
m_pedestalSqSum
;
35
int
m_pedestalSum
;
37
int
m_entries
;
38
};
39
40
#endif
TSinglePedEntry::RMS
double RMS() const
get the RMS of the inserted values
Definition:
TSinglePedEntry.cc:30
TSinglePedEntry
Definition:
TSinglePedEntry.h:13
TSinglePedEntry::RMSSq
double RMSSq() const
get the squared RMS of the inserted values
Definition:
TSinglePedEntry.cc:36
TSinglePedEntry::m_pedestalSqSum
int m_pedestalSqSum
squared sum of entries
Definition:
TSinglePedEntry.h:33
EcalCondDBWriter_cfi.pedestal
pedestal
Definition:
EcalCondDBWriter_cfi.py:49
TSinglePedEntry::~TSinglePedEntry
~TSinglePedEntry()
dtor
Definition:
TSinglePedEntry.cc:10
TSinglePedEntry::TSinglePedEntry
TSinglePedEntry()
ctor
Definition:
TSinglePedEntry.cc:6
TSinglePedEntry::m_entries
int m_entries
number of entries
Definition:
TSinglePedEntry.h:37
TSinglePedEntry::average
double average() const
get the average of the inserted values
Definition:
TSinglePedEntry.cc:24
TSinglePedEntry::m_pedestalSum
int m_pedestalSum
sum of entries
Definition:
TSinglePedEntry.h:35
TSinglePedEntry::insert
void insert(const int &pedestal)
add a single value
Definition:
TSinglePedEntry.cc:18
Generated for CMSSW Reference Manual by
1.8.14