Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:23:44

0001 #ifndef SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXSTRIPFGVBEE_H
0002 #define SIMCALORIMETRY_ECALTRIGPRIMALGOS_ECALFENIXSTRIPFGVBEE_H
0003 #include <CondFormats/EcalObjects/interface/EcalTPGFineGrainStripEE.h>
0004 
0005 #include <vector>
0006 
0007 class EEDataFrame;
0008 // class EcalTPGFineGrainStripEE;
0009 
0010 /**
0011     \class EcalFenixStripFgvbEE
0012     \brief calculation of Fgvb for the endcap in Fenix Strip
0013     *  calculates fgvb for the endcap in Fenix Strip
0014     *
0015     *
0016     *  input: 5X18 bits
0017     *  output: 1 bit
0018     *
0019     *
0020     */
0021 class EcalFenixStripFgvbEE {
0022 private:
0023   int threshold_fg_;
0024   int lut_fg_;
0025   int identif_;
0026   bool flagBadStripMiss_;
0027 
0028 public:
0029   EcalFenixStripFgvbEE();
0030   virtual ~EcalFenixStripFgvbEE();
0031   void setParameters(int identif, uint32_t id, const EcalTPGFineGrainStripEE *);
0032   void process(std::vector<std::vector<int>> &lin_out, std::vector<int> &output);
0033 
0034   void setbadStripMissing(bool flag) { flagBadStripMiss_ = flag; }
0035   bool getMissedStripFlag() const { return flagBadStripMiss_; }
0036 };
0037 
0038 #endif