CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Public Attributes | Static Public Attributes
EcalPedestal Struct Reference

#include <EcalPedestals.h>

Classes

struct  Zero
 

Public Member Functions

 EcalPedestal ()
 
float mean (int i) const
 
float const * mean_rms (int i) const
 
float rms (int i) const
 

Public Attributes

 COND_SERIALIZABLE
 
float mean_x1
 
float mean_x12
 
float mean_x6
 
float rms_x1
 
float rms_x12
 
float rms_x6
 

Static Public Attributes

static const Zero zero
 

Detailed Description

Definition at line 9 of file EcalPedestals.h.

Constructor & Destructor Documentation

EcalPedestal::EcalPedestal ( )
inline

Definition at line 10 of file EcalPedestals.h.

11  : mean_x12(0),
12  rms_x12(0),
13  mean_x6(0),
14  rms_x6(0),
15  mean_x1(0),
16  rms_x1(0) {}

Member Function Documentation

float EcalPedestal::mean ( int  i) const
inline

Definition at line 38 of file EcalPedestals.h.

References mean_x12.

Referenced by cond::ecalped::average().

38  {
39  if (i==0) return 0.;
40  return *(&mean_x12+(2*(i-1)));
41  }
int i
Definition: DBlmapReader.cc:9
float const* EcalPedestal::mean_rms ( int  i) const
inline

Definition at line 33 of file EcalPedestals.h.

References mean_x12, EcalPedestal::Zero::z1, and zero.

33  {
34  if (i==0) return &zero.z1;
35  return (&mean_x12)+(2*(i-1));
36  }
int i
Definition: DBlmapReader.cc:9
static const Zero zero
Definition: EcalPedestals.h:23
float EcalPedestal::rms ( int  i) const
inline

Definition at line 43 of file EcalPedestals.h.

References rms_x12.

43  {
44  if (i==0) return 0.;
45  return *(&rms_x12+(2*(i-1)));
46  }
int i
Definition: DBlmapReader.cc:9

Member Data Documentation

EcalPedestal::COND_SERIALIZABLE

Definition at line 48 of file EcalPedestals.h.

float EcalPedestal::mean_x1
float EcalPedestal::mean_x12
float EcalPedestal::mean_x6
float EcalPedestal::rms_x1
float EcalPedestal::rms_x12
float EcalPedestal::rms_x6
const EcalPedestal::Zero EcalPedestal::zero
static

Definition at line 23 of file EcalPedestals.h.

Referenced by mean_rms().