5 for (
int i=0;
i<df.
size();
i++) 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]) {
int presamples() const
number of samples before the sample from the triggered beam crossing (according to the hardware) ...
int presamples() const
access presample information
std::tuple< unsigned int, int, int, DigiType, int, int, int, float > Digi
void setPresamples(int pre)
set presample information
void fC2adc(const CaloSamples &clf, CastorDataFrame &df, int fCapIdOffset) const override
int size() const
get the size
DetId id() const
get the (generic) id
void process(const CaloSamples &clf, Digi &df, int fCapIdOffset)
const HcalCastorDetId & id() const
int size() const
total number of samples in the digi
void adc2fC(const CastorDataFrame &df, CaloSamples &lf) const override