00001 #ifndef ECAL_FENIX_FGVB_EB_H 00002 #define ECAL_FENIX_FGVB_EB_H 00003 00004 #include <vector> 00005 #include <stdint.h> 00006 00007 class EcalTPGFineGrainEBGroup; 00008 class EcalTPGFineGrainEBIdMap; 00009 00022 class EcalFenixFgvbEB { 00023 00024 private: 00025 uint32_t ETlow_, EThigh_, Ratlow_, Rathigh_, lut_; 00026 // std::vector<int> adder_out_; 00027 // std::vector<int> maxOf2_out_; 00028 // std::vector<int> fgvb_out_; 00029 std::vector<int> add_out_8_; 00030 00031 00032 public: 00033 EcalFenixFgvbEB(int maxNrSamples) ; 00034 virtual ~EcalFenixFgvbEB(); 00035 void setParameters(uint32_t towid,const EcalTPGFineGrainEBGroup *ecaltpgFgEBGroup,const EcalTPGFineGrainEBIdMap *ecaltpgFineGrainEB ); 00036 00037 void process( std::vector<int> &add_out, std::vector<int> &maxof2_out, std::vector<int> & output); 00038 }; 00039 00040 00041 #endif