#include <CastorTPGCoder.h>
Public Member Functions | |
virtual unsigned short | adc2Linear (HcalQIESample sample, HcalDetId id) const =0 |
unsigned short | adc2Linear (unsigned char adc, HcalDetId id) const |
virtual std::vector< unsigned short > | getLinearizationLUT (HcalDetId id) const |
Get the full linearization LUT (128 elements). Default implementation just uses adc2Linear to get all values. More... | |
virtual float | getLUTGain (HcalDetId id) const =0 |
virtual float | getLUTPedestal (HcalDetId id) const =0 |
virtual | ~CastorTPGCoder ()=default |
Converts ADC to linear E or ET for use in the TPG path Also compresses linear scale for transmission to RCT
Note : whether the coder produces E or ET is determined by the specific implementation of the coder.
Definition at line 23 of file CastorTPGCoder.h.
|
virtualdefault |
|
pure virtual |
Referenced by getLinearizationLUT().
|
inline |
Definition at line 29 of file CastorTPGCoder.h.
|
virtual |
Get the full linearization LUT (128 elements). Default implementation just uses adc2Linear to get all values.
Definition at line 3 of file CastorTPGCoder.cc.
References adc2Linear(), mps_fire::i, and lumiPlot::lut.
|
pure virtual |
|
pure virtual |