Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
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
36
int
m_pedestalSqSum
;
38
int
m_pedestalSum
;
40
int
m_entries
;
41
42
} ;
43
44
#endif
TSinglePedEntry
Definition:
TSinglePedEntry.h:13
EcalCondDBWriter_cfi.pedestal
string pedestal
Definition:
EcalCondDBWriter_cfi.py:48
TSinglePedEntry::m_pedestalSqSum
int m_pedestalSqSum
squared sum of entries
Definition:
TSinglePedEntry.h:36
TSinglePedEntry::RMS
double RMS() const
get the RMS of the inserted values
Definition:
TSinglePedEntry.cc:42
TSinglePedEntry::average
double average() const
get the average of the inserted values
Definition:
TSinglePedEntry.cc:35
TSinglePedEntry::~TSinglePedEntry
~TSinglePedEntry()
dtor
Definition:
TSinglePedEntry.cc:15
TSinglePedEntry::TSinglePedEntry
TSinglePedEntry()
ctor
Definition:
TSinglePedEntry.cc:6
TSinglePedEntry::m_entries
int m_entries
number of entries
Definition:
TSinglePedEntry.h:40
TSinglePedEntry::RMSSq
double RMSSq() const
get the squared RMS of the inserted values
Definition:
TSinglePedEntry.cc:48
TSinglePedEntry::m_pedestalSum
int m_pedestalSum
sum of entries
Definition:
TSinglePedEntry.h:38
TSinglePedEntry::insert
void insert(const int &pedestal)
add a single value
Definition:
TSinglePedEntry.cc:27
Generated for CMSSW Reference Manual by
1.8.5