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.

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

3  {
4  for (int k = 0; k < std::pow(EcalPulseShape::TEMPLATESAMPLES, 2); ++k) {
7  covval[i][j] = 0.;
8  }
9 }
static const int TEMPLATESAMPLES
float covval[EcalPulseShape::TEMPLATESAMPLES][EcalPulseShape::TEMPLATESAMPLES]
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

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.

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

15 { return covval[i][j]; }
float covval[EcalPulseShape::TEMPLATESAMPLES][EcalPulseShape::TEMPLATESAMPLES]

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