26 const int nRead = cs.
size();
37 for (
int ts=0; ts<nRead; ++ts)
40 const int capid = s.
capid();
41 const float q = cs[ts] - calib.
pedestal(capid);
55 timeRising, timeFalling,
58 else if (0 <= tsToUse && tsToUse < nRead)
61 const int capid = s.
capid();
74 const int winCenter = nStore/2;
75 if (tsToUse > winCenter)
76 shift = tsToUse - winCenter;
77 if (shift + nStore > nRead)
78 shift = nRead - nStore;
83 for (
int i=0;
i<nStore; ++
i)
84 raw[
i] = digi[
i + shift].wideRaw();
87 timeRising, timeFalling,
88 raw, nStore, tsToUse -
shift);
HFQIE10Info reconstruct(const QIE10DataFrame &digi, int tsToUse, const HcalCoder &coder, const HcalCalibrations &calibs) const
unique_ptr< ClusterSequence > cs
edm::DataFrame::id_type id() const
constexpr float getTDCTime(const int tdc)
QIE10DataFrame::Sample::wide_type wideRaw() const
QIE10DataFrame::Sample::wide_type raw_type
virtual void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const =0
constexpr double pedestal(int fCapId) const
get pedestal for capid=0..3
int size() const
get the size
constexpr float UNKNOWN_T_NOTDC
static unsigned int const shift
static const unsigned N_RAW_MAX
constexpr double respcorrgain(int fCapId) const
get response corrected gain for capid=0..3