5 for (
int i=0;
i<df.
size();
i++) lf[
i]=df[
i].nominal_fC();
10 for (
int i=0;
i<df.
size();
i++) lf[
i]=df[
i].nominal_fC();
15 for (
int i=0;
i<df.
size();
i++) lf[
i]=df[
i].nominal_fC();
20 for (
int i=0;
i<df.
size();
i++) lf[
i]=df[
i].nominal_fC();
25 for (
int i=0;
i<df.
size();
i++) lf[
i]=df[
i].nominal_fC();
33 df.setSize(clf.
size());
35 for (
int i=0;
i<clf.
size();
i++) {
36 int capId = (fCapIdOffset +
i) % 4;
37 for (
int q=1;
q<128;
q++) {
39 if (df[
i].nominal_fC()>clf[
i]) {
void fC2adc(const CaloSamples &clf, HBHEDataFrame &df, int fCapIdOffset) const override
int size() const
total number of samples in the digi
HcalDetId const & id() const
int presamples() const
access presample information
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
int size() const
total number of samples in the digi
void process(const CaloSamples &clf, Digi &df, int fCapIdOffset)
HcalDetId const & 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
const HcalCalibDetId & id() const
void setPresamples(int pre)
set presample information
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
const HcalZDCDetId & id() const
int size() const
total number of samples in the digi
int size() const
get the size
int size() const
total number of samples in the digi
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
const HcalDetId & id() const
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
number of samples before the sample from the triggered beam crossing (according to the hardware) ...