test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
int i
Definition: DBlmapReader.cc:9
static const int TEMPLATESAMPLES
EcalPulseSymmCovariancesMap EcalPulseSymmCovariances
float val(int i, int j) const
int j
Definition: DBlmapReader.cc:9
EcalCondObjectContainer< EcalPulseSymmCovariance > EcalPulseSymmCovariancesMap
EcalPulseSymmCovariancesMap::const_iterator EcalPulseSymmCovariancesMapIterator
#define COND_SERIALIZABLE
Definition: Serializable.h:37
float covval[EcalPulseShape::TEMPLATESAMPLES *(EcalPulseShape::TEMPLATESAMPLES+1)/2]