Go to the documentation of this file.
5 for (
int i = 0;
i < df.
size();
i++)
6 lf[
i] = df[
i].nominal_fC();
14 df.setSize(clf.
size());
16 for (
int i = 0;
i < clf.
size();
i++) {
17 int capId = (fCapIdOffset +
i) % 4;
18 for (
int q = 1;
q < 128;
q++) {
20 if (df[
i].nominal_fC() > clf[
i]) {
void adc2fC(const CastorDataFrame &df, CaloSamples &lf) const override
int size() const
get the size
const HcalCastorDetId & id() const
void process(const CaloSamples &clf, Digi &df, int fCapIdOffset)
void setPresamples(int pre)
set presample information
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)
DetId id() const
get the (generic) id
int presamples() const
access presample information
void fC2adc(const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const override