CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Friends
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

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
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

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.

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 EcalPedestal::Zero::z1.

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.

43  {
44  if (i==0) return 0.;
45  return *(&rms_x12+(2*(i-1)));
46  }
int i
Definition: DBlmapReader.cc:9
template<class Archive >
void EcalPedestal::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 48 of file EcalPedestals.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 48 of file EcalPedestals.h.

Member Data Documentation

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.