6 : nbMaxStrips_(nbMaxStrips) {
7 std::vector<int> vec(maxNrSamples, 0);
8 for (
int i2strip = 0; i2strip <
nbMaxStrips_ - 1; ++i2strip)
15 int nstrip,
int bitMask,
16 std::vector<int> &
output) {
17 int mask = (1 << bitMask) - 1;
18 for (
int i2strip = 0; i2strip < nstrip - 1; ++i2strip)
19 for (
unsigned int i = 0;
i < output.size();
i++)
21 for (
unsigned int i = 0;
i < output.size();
i++)
24 for (
unsigned int i = 0;
i < output.size();
i++) {
25 if (nstrip - 1 == 0) {
26 output[
i] = ((bypasslinout[0][
i]) & mask);
28 for (
int i2strip = 0; i2strip < nstrip - 1; ++i2strip) {
29 sumby2_[i2strip][
i] = ((bypasslinout[i2strip][
i]) & mask) +
30 ((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()