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 Member Functions | Private Attributes | Friends
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 Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

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

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

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 cap, 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
static const double cap
Definition: HcalTimeSlew.cc:7
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

Definition at line 17 of file HcalCovarianceMatrix.h.

References mId.

Referenced by HcalCovarianceMatrices::addValues(), and HcalCovarianceMatrices::getAllChannels().

17 {return mId;}
template<class Archive >
void HcalCovarianceMatrix::serialize ( Archive &  ar,
const unsigned int  version 
)
private
void HcalCovarianceMatrix::setValue ( int  capid,
int  i,
int  j,
float  val 
)
inline

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 23 of file HcalCovarianceMatrix.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 23 of file HcalCovarianceMatrix.h.

Member Data Documentation

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().