CMS 3D CMS Logo

Classes | Public Member Functions | Public Attributes | Static Public Attributes

EcalPedestal Struct Reference

#include <EcalPedestals.h>

List of all members.

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().

                                {
                if (i==0) return 0.;
                return *(&mean_x12+(2*(i-1)));
        }
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.

                                            {
                if (i==0) return &zero.z1;
                return (&mean_x12)+(2*(i-1));
        }
float EcalPedestal::rms ( int  i) const [inline]

Definition at line 30 of file EcalPedestals.h.

References rms_x12.

                               {
                if (i==0) return 0.;
                return *(&rms_x12+(2*(i-1)));
        }

Member Data Documentation

Definition at line 16 of file EcalPedestals.h.

Definition at line 12 of file EcalPedestals.h.

Referenced by mean(), and mean_rms().

Definition at line 14 of file EcalPedestals.h.

Definition at line 17 of file EcalPedestals.h.

Definition at line 13 of file EcalPedestals.h.

Referenced by rms().

Definition at line 15 of file EcalPedestals.h.

Definition at line 10 of file EcalPedestals.h.

Referenced by mean_rms().