File indexing completed on 2024-04-06 12:20:17
0001
0002
0003
0004
0005
0006
0007
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
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 }
0037
0038 #endif