CMS 3D CMS Logo

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::Chamber_AutoCorrMat ( )
inline

Definition at line 85 of file AutoCorrMat.h.

85 {}

◆ ~Chamber_AutoCorrMat()

Chamber_AutoCorrMat::~Chamber_AutoCorrMat ( )
inline

Definition at line 86 of file AutoCorrMat.h.

86 {}

Member Function Documentation

◆ add()

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

Definition at line 96 of file AutoCorrMat.h.

96  {
97  CMat[lay][strip].add(adc);
98  }

References ecalMGPA::adc(), AutoCorrMat::add(), CMat, and digitizers_cfi::strip.

Referenced by counter.Counter::register().

◆ autocorrmat()

float* Chamber_AutoCorrMat::autocorrmat ( int  lay,
int  strip 
)
inline

Definition at line 100 of file AutoCorrMat.h.

100  {
101  float *tmp;
102  tmp=m;
103  tmp=CMat[lay][strip].mat();
104  return tmp;
105  }

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

◆ zero()

void Chamber_AutoCorrMat::zero ( )
inline

Definition at line 88 of file AutoCorrMat.h.

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  }

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

Member Data Documentation

◆ CMat

AutoCorrMat Chamber_AutoCorrMat::CMat[6][80]
private

Definition at line 109 of file AutoCorrMat.h.

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

◆ m

float Chamber_AutoCorrMat::m[12]
private

Definition at line 110 of file AutoCorrMat.h.

Referenced by autocorrmat().

ecalMGPA::adc
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
Definition: EcalMGPASample.h:11
STRIPS_ma
#define STRIPS_ma
Definition: AutoCorrMat.h:9
Chamber_AutoCorrMat::CMat
AutoCorrMat CMat[6][80]
Definition: AutoCorrMat.h:109
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
AutoCorrMat::mat
float * mat()
Definition: AutoCorrMat.h:64
AutoCorrMat::zero
void zero()
Definition: AutoCorrMat.h:24
AutoCorrMat::add
void add(int *adc)
Definition: AutoCorrMat.h:37
Chamber_AutoCorrMat::m
float m[12]
Definition: AutoCorrMat.h:110