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

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

Public Attributes

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

Static Public Attributes

static Zero zero = {0.,0.}
 

Detailed Description

Definition at line 7 of file EcalPedestals.h.

Member Function Documentation

float EcalPedestal::mean ( int  i) const
inline

Definition at line 25 of file EcalPedestals.h.

References mean_x12.

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

25  {
26  if (i==0) return 0.;
27  return *(&mean_x12+(2*(i-1)));
28  }
int i
Definition: DBlmapReader.cc:9
float const* EcalPedestal::mean_rms ( int  i) const
inline

Definition at line 20 of file EcalPedestals.h.

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

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

Definition at line 30 of file EcalPedestals.h.

References rms_x12.

30  {
31  if (i==0) return 0.;
32  return *(&rms_x12+(2*(i-1)));
33  }
int i
Definition: DBlmapReader.cc:9

Member Data Documentation

float EcalPedestal::mean_x1

Definition at line 16 of file EcalPedestals.h.

float EcalPedestal::mean_x12

Definition at line 12 of file EcalPedestals.h.

Referenced by mean(), and mean_rms().

float EcalPedestal::mean_x6

Definition at line 14 of file EcalPedestals.h.

float EcalPedestal::rms_x1

Definition at line 17 of file EcalPedestals.h.

float EcalPedestal::rms_x12

Definition at line 13 of file EcalPedestals.h.

Referenced by rms().

float EcalPedestal::rms_x6

Definition at line 15 of file EcalPedestals.h.

EcalPedestal::Zero EcalPedestal::zero = {0.,0.}
static

Definition at line 10 of file EcalPedestals.h.

Referenced by mean_rms().