CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 8 of file EcalPedestals.h.

Constructor & Destructor Documentation

EcalPedestal::EcalPedestal ( )
inline

Definition at line 9 of file EcalPedestals.h.

9 : mean_x12(0), rms_x12(0), mean_x6(0), rms_x6(0), mean_x1(0), rms_x1(0) {}

Member Function Documentation

float EcalPedestal::mean ( int  i) const
inline

Definition at line 33 of file EcalPedestals.h.

References mean_x12.

33  {
34  if (i == 0)
35  return 0.;
36  return *(&mean_x12 + (2 * (i - 1)));
37  }
float const* EcalPedestal::mean_rms ( int  i) const
inline

Definition at line 27 of file EcalPedestals.h.

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

27  {
28  if (i == 0)
29  return &zero.z1;
30  return (&mean_x12) + (2 * (i - 1));
31  }
static const Zero zero
Definition: EcalPedestals.h:17
float EcalPedestal::rms ( int  i) const
inline

Definition at line 39 of file EcalPedestals.h.

References rms_x12.

39  {
40  if (i == 0)
41  return 0.;
42  return *(&rms_x12 + (2 * (i - 1)));
43  }
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 45 of file EcalPedestals.h.

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

Definition at line 45 of file EcalPedestals.h.

Member Data Documentation

float EcalPedestal::mean_x1

Definition at line 23 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

float EcalPedestal::mean_x12
float EcalPedestal::mean_x6

Definition at line 21 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

float EcalPedestal::rms_x1

Definition at line 24 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

float EcalPedestal::rms_x12
float EcalPedestal::rms_x6

Definition at line 22 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

const EcalPedestal::Zero EcalPedestal::zero
static

Definition at line 17 of file EcalPedestals.h.

Referenced by mean_rms().