#include <CalADCLogs.h>
Inheritance diagram for CalADCLog::
Public Methods | |
CalADCLog (int ilayer, int iview, int column) | |
CalADCLog (int ilayer, int iview, int column, idents::ModuleId mod) | |
~CalADCLog () | |
void | setNegADC (CalBase::RANGE r, double v) |
void | setPosADC (CalBase::RANGE r, double v) |
void | addNegADC (CalBase::RANGE r, double v) |
void | addPosADC (CalBase::RANGE r, double v) |
double | ADC (CalBase::SIDE s, CalBase::RANGE r) const |
void | clear () |
void | writeOut () const |
Private Attributes | |
double | m_ADC [CALNSIDES][CALNRANGES] |
|
Definition at line 4 of file CalADCLogs.cpp. References clear().
|
|
Definition at line 12 of file CalADCLogs.cpp. References clear().
|
|
Definition at line 20 of file CalADCLogs.h.
00020 {}; |
|
Definition at line 28 of file CalADCLogs.h. References m_ADC, CalBase::RANGE, and CalBase::SIDE.
00028 {return m_ADC[s][r];} |
|
Definition at line 24 of file CalADCLogs.h. References m_ADC, CalBase::NEG, and CalBase::RANGE.
00024 {m_ADC[CalBase::NEG][r] += v;} |
|
Definition at line 25 of file CalADCLogs.h. References m_ADC, CalBase::POS, and CalBase::RANGE.
00025 {m_ADC[CalBase::POS][r] += v;} |
|
Reimplemented in CalRecLog. Definition at line 19 of file CalADCLogs.cpp. References CALNRANGES, and CALNSIDES. Referenced by CalADCLog(), and CalRecLog::clear().
00021 { 00022 for (int iside = 0 ; iside < CALNSIDES; iside++) { 00023 for (int irange = 0; irange < CALNRANGES ; irange++) 00024 m_ADC[iside][irange] = 0.; 00025 } 00026 } |
|
Definition at line 22 of file CalADCLogs.h. References m_ADC, CalBase::NEG, and CalBase::RANGE. Referenced by CalPedCalib::readPedestal().
00022 {m_ADC[CalBase::NEG][r] = v;} |
|
Definition at line 23 of file CalADCLogs.h. References m_ADC, CalBase::POS, and CalBase::RANGE. Referenced by CalPedCalib::readPedestal().
00023 {m_ADC[CalBase::POS][r] = v;} |
|
Reimplemented in CalRecLog. Definition at line 28 of file CalADCLogs.cpp. References CALNRANGES, and CALNSIDES.
00030 { 00031 00032 std::cout << logID() << " " << modId() << layer() << view() << column() << " "; 00033 std::cout << " PED "; 00034 for (int iside = 0; iside < CALNSIDES; iside++) { 00035 for (int irange = 0; irange < CALNRANGES; irange++) 00036 std::cout << m_ADC[iside][irange]<< " "; 00037 } 00038 std::cout<<"\n"; 00039 } |
|
Definition at line 36 of file CalADCLogs.h. Referenced by ADC(), addNegADC(), addPosADC(), setNegADC(), and setPosADC(). |