CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalFenixTcpFormatEB.h
Go to the documentation of this file.
1 #ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCPFORMATEB_H
2 #define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCPFORMATEB_H
3 
5 #include <vector>
6 
7 class EcalTPGLutGroup;
8 class EcalTPGLutIdMap;
10 class EcalTPGSpike;
12 
25 public:
26  EcalFenixTcpFormatEB(bool tccFormat, bool debug, bool famos, int binOfMax);
27  virtual ~EcalFenixTcpFormatEB();
28  virtual std::vector<int> process(const std::vector<int> &, const std::vector<int> &) {
29  std::vector<int> v;
30  return v;
31  }
32  void process(std::vector<int> &Et_even_sum,
33  std::vector<int> &Et_odd_sum,
34  std::vector<int> &fgvb,
35  std::vector<int> &sfgvb,
36  int eTTotShift,
37  std::vector<EcalTriggerPrimitiveSample> &out,
38  std::vector<EcalTriggerPrimitiveSample> &outTcc);
39  void setParameters(uint32_t towid,
40  const EcalTPGLutGroup *ecaltpgLutGroup,
41  const EcalTPGLutIdMap *ecaltpgLut,
42  const EcalTPGTowerStatus *ecaltpgbadTT,
43  const EcalTPGSpike *ecaltpgSpike,
44  const EcalTPGTPMode *ecaltpgTPMode);
45 
46 private:
47  const unsigned int *lut_;
48  const uint16_t *badTTStatus_;
49  uint16_t status_;
50  bool tcpFormat_;
51  bool debug_;
52  bool famos_;
53  unsigned int binOfMax_;
54  uint16_t spikeZeroThresh_;
56 };
57 
58 #endif
const uint16_t * badTTStatus_
const unsigned int * lut_
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike, const EcalTPGTPMode *ecaltpgTPMode)
const EcalTPGTPMode * ecaltpgTPMode_
virtual std::vector< int > process(const std::vector< int > &, const std::vector< int > &)
#define debug
Definition: HDRShower.cc:19
EcalFenixTcpFormatEB(bool tccFormat, bool debug, bool famos, int binOfMax)