CMS 3D CMS Logo

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
EcalTPGTPMode
Definition: EcalTPGTPMode.h:12
EcalFenixTcpFormatEB::debug_
bool debug_
Definition: EcalFenixTcpFormatEB.h:51
EcalFenixTcpFormatEB::ecaltpgTPMode_
const EcalTPGTPMode * ecaltpgTPMode_
Definition: EcalFenixTcpFormatEB.h:55
EcalFenixTcpFormatEB::setParameters
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike, const EcalTPGTPMode *ecaltpgTPMode)
Definition: EcalFenixTcpFormatEB.cc:115
EcalTPGSpike
Definition: EcalTPGSpike.h:9
EcalFenixTcpFormatEB::spikeZeroThresh_
uint16_t spikeZeroThresh_
Definition: EcalFenixTcpFormatEB.h:54
EcalFenixTcpFormatEB
Definition: EcalFenixTcpFormatEB.h:24
findQualityFiles.v
v
Definition: findQualityFiles.py:179
EcalTPGLutGroup
Definition: EcalTPGLutGroup.h:13
EcalFenixTcpFormatEB::~EcalFenixTcpFormatEB
virtual ~EcalFenixTcpFormatEB()
Definition: EcalFenixTcpFormatEB.cc:17
debug
#define debug
Definition: HDRShower.cc:19
EcalFenixTcpFormatEB::badTTStatus_
const uint16_t * badTTStatus_
Definition: EcalFenixTcpFormatEB.h:48
EcalFenixTcpFormatEB::status_
uint16_t status_
Definition: EcalFenixTcpFormatEB.h:49
EcalTPGLutIdMap
Definition: EcalTPGLutIdMap.h:10
EcalFenixTcpFormatEB::lut_
const unsigned int * lut_
Definition: EcalFenixTcpFormatEB.h:47
EcalFenixTcpFormatEB::famos_
bool famos_
Definition: EcalFenixTcpFormatEB.h:52
EcalFenixTcpFormatEB::process
virtual std::vector< int > process(const std::vector< int > &, const std::vector< int > &)
Definition: EcalFenixTcpFormatEB.h:28
EcalFenixTcpFormatEB::EcalFenixTcpFormatEB
EcalFenixTcpFormatEB(bool tccFormat, bool debug, bool famos, int binOfMax)
Definition: EcalFenixTcpFormatEB.cc:11
EcalTriggerPrimitiveSample.h
EcalTPGTowerStatus
Definition: EcalTPGTowerStatus.h:9
EcalFenixTcpFormatEB::tcpFormat_
bool tcpFormat_
Definition: EcalFenixTcpFormatEB.h:50
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
EcalFenixTcpFormatEB::binOfMax_
unsigned int binOfMax_
Definition: EcalFenixTcpFormatEB.h:53