File indexing completed on 2024-04-06 12:29:28
0001 #ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXMAXOF2_H
0002 #define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXMAXOF2_H
0003
0004 #include <vector>
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 class EcalFenixMaxof2 {
0021 public:
0022 EcalFenixMaxof2(int maxNrSamples, int nbMaxStrips);
0023 virtual ~EcalFenixMaxof2();
0024 void process(std::vector<std::vector<int>> &, int nStr, int bitMask, int bitOddEven, std::vector<int> &out);
0025
0026 private:
0027 int nbMaxStrips_;
0028 std::vector<std::vector<int>> sumby2_;
0029 };
0030
0031 #endif