Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:36

0001 ///
0002 /// Description: Firmware headers
0003 ///
0004 /// Implementation:
0005 ///    Concrete firmware implementations
0006 ///
0007 /// \author: Jim Brooke - University of Bristol
0008 ///
0009 
0010 //
0011 //
0012 
0013 #ifndef Stage2Layer2JetSumAlgorithmFirmware_H
0014 #define Stage2Layer2JetSumAlgorithmFirmware_H
0015 
0016 #include "L1Trigger/L1TCalorimeter/interface/Stage2Layer2JetSumAlgorithm.h"
0017 #include "L1Trigger/L1TCalorimeter/interface/CaloParamsHelper.h"
0018 
0019 namespace l1t {
0020 
0021   // Imp1 is for v1 and v2
0022   class Stage2Layer2JetSumAlgorithmFirmwareImp1 : public Stage2Layer2JetSumAlgorithm {
0023   public:
0024     Stage2Layer2JetSumAlgorithmFirmwareImp1(CaloParamsHelper const* params);
0025     ~Stage2Layer2JetSumAlgorithmFirmwareImp1() override = default;
0026     void processEvent(const std::vector<l1t::Jet>& alljets, std::vector<l1t::EtSum>& htsums) override;
0027 
0028   private:
0029     int32_t mhtJetThresholdHw_;
0030     int32_t httJetThresholdHw_;
0031     int32_t mhtEtaMax_;
0032     int32_t httEtaMax_;
0033     int32_t mhtEtaMaxHF_;
0034     int32_t httEtaMaxHF_;
0035   };
0036 }  // namespace l1t
0037 
0038 #endif