#include <HcalQIECoder.h>
Public Member Functions | |
unsigned | adc (const HcalQIEShape &fShape, float fCharge, unsigned fCapId) const |
fC + capid [0..3] -> ADC conversion More... | |
float | charge (const HcalQIEShape &fShape, unsigned fAdc, unsigned fCapId) const |
ADC [0..127] + capid [0..3] -> fC conversion. More... | |
HcalQIECoder (unsigned long fId=0) | |
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 Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
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 |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
|
inline |
Definition at line 23 of file HcalQIECoder.h.
References adc(), charge(), offset(), setOffset(), setSlope(), and slope().
unsigned HcalQIECoder::adc | ( | const HcalQIEShape & | fShape, |
float | fCharge, | ||
unsigned | fCapId | ||
) | const |
fC + capid [0..3] -> ADC conversion
Definition at line 27 of file HcalQIECoder.cc.
References stringResolutionProvider_cfi::bin, HcalQIEShape::highEdge(), HcalQIEShape::nbins(), offset(), and slope().
Referenced by HcalCoderDb::fC2adc_(), and HcalQIECoder().
float HcalQIECoder::charge | ( | const HcalQIEShape & | fShape, |
unsigned | fAdc, | ||
unsigned | fCapId | ||
) | const |
ADC [0..127] + capid [0..3] -> fC conversion.
Definition at line 22 of file HcalQIECoder.cc.
References HcalQIEShape::center(), offset(), HcalQIEShape::range(), and slope().
Referenced by HcalCoderDb::adc2fC_(), getLinearizedADC(), HcalQIECoder(), ZSEnergy_impl::keepMe(), HcalDbService::makeHcalCalibration(), HcalDbService::makeHcalCalibrationWidth(), HcalPedestalAnalysis::per2CapsHists(), and HcaluLUTTPGCoder::update().
float HcalQIECoder::offset | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 50 of file HcalQIECoder.cc.
References diffTreeTool::index, and mOffset00.
Referenced by adc(), HcalQIEDataCheck::analyze(), charge(), dumpHcalMatrixObject(), and HcalQIECoder().
|
inline |
Definition at line 37 of file HcalQIECoder.h.
References mId.
Referenced by HcalDbService::getHcalShape().
|
private |
void HcalQIECoder::setOffset | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 58 of file HcalQIECoder.cc.
References MessageLogger_cfi::cerr, diffTreeTool::index, mOffset00, and mitigatedMETSequence_cff::U.
Referenced by dumpHcalMatrixObject(), and HcalQIECoder().
void HcalQIECoder::setSlope | ( | unsigned | fCapId, |
unsigned | fRange, | ||
float | fValue | ||
) |
Definition at line 67 of file HcalQIECoder.cc.
References MessageLogger_cfi::cerr, diffTreeTool::index, mSlope00, and mitigatedMETSequence_cff::U.
Referenced by dumpHcalMatrixObject(), and HcalQIECoder().
float HcalQIECoder::slope | ( | unsigned | fCapId, |
unsigned | fRange | ||
) | const |
Definition at line 54 of file HcalQIECoder.cc.
References diffTreeTool::index, and mSlope00.
Referenced by adc(), HcalQIEDataCheck::analyze(), charge(), Vispa.Views.LineDecayView.DecayLine::containsPoint(), dumpHcalMatrixObject(), HcalQIECoder(), and Vispa.Views.LineDecayView.DecayLine::transform().
|
friend |
Definition at line 74 of file HcalQIECoder.h.
|
friend |
Definition at line 74 of file HcalQIECoder.h.
|
private |
Definition at line 40 of file HcalQIECoder.h.
Referenced by rawId().
|
private |
Definition at line 41 of file HcalQIECoder.h.
Referenced by offset(), and setOffset().
|
private |
Definition at line 42 of file HcalQIECoder.h.
|
private |
Definition at line 43 of file HcalQIECoder.h.
|
private |
Definition at line 44 of file HcalQIECoder.h.
|
private |
Definition at line 45 of file HcalQIECoder.h.
|
private |
Definition at line 46 of file HcalQIECoder.h.
|
private |
Definition at line 47 of file HcalQIECoder.h.
|
private |
Definition at line 48 of file HcalQIECoder.h.
|
private |
Definition at line 49 of file HcalQIECoder.h.
|
private |
Definition at line 50 of file HcalQIECoder.h.
|
private |
Definition at line 51 of file HcalQIECoder.h.
|
private |
Definition at line 52 of file HcalQIECoder.h.
|
private |
Definition at line 53 of file HcalQIECoder.h.
|
private |
Definition at line 54 of file HcalQIECoder.h.
|
private |
Definition at line 55 of file HcalQIECoder.h.
|
private |
Definition at line 56 of file HcalQIECoder.h.
|
private |
Definition at line 57 of file HcalQIECoder.h.
Referenced by setSlope(), and slope().
|
private |
Definition at line 58 of file HcalQIECoder.h.
|
private |
Definition at line 59 of file HcalQIECoder.h.
|
private |
Definition at line 60 of file HcalQIECoder.h.
|
private |
Definition at line 61 of file HcalQIECoder.h.
|
private |
Definition at line 62 of file HcalQIECoder.h.
|
private |
Definition at line 63 of file HcalQIECoder.h.
|
private |
Definition at line 64 of file HcalQIECoder.h.
|
private |
Definition at line 65 of file HcalQIECoder.h.
|
private |
Definition at line 66 of file HcalQIECoder.h.
|
private |
Definition at line 67 of file HcalQIECoder.h.
|
private |
Definition at line 68 of file HcalQIECoder.h.
|
private |
Definition at line 69 of file HcalQIECoder.h.
|
private |
Definition at line 70 of file HcalQIECoder.h.
|
private |
Definition at line 71 of file HcalQIECoder.h.
|
private |
Definition at line 72 of file HcalQIECoder.h.