CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/SimCalorimetry/EcalTrigPrimAlgos/interface/EcalFenixTcpFormat.h

Go to the documentation of this file.
00001 #ifndef ECAL_FENIX_TCP_FORMAT_H
00002 #define ECAL_FENIX_TCP_FORMAT_H
00003 
00004 #include "DataFormats/EcalDigi/interface/EcalTriggerPrimitiveSample.h"
00005 #include <vector>
00006 
00007 class EcalTPGLutGroup ;
00008 class EcalTPGLutIdMap;
00009 class EcalTPGTowerStatus;
00010 class EcalTPGSpike;
00011 
00022 class EcalFenixTcpFormat  {
00023 
00024  public:
00025   EcalFenixTcpFormat(bool tccFormat, bool debug, bool famos, int binOfMax); 
00026   virtual ~EcalFenixTcpFormat();
00027   virtual std::vector<int> process(std::vector<int>,std::vector<int>) {  std::vector<int> v;return v;}
00028   void process(std::vector<int> &Et, std::vector<int> &fgvb, std::vector<int> &sfgvb, int eTTotShift, std::vector<EcalTriggerPrimitiveSample> & out, std::vector<EcalTriggerPrimitiveSample> & outTcc, bool isInInnerRings) ;
00029   void setParameters(uint32_t towid,const EcalTPGLutGroup *ecaltpgLutGroup,const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT, const EcalTPGSpike * ecaltpgSpike);
00030 
00031  private:
00032   const unsigned int * lut_ ;
00033   const uint16_t * badTTStatus_;
00034   uint16_t status_;
00035   bool tcpFormat_;
00036   bool debug_;
00037   bool famos_;
00038   unsigned int binOfMax_;
00039   uint16_t spikeZeroThresh_;
00040 };
00041 
00042 #endif