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() ),
20 endAPV =
strip+128; tmp.clear();
21 tmp.insert(tmp.end(),
strip,endAPV);
24 _vmedians.push_back(std::pair<short,float>((
strip-digis.begin())/128,offset));
26 while (
strip < endAPV) {
39 typename std::vector<T>::iterator mid = sample.begin() + int(sample.size()*pct/100.0);
40 std::nth_element(sample.begin(), mid, sample.end());
float percentile(std::vector< T > &, double)
unsigned int offset(bool)
std::vector< std::pair< short, float > > _vmedians
std::vector< std::vector< double > > tmp
void subtract(const uint32_t &, std::vector< int16_t > &)
void subtract_(const uint32_t &, std::vector< T > &)