#include <CastorChannelCoder.h>
Public Member Functions | |
int | adc (const reco::castor::QieShape &fShape, double fCharge, int fCapId) const |
fC + capid[0..3] -> ADC conversion More... | |
CastorChannelCoder (const float fOffset[16], const float fSlope[16]) | |
double | charge (const reco::castor::QieShape &fShape, int fAdc, int fCapId) const |
ADC[0..127]+capid[0..3]->fC conversion. More... | |
int | index (int fCapId, int Range) |
Private Attributes | |
double | mOffset [4][4] |
double | mSlope [4][4] |
Container for ADC<->fQ conversion constants for HCAL/Castor QIE
Container for ADC<->fQ conversion constants for HCAL/Castor QIE $Original author: ratnikov
Definition at line 16 of file CastorChannelCoder.h.
CastorChannelCoder::CastorChannelCoder | ( | const float | fOffset[16], |
const float | fSlope[16] | ||
) |
Definition at line 12 of file CastorChannelCoder.cc.
References index(), mOffset, mSlope, and FastTimerService_cff::range.
int CastorChannelCoder::adc | ( | const reco::castor::QieShape & | fShape, |
double | fCharge, | ||
int | fCapId | ||
) | const |
fC + capid[0..3] -> ADC conversion
Definition at line 29 of file CastorChannelCoder.cc.
References newFWLiteAna::bin, reco::castor::QieShape::binSize(), reco::castor::QieShape::linearization(), mOffset, mSlope, and FastTimerService_cff::range.
double CastorChannelCoder::charge | ( | const reco::castor::QieShape & | fShape, |
int | fAdc, | ||
int | fCapId | ||
) | const |
ADC[0..127]+capid[0..3]->fC conversion.
Definition at line 21 of file CastorChannelCoder.cc.
References reco::castor::QieShape::linearization(), mOffset, mSlope, and FastTimerService_cff::range.
|
inline |
Definition at line 23 of file CastorChannelCoder.h.
Referenced by CastorChannelCoder().
|
private |
Definition at line 26 of file CastorChannelCoder.h.
Referenced by adc(), CastorChannelCoder(), and charge().
|
private |
Definition at line 27 of file CastorChannelCoder.h.
Referenced by adc(), CastorChannelCoder(), and charge().