CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalFenixTcpFormatEE.h
Go to the documentation of this file.
1 #ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCPFORMATEE_H
2 #define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXTCPFORMATEE_H
3 
5 #include <vector>
6 
7 class EcalTPGLutGroup;
8 class EcalTPGLutIdMap;
10 class EcalTPGSpike;
11 class EcalTPGTPMode;
12 
24 public:
25  EcalFenixTcpFormatEE(bool tccFormat, bool debug, bool famos, int binOfMax);
26  virtual ~EcalFenixTcpFormatEE();
27  virtual std::vector<int> process(const std::vector<int> &, const std::vector<int> &) {
28  std::vector<int> v;
29  return v;
30  }
31  void process(std::vector<int> &Et_even_sum,
32  std::vector<int> &Et_odd_sum,
33  std::vector<int> &fgvb,
34  std::vector<int> &sfgvb,
35  int eTTotShift,
36  std::vector<EcalTriggerPrimitiveSample> &out,
37  std::vector<EcalTriggerPrimitiveSample> &outTcc,
38  bool isInInnerRings);
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
EcalFenixTcpFormatEE(bool tccFormat, bool debug, bool famos, int binOfMax)
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike, const EcalTPGTPMode *ecaltpgTPMode)
const EcalTPGTPMode * ecaltpgTPMode_
#define debug
Definition: HDRShower.cc:19
const unsigned int * lut_
virtual std::vector< int > process(const std::vector< int > &, const std::vector< int > &)
const uint16_t * badTTStatus_