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 ( )

Definition at line 3 of file EcalPulseCovariances.cc.

References covval, mps_fire::i, gen::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]
int k[5][pyjets_maxn]
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 mps_fire::i.

17 { return covval[i][j]; }
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