CMS 3D CMS Logo

Public Member Functions | Private Attributes

Chamber_AutoCorrMat Class Reference

#include <AutoCorrMat.h>

List of all members.

Public Member Functions

void add (int lay, int strip, int *adc)
float * autocorrmat (int lay, int strip)
 Chamber_AutoCorrMat ()
void zero ()
 ~Chamber_AutoCorrMat ()

Private Attributes

AutoCorrMat CMat [LAYERS_ma][STRIPS_ma]
float m [12]

Detailed Description

Definition at line 82 of file AutoCorrMat.h.


Constructor & Destructor Documentation

Chamber_AutoCorrMat::Chamber_AutoCorrMat ( ) [inline]

Definition at line 85 of file AutoCorrMat.h.

{}
Chamber_AutoCorrMat::~Chamber_AutoCorrMat ( ) [inline]

Definition at line 86 of file AutoCorrMat.h.

{}

Member Function Documentation

void Chamber_AutoCorrMat::add ( int  lay,
int  strip,
int *  adc 
) [inline]

Definition at line 96 of file AutoCorrMat.h.

References AutoCorrMat::add(), CMat, and strip().

                                      {
    CMat[lay][strip].add(adc);
  } 
float* Chamber_AutoCorrMat::autocorrmat ( int  lay,
int  strip 
) [inline]

Definition at line 100 of file AutoCorrMat.h.

References CMat, m, AutoCorrMat::mat(), strip(), and tmp.

                                       {
    float *tmp;
    tmp=m;
    tmp=CMat[lay][strip].mat();
    return tmp;
  }
void Chamber_AutoCorrMat::zero ( ) [inline]

Definition at line 88 of file AutoCorrMat.h.

References CMat, strip(), STRIPS_ma, and AutoCorrMat::zero().

             {
    for(int lay=0;lay<6;lay++){
      for(int strip=0;strip<STRIPS_ma;strip++){
        CMat[lay][strip].zero();
      }
    }
  }

Member Data Documentation

AutoCorrMat Chamber_AutoCorrMat::CMat[LAYERS_ma][STRIPS_ma] [private]

Definition at line 109 of file AutoCorrMat.h.

Referenced by add(), autocorrmat(), and zero().

float Chamber_AutoCorrMat::m[12] [private]

Definition at line 110 of file AutoCorrMat.h.

Referenced by autocorrmat().