Go to the documentation of this file.
15 for (
int i = 0;
i <
df.size();
i++) {
24 for (
int i = 0;
i <
df.samples();
i++) {
34 for (
int i = 0;
i <
df.samples();
i++) {
46 for (
int i = 0;
i < clf.
size();
i++) {
47 int capId = (fCapIdOffset +
i) % 4;
55 for (
int i = 0;
i < clf.
size();
i++) {
56 int capId = (fCapIdOffset +
i) % 4;
57 bool soi = (
i == presample);
65 df.setCapid0(fCapIdOffset % 4);
66 for (
int i = 0;
i < clf.
size();
i++) {
67 int capId = (fCapIdOffset +
i) % 4;
68 bool soi = (
i == presample);
void fC2adc(const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const override
float charge(const HcalQIEShape &fShape, unsigned fAdc, unsigned fCapId) const
ADC [0..127] + capid [0..3] -> fC conversion.
int size() const
get the size
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
HcalCoderDb(const HcalQIECoder &fCoder, const HcalQIEShape &fShape)
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
void setPresamples(int pre)
set presample information
void fC2adc_(const CaloSamples &clf, Digi &df, int fCapIdOffset) const
DetId id() const
get the (generic) id
int presamples() const
access presample information
void adc2fC_(const Digi &df, CaloSamples &clf) const
const HcalQIEShape * mShape
unsigned adc(const HcalQIEShape &fShape, float fCharge, unsigned fCapId) const
fC + capid [0..3] -> ADC conversion
const HcalQIECoder * mCoder