14 typename std::vector<T>::iterator
strip(digis.begin()),
end(digis.end()), endAPV, high, low;
19 tmp.insert(tmp.end(),
strip, endAPV);
26 tmp.push_back(*high++ - *low++);
29 while (
strip < endAPV) {
30 *
strip =
static_cast<T>(*
strip - (offset + slope * (65 - (endAPV -
strip))));
static const double slope[3]
void subtract_(uint32_t detId, uint16_t firstAPV, std::vector< T > &digis)
float median(std::vector< T > &)
void subtract(uint32_t detId, uint16_t firstAPV, std::vector< int16_t > &digis) override