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 8 of file EcalPedestals.h.

Constructor & Destructor Documentation

◆ EcalPedestal()

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

◆ mean()

float EcalPedestal::mean ( int  i) const
inline

Definition at line 33 of file EcalPedestals.h.

References mps_fire::i, and mean_x12.

33  {
34  if (i == 0)
35  return 0.;
36  return *(&mean_x12 + (2 * (i - 1)));
37  }

◆ mean_rms()

float const* EcalPedestal::mean_rms ( int  i) const
inline

Definition at line 27 of file EcalPedestals.h.

References mps_fire::i, 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

◆ rms()

float EcalPedestal::rms ( int  i) const
inline

Definition at line 39 of file EcalPedestals.h.

References mps_fire::i, and rms_x12.

39  {
40  if (i == 0)
41  return 0.;
42  return *(&rms_x12 + (2 * (i - 1)));
43  }

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 45 of file EcalPedestals.h.

◆ cond::serialization::access

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

Definition at line 45 of file EcalPedestals.h.

Member Data Documentation

◆ mean_x1

float EcalPedestal::mean_x1

Definition at line 23 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

◆ mean_x12

float EcalPedestal::mean_x12

◆ mean_x6

float EcalPedestal::mean_x6

Definition at line 21 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

◆ rms_x1

float EcalPedestal::rms_x1

Definition at line 24 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

◆ rms_x12

float EcalPedestal::rms_x12

◆ rms_x6

float EcalPedestal::rms_x6

Definition at line 22 of file EcalPedestals.h.

Referenced by ECALpedestalPCLHarvester::dqmEndJob().

◆ zero

const EcalPedestal::Zero EcalPedestal::zero
static

Definition at line 17 of file EcalPedestals.h.

Referenced by mean_rms().