CMS 3D CMS Logo

EcalFenixStripFormatEE.h
Go to the documentation of this file.
1 #ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXSTRIPFORMATEE_H
2 #define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXSTRIPFORMATEE_H
3 
4 #include <cstdint>
5 #include <vector>
6 
9 class EcalTPGTPMode;
10 
21 private:
26  uint32_t shift_;
27  int fgvb_;
28  uint16_t stripStatus_;
30 
31  int setInput(int input_even, int inputEvenPeak, int input_odd, int inputOddPeak, int fgvb);
32  int process();
33 
34 public:
36  virtual ~EcalFenixStripFormatEE();
37 
38  virtual void process(std::vector<int> &fgvbout,
39  std::vector<int> &peakout_even,
40  std::vector<int> &filtout_even,
41  std::vector<int> &peakout_odd,
42  std::vector<int> &filtout_odd,
43  std::vector<int> &output);
44  void setParameters(uint32_t id, const EcalTPGSlidingWindow *&, const EcalTPGStripStatus *, const EcalTPGTPMode *);
45 };
46 
47 #endif
int setInput(int input_even, int inputEvenPeak, int input_odd, int inputOddPeak, int fgvb)
Formatting for Fenix strip input: 18 bits + 3x 1bit (fgvb, gapflagbit, output from peakfinder) output...
void setParameters(uint32_t id, const EcalTPGSlidingWindow *&, const EcalTPGStripStatus *, const EcalTPGTPMode *)
Definition: output.py:1
const EcalTPGTPMode * ecaltpgTPMode_