CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HcalCovarianceMatrix Class Reference

#include <HcalCovarianceMatrix.h>

Public Member Functions

float getValue (int capid, int i, int j) const
 
 HcalCovarianceMatrix (int fId=0)
 
uint32_t rawId () const
 
void setValue (int capid, int i, int j, float val)
 

Private Attributes

 COND_SERIALIZABLE
 
float covariancematrix [4][10][10]
 
uint32_t mId
 

Detailed Description

Definition at line 10 of file HcalCovarianceMatrix.h.

Constructor & Destructor Documentation

HcalCovarianceMatrix::HcalCovarianceMatrix ( int  fId = 0)

Definition at line 3 of file HcalCovarianceMatrix.cc.

References covariancematrix, i, and j.

3  : mId (fId)
4 {
5  for(int cap = 0; cap != 4; cap++)
6  for(int i = 0; i != 10; i++)
7  for(int j = 0; j != 10; j++)
8  covariancematrix[cap][i][j] = 0;
9 }
int i
Definition: DBlmapReader.cc:9
float covariancematrix[4][10][10]
int j
Definition: DBlmapReader.cc:9

Member Function Documentation

float HcalCovarianceMatrix::getValue ( int  capid,
int  i,
int  j 
) const
inline

Definition at line 14 of file HcalCovarianceMatrix.h.

References covariancematrix, i, and j.

14 {return covariancematrix[capid][i][j];}
int i
Definition: DBlmapReader.cc:9
float covariancematrix[4][10][10]
int j
Definition: DBlmapReader.cc:9
uint32_t HcalCovarianceMatrix::rawId ( ) const
inline
void HcalCovarianceMatrix::setValue ( int  capid,
int  i,
int  j,
float  val 
)
inline

Member Data Documentation

HcalCovarianceMatrix::COND_SERIALIZABLE
private

Definition at line 23 of file HcalCovarianceMatrix.h.

float HcalCovarianceMatrix::covariancematrix[4][10][10]
private

Definition at line 21 of file HcalCovarianceMatrix.h.

Referenced by getValue(), HcalCovarianceMatrix(), and setValue().

uint32_t HcalCovarianceMatrix::mId
private

Definition at line 20 of file HcalCovarianceMatrix.h.

Referenced by rawId().