CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/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 
00021 class EcalFenixTcpFormat  {
00022 
00023  public:
00024   EcalFenixTcpFormat(bool tccFormat, bool debug, bool famos, int binOfMax); 
00025   virtual ~EcalFenixTcpFormat();
00026   virtual std::vector<int> process(std::vector<int>,std::vector<int>) {  std::vector<int> v;return v;}
00027   void process(std::vector<int> &Et, std::vector<int> &fgvb,  int eTTotShift, std::vector<EcalTriggerPrimitiveSample> & out, std::vector<EcalTriggerPrimitiveSample> & outTcc, bool isInInnerRings) ;
00028   void setParameters(uint32_t towid,const EcalTPGLutGroup *ecaltpgLutGroup,const EcalTPGLutIdMap *ecaltpgLut, const EcalTPGTowerStatus *ecaltpgbadTT);
00029 
00030  private:
00031   const unsigned int * lut_ ;
00032   const uint16_t * badTTStatus_;
00033   uint16_t status_;
00034   bool tcpFormat_;
00035   bool debug_;
00036   bool famos_;
00037   unsigned int binOfMax_;
00038 };
00039 
00040 #endif