#include <CastorQIECoder.h>
Public Member Functions | |
unsigned | adc (const CastorQIEShape &fShape, float fCharge, unsigned fCapId) const |
fC + capid [0..3] -> ADC conversion More... | |
CastorQIECoder (unsigned long fId=0) | |
float | charge (const CastorQIEShape &fShape, unsigned fAdc, unsigned fCapId) const |
ADC [0..127] + capid [0..3] -> fC conversion. More... | |
float | offset (unsigned fCapId, unsigned fRange) const |
uint32_t | rawId () const |
void | setOffset (unsigned fCapId, unsigned fRange, float fValue) |
void | setSlope (unsigned fCapId, unsigned fRange, float fValue) |
float | slope (unsigned fCapId, unsigned fRange) const |
Private Attributes | |
COND_SERIALIZABLE | |
uint32_t | mId |
float | mOffset00 |
float | mOffset01 |
float | mOffset02 |
float | mOffset03 |
float | mOffset10 |
float | mOffset11 |
float | mOffset12 |
float | mOffset13 |
float | mOffset20 |
float | mOffset21 |
float | mOffset22 |
float | mOffset23 |
float | mOffset30 |
float | mOffset31 |
float | mOffset32 |
float | mOffset33 |
float | mSlope00 |
float | mSlope01 |
float | mSlope02 |
float | mSlope03 |
float | mSlope10 |
float | mSlope11 |
float | mSlope12 |
float | mSlope13 |
float | mSlope20 |
float | mSlope21 |
float | mSlope22 |
float | mSlope23 |
float | mSlope30 |
float | mSlope31 |
float | mSlope32 |
float | mSlope33 |
Modified for CASTOR by L. Mundim
Definition at line 22 of file CastorQIECoder.h.
|
inline |
Definition at line 24 of file CastorQIECoder.h.
unsigned CastorQIECoder::adc | ( | const CastorQIEShape & | fShape, |
float | fCharge, | ||
unsigned | fCapId | ||
) | const |
fC + capid [0..3] -> ADC conversion
Definition at line 22 of file CastorQIECoder.cc.
References newFWLiteAna::bin, CastorQIEShape::highEdge(), offset(), and slope().
Referenced by CastorCoderDb::fC2adc_().
float CastorQIECoder::charge | ( | const CastorQIEShape & | fShape, |
unsigned | fAdc, | ||
unsigned | fCapId | ||
) | const |
ADC [0..127] + capid [0..3] -> fC conversion.
Definition at line 17 of file CastorQIECoder.cc.
References CastorQIEShape::center(), offset(), CastorQIEShape::range(), and slope().
Referenced by CastorCoderDb::adc2fC_(), CastorPedestalsAnalysis::analyze(), reco::castor::getLinearizedADC(), CastorDbService::makeCastorCalibration(), CastorDbService::makeCastorCalibrationWidth(), CastorPedestalAnalysis::per2CapsHists(), and CastorPSMonitor::processEvent().
float CastorQIECoder::offset | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 43 of file CastorQIECoder.cc.
References cmsHarvester::index, and mOffset00.
Referenced by adc(), and charge().
|
inline |
void CastorQIECoder::setOffset | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 51 of file CastorQIECoder.cc.
References dtNoiseDBValidation_cfg::cerr, cmsHarvester::index, and mOffset00.
void CastorQIECoder::setSlope | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 60 of file CastorQIECoder.cc.
References dtNoiseDBValidation_cfg::cerr, cmsHarvester::index, and mSlope00.
float CastorQIECoder::slope | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 47 of file CastorQIECoder.cc.
References cmsHarvester::index, and mSlope00.
Referenced by adc(), charge(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
private |
Definition at line 81 of file CastorQIECoder.h.
|
private |
Definition at line 47 of file CastorQIECoder.h.
Referenced by rawId().
|
private |
Definition at line 48 of file CastorQIECoder.h.
Referenced by offset(), and setOffset().
|
private |
Definition at line 49 of file CastorQIECoder.h.
|
private |
Definition at line 50 of file CastorQIECoder.h.
|
private |
Definition at line 51 of file CastorQIECoder.h.
|
private |
Definition at line 52 of file CastorQIECoder.h.
|
private |
Definition at line 53 of file CastorQIECoder.h.
|
private |
Definition at line 54 of file CastorQIECoder.h.
|
private |
Definition at line 55 of file CastorQIECoder.h.
|
private |
Definition at line 56 of file CastorQIECoder.h.
|
private |
Definition at line 57 of file CastorQIECoder.h.
|
private |
Definition at line 58 of file CastorQIECoder.h.
|
private |
Definition at line 59 of file CastorQIECoder.h.
|
private |
Definition at line 60 of file CastorQIECoder.h.
|
private |
Definition at line 61 of file CastorQIECoder.h.
|
private |
Definition at line 62 of file CastorQIECoder.h.
|
private |
Definition at line 63 of file CastorQIECoder.h.
|
private |
Definition at line 64 of file CastorQIECoder.h.
Referenced by setSlope(), and slope().
|
private |
Definition at line 65 of file CastorQIECoder.h.
|
private |
Definition at line 66 of file CastorQIECoder.h.
|
private |
Definition at line 67 of file CastorQIECoder.h.
|
private |
Definition at line 68 of file CastorQIECoder.h.
|
private |
Definition at line 69 of file CastorQIECoder.h.
|
private |
Definition at line 70 of file CastorQIECoder.h.
|
private |
Definition at line 71 of file CastorQIECoder.h.
|
private |
Definition at line 72 of file CastorQIECoder.h.
|
private |
Definition at line 73 of file CastorQIECoder.h.
|
private |
Definition at line 74 of file CastorQIECoder.h.
|
private |
Definition at line 75 of file CastorQIECoder.h.
|
private |
Definition at line 76 of file CastorQIECoder.h.
|
private |
Definition at line 77 of file CastorQIECoder.h.
|
private |
Definition at line 78 of file CastorQIECoder.h.
|
private |
Definition at line 79 of file CastorQIECoder.h.