CMS 3D CMS Logo

EcalPulseSymmCovariances.h
Go to the documentation of this file.
1 #ifndef EcalPulseSymmCovariances_h
2 #define EcalPulseSymmCovariances_h
3 
5 
8 
10 public:
12 
14 
15  float val(int i, int j) const {
16  int k = -1;
17  if (j >= i)
18  k = j + (EcalPulseShape::TEMPLATESAMPLES - 1) * i;
19  else
20  k = i + (EcalPulseShape::TEMPLATESAMPLES - 1) * j;
21  return covval[k];
22  }
23 
25 };
26 
30 
31 #endif
static const int TEMPLATESAMPLES
EcalPulseSymmCovariancesMap EcalPulseSymmCovariances
float val(int i, int j) const
EcalCondObjectContainer< EcalPulseSymmCovariance > EcalPulseSymmCovariancesMap
EcalPulseSymmCovariancesMap::const_iterator EcalPulseSymmCovariancesMapIterator
#define COND_SERIALIZABLE
Definition: Serializable.h:38
float covval[EcalPulseShape::TEMPLATESAMPLES *(EcalPulseShape::TEMPLATESAMPLES+1)/2]