CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
EcalPulseCovariance Struct Reference

#include <EcalPulseCovariances.h>

Public Member Functions

 EcalPulseCovariance ()
 
float val (int i, int j) const
 

Public Attributes

float covval [EcalPulseShape::TEMPLATESAMPLES][EcalPulseShape::TEMPLATESAMPLES]
 

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 EcalPulseCovariances.h.

Constructor & Destructor Documentation

◆ EcalPulseCovariance()

EcalPulseCovariance::EcalPulseCovariance ( )

Definition at line 3 of file EcalPulseCovariances.cc.

3  {
4  for (int k = 0; k < std::pow(EcalPulseShape::TEMPLATESAMPLES, 2); ++k) {
7  covval[i][j] = 0.;
8  }
9 }

References covval, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, funct::pow(), and EcalPulseShape::TEMPLATESAMPLES.

Member Function Documentation

◆ serialize()

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

◆ val()

float EcalPulseCovariance::val ( int  i,
int  j 
) const
inline

Definition at line 15 of file EcalPulseCovariances.h.

15 { return covval[i][j]; }

References covval, mps_fire::i, and dqmiolumiharvest::j.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 17 of file EcalPulseCovariances.h.

◆ cond::serialization::access

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

Definition at line 17 of file EcalPulseCovariances.h.

Member Data Documentation

◆ covval

EcalPulseCovariance::covval
float covval[EcalPulseShape::TEMPLATESAMPLES][EcalPulseShape::TEMPLATESAMPLES]
Definition: EcalPulseCovariances.h:13
mps_fire.i
i
Definition: mps_fire.py:355
dqmdumpme.k
k
Definition: dqmdumpme.py:60
EcalPulseShape::TEMPLATESAMPLES
static const int TEMPLATESAMPLES
Definition: EcalPulseShapes.h:10
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
dqmiolumiharvest.j
j
Definition: dqmiolumiharvest.py:66