test
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
Chamber_AutoCorrMat Class Reference

#include <AutoCorrMat.h>

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 [6][80]
 
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.

85 {}
Chamber_AutoCorrMat::~Chamber_AutoCorrMat ( )
inline

Definition at line 86 of file AutoCorrMat.h.

86 {}

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(), and CMat.

Referenced by counter.Counter::register().

96  {
97  CMat[lay][strip].add(adc);
98  }
int adc(sample_type sample)
get the ADC sample (12 bits)
AutoCorrMat CMat[6][80]
Definition: AutoCorrMat.h:109
void add(int *adc)
Definition: AutoCorrMat.h:37
float* Chamber_AutoCorrMat::autocorrmat ( int  lay,
int  strip 
)
inline

Definition at line 100 of file AutoCorrMat.h.

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

100  {
101  float *tmp;
102  tmp=m;
103  tmp=CMat[lay][strip].mat();
104  return tmp;
105  }
AutoCorrMat CMat[6][80]
Definition: AutoCorrMat.h:109
float * mat()
Definition: AutoCorrMat.h:64
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
void Chamber_AutoCorrMat::zero ( )
inline

Definition at line 88 of file AutoCorrMat.h.

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

88  {
89  for(int lay=0;lay<6;lay++){
90  for(int strip=0;strip<STRIPS_ma;strip++){
91  CMat[lay][strip].zero();
92  }
93  }
94  }
AutoCorrMat CMat[6][80]
Definition: AutoCorrMat.h:109
void zero()
Definition: AutoCorrMat.h:24
#define STRIPS_ma
Definition: AutoCorrMat.h:9

Member Data Documentation

AutoCorrMat Chamber_AutoCorrMat::CMat[6][80]
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().