CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 ( )

Definition at line 3 of file EcalPulseCovariances.cc.

References covval, i, j, relval_2017::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 }
int i
Definition: DBlmapReader.cc:9
static const int TEMPLATESAMPLES
int j
Definition: DBlmapReader.cc:9
float covval[EcalPulseShape::TEMPLATESAMPLES][EcalPulseShape::TEMPLATESAMPLES]
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40

Member Function Documentation

template<class Archive >
void EcalPulseCovariance::serialize ( Archive &  ar,
const unsigned int  version 
)
private
float EcalPulseCovariance::val ( int  i,
int  j 
) const
inline

Definition at line 17 of file EcalPulseCovariances.h.

References covval, i, and j.

17 { return covval[i][j]; }
int i
Definition: DBlmapReader.cc:9
int j
Definition: DBlmapReader.cc:9
float covval[EcalPulseShape::TEMPLATESAMPLES][EcalPulseShape::TEMPLATESAMPLES]

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 19 of file EcalPulseCovariances.h.

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

Definition at line 19 of file EcalPulseCovariances.h.

Member Data Documentation