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 
11 public:
12 
14 
16 
17  float val(int i, int j) const {
18 
19  int k=-1;
20  if(j >= i) k = j + (EcalPulseShape::TEMPLATESAMPLES-1)*i;
21  else k = i + (EcalPulseShape::TEMPLATESAMPLES-1)*j;
22  return covval[k];
23 
24  }
25 
27 
28 };
29 
33 
34 #endif
static const int TEMPLATESAMPLES
EcalPulseSymmCovariancesMap EcalPulseSymmCovariances
float val(int i, int j) const
EcalCondObjectContainer< EcalPulseSymmCovariance > EcalPulseSymmCovariancesMap
int k[5][pyjets_maxn]
EcalPulseSymmCovariancesMap::const_iterator EcalPulseSymmCovariancesMapIterator
#define COND_SERIALIZABLE
Definition: Serializable.h:38
float covval[EcalPulseShape::TEMPLATESAMPLES *(EcalPulseShape::TEMPLATESAMPLES+1)/2]