#include <HcalChannelCoder.h>
Public Member Functions | |
int | adc (const QieShape &fShape, double fCharge, int fCapId) const |
fC + capid[0..3] -> ADC conversion More... | |
double | charge (const QieShape &fShape, int fAdc, int fCapId) const |
ADC[0..127]+capid[0..3]->fC conversion. More... | |
HcalChannelCoder (const float fOffset[16], const float fSlope[16]) | |
int | index (int fCapId, int Range) |
Private Attributes | |
double | mOffset [4][4] |
double | mSlope [4][4] |
Container for ADC<->fQ conversion constants for HCAL QIE $Author: ratnikov
Definition at line 12 of file HcalChannelCoder.h.
HcalChannelCoder::HcalChannelCoder | ( | const float | fOffset[16], |
const float | fSlope[16] | ||
) |
int HcalChannelCoder::adc | ( | const QieShape & | fShape, |
double | fCharge, | ||
int | fCapId | ||
) | const |
fC + capid[0..3] -> ADC conversion
Definition at line 29 of file HcalChannelCoder.cc.
References newFWLiteAna::bin, QieShape::binSize(), QieShape::linearization(), mOffset, and mSlope.
double HcalChannelCoder::charge | ( | const QieShape & | fShape, |
int | fAdc, | ||
int | fCapId | ||
) | const |
ADC[0..127]+capid[0..3]->fC conversion.
Definition at line 21 of file HcalChannelCoder.cc.
References QieShape::linearization(), mOffset, and mSlope.
|
inline |
Definition at line 19 of file HcalChannelCoder.h.
Referenced by BeautifulSoup.PageElement::_invert(), and HcalChannelCoder().
|
private |
Definition at line 21 of file HcalChannelCoder.h.
Referenced by adc(), charge(), and HcalChannelCoder().
|
private |
Definition at line 22 of file HcalChannelCoder.h.
Referenced by adc(), charge(), and HcalChannelCoder().