5 for (
int i = 0;
i < df.
size();
i++)
6 lf[
i] = df[
i].nominal_fC();
11 for (
int i = 0;
i < df.
size();
i++)
12 lf[
i] = df[
i].nominal_fC();
17 for (
int i = 0;
i < df.
size();
i++)
18 lf[
i] = df[
i].nominal_fC();
23 for (
int i = 0;
i < df.
size();
i++)
24 lf[
i] = df[
i].nominal_fC();
29 for (
int i = 0;
i < df.
size();
i++)
30 lf[
i] = df[
i].nominal_fC();
34 namespace HcalNominalCoderTemplate {
38 df.setSize(clf.
size());
40 for (
int i = 0;
i < clf.
size();
i++) {
41 int capId = (fCapIdOffset +
i) % 4;
42 for (
int q = 1;
q < 128;
q++) {
44 if (df[
i].nominal_fC() > clf[
i]) {
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
constexpr int size() const
total number of samples in the digi
int presamples() const
access presample information
constexpr const HcalDetId & id() const
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
int size() const
total number of samples in the digi
void process(const CaloSamples &clf, Digi &df, int fCapIdOffset)
constexpr int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
constexpr int size() const
total number of samples in the digi
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
const HcalCalibDetId & id() const
void setPresamples(int pre)
set presample information
constexpr int size() const
total number of samples in the digi
const HcalZDCDetId & id() const
int size() const
get the size
constexpr int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
int size() const
total number of samples in the digi
constexpr int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
DetId id() const
get the (generic) id
constexpr HcalDetId const & id() const
void fC2adc(const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const override
constexpr HcalDetId const & id() const