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
materialEffect::Covariance Class Reference

#include <MaterialEffectsUpdator.h>

Public Member Functions

void add (AlgebraicSymMatrix55 &cov) const
 
Covarianceoperator+= (Covariance const &cov)
 
float operator[] (CovIndex i) const
 
float & operator[] (CovIndex i)
 

Private Attributes

float data [4] ={0}
 

Detailed Description

Definition at line 22 of file MaterialEffectsUpdator.h.

Member Function Documentation

void materialEffect::Covariance::add ( AlgebraicSymMatrix55 cov) const
inline
Covariance& materialEffect::Covariance::operator+= ( Covariance const &  cov)
inline

Definition at line 33 of file MaterialEffectsUpdator.h.

References data, and i.

33  {
34  for(int i=0;i!=4;++i) data[i]+=cov.data[i];
35  return *this;
36  }
int i
Definition: DBlmapReader.cc:9
float materialEffect::Covariance::operator[] ( CovIndex  i) const
inline

Definition at line 24 of file MaterialEffectsUpdator.h.

References data, and i.

24 { return data[i];}
int i
Definition: DBlmapReader.cc:9
float& materialEffect::Covariance::operator[] ( CovIndex  i)
inline

Definition at line 25 of file MaterialEffectsUpdator.h.

References data, and i.

25 { return data[i];}
int i
Definition: DBlmapReader.cc:9

Member Data Documentation

float materialEffect::Covariance::data[4] ={0}
private