8 std::vector<int> vec(maxNrSamples,0);
18 int mask = (1<<bitMask)-1;
19 for (
int i2strip =0;i2strip<nstrip-1;++i2strip)
20 for (
unsigned int i=0;
i<output.size();
i++)
sumby2_[i2strip][
i]=0;
21 for (
unsigned int i=0;
i<output.size();
i++) output[
i] = 0;
23 for (
unsigned int i=0;
i<output.size();
i++){
25 output[
i]=((bypasslinout[0][
i])&mask);
27 for (
int i2strip=0; i2strip< nstrip-1;++i2strip){
28 sumby2_[i2strip][
i]= ((bypasslinout[i2strip][
i])&mask)+((bypasslinout[i2strip+1][
i])&mask);
void process(std::vector< std::vector< int > > &, int nStr, int bitMask, std::vector< int > &out)
std::vector< std::vector< int > > sumby2_
EcalFenixMaxof2(int maxNrSamples, int nbMaxStrips)
virtual ~EcalFenixMaxof2()