9 subtract_(
const uint32_t& detId,std::vector<T>& digis){
11 std::vector<T>
tmp; tmp.reserve(128);
12 typename std::vector<T>::iterator
13 strip( digis.begin() ),
18 endAPV =
strip+128; tmp.clear();
19 tmp.insert(tmp.end(),
strip,endAPV);
23 while( high < endAPV) tmp.push_back( *high++ - *low++ );
26 while (
strip < endAPV) {
27 *
strip =
static_cast<T>( *
strip - (offset + slope*(65 - (endAPV-
strip) ) ) );
static const double slope[3]
float median(std::vector< T > &)
void subtract_(const uint32_t &, std::vector< T > &)
void subtract(const uint32_t &, std::vector< int16_t > &)
unsigned int offset(bool)
std::vector< std::vector< double > > tmp