CMS 3D CMS Logo

EcalFenixTcpFormat.h
Go to the documentation of this file.
1 #ifndef ECAL_FENIX_TCP_FORMAT_H
2 #define ECAL_FENIX_TCP_FORMAT_H
3 
5 #include <vector>
6 
7 class EcalTPGLutGroup ;
8 class EcalTPGLutIdMap;
11 
23 
24  public:
25  EcalFenixTcpFormat(bool tccFormat, bool debug, bool famos, int binOfMax);
26  virtual ~EcalFenixTcpFormat();
27 
28  void process(std::vector<int>&,std::vector<int>&);
29  void process(std::vector<int> &Et, std::vector<int> &fgvb, std::vector<int> &sfgvb, int eTTotShift, std::vector<EcalEBTriggerPrimitiveSample> & out, std::vector<EcalEBTriggerPrimitiveSample> & outTcc, bool isInInnerRings) ;
30  void setParameters(uint32_t towid,const EcalTPGLutGroup *ecaltpgLutGroup,const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike * ecaltpgSpike);
31 
32  private:
33  const unsigned int * lut_ ;
34  const uint16_t * badTTStatus_;
35  uint16_t status_;
36  bool tcpFormat_;
37  bool debug_;
38  bool famos_;
39  unsigned int binOfMax_;
40  uint16_t spikeZeroThresh_;
41 };
42 
43 #endif
void process(std::vector< int > &, std::vector< int > &)
const uint16_t * badTTStatus_
#define debug
Definition: HDRShower.cc:19
void setParameters(uint32_t towid, const EcalTPGLutGroup *ecaltpgLutGroup, const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike *ecaltpgSpike)
EcalFenixTcpFormat(bool tccFormat, bool debug, bool famos, int binOfMax)
const unsigned int * lut_