CMS 3D CMS Logo

Public Member Functions | Private Attributes

HcalCovarianceMatrix Class Reference

#include <HcalCovarianceMatrix.h>

List of all members.

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

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

Detailed Description

Definition at line 8 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.

                                                  : mId (fId)
{
   for(int cap = 0; cap != 4; cap++)
      for(int i = 0; i != 10; i++)
         for(int j = 0; j != 10; j++)
         covariancematrix[cap][i][j] = 0;
}

Member Function Documentation

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

Definition at line 12 of file HcalCovarianceMatrix.h.

References covariancematrix, i, and j.

Referenced by HcalCholeskyDecomp::analyze().

{return covariancematrix[capid][i][j];}
uint32_t HcalCovarianceMatrix::rawId ( ) const [inline]
void HcalCovarianceMatrix::setValue ( int  capid,
int  i,
int  j,
float  val 
) [inline]

Definition at line 13 of file HcalCovarianceMatrix.h.

References covariancematrix, i, and j.

Referenced by HcalPedestalMCWidths::~HcalPedestalMCWidths().

{covariancematrix[capid][i][j] = val;}

Member Data Documentation

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

Definition at line 19 of file HcalCovarianceMatrix.h.

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

uint32_t HcalCovarianceMatrix::mId [private]

Definition at line 18 of file HcalCovarianceMatrix.h.

Referenced by rawId().