File indexing completed on 2024-04-06 12:20:38
0001 #ifndef __L1Trigger_L1THGCal_HGCalConcentratorThresholdImpl_h__
0002 #define __L1Trigger_L1THGCal_HGCalConcentratorThresholdImpl_h__
0003
0004 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0005 #include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
0006 #include "L1Trigger/L1THGCal/interface/HGCalTriggerTools.h"
0007 #include <vector>
0008
0009 class HGCalConcentratorThresholdImpl {
0010 public:
0011 HGCalConcentratorThresholdImpl(const edm::ParameterSet& conf);
0012
0013 void select(const std::vector<l1t::HGCalTriggerCell>& trigCellVecInput,
0014 std::vector<l1t::HGCalTriggerCell>& trigCellVecOutput,
0015 std::vector<l1t::HGCalTriggerCell>& trigCellVecNotSelected);
0016
0017 void setGeometry(const HGCalTriggerGeometryBase* const geom) { triggerTools_.setGeometry(geom); }
0018
0019 private:
0020 double threshold_silicon_;
0021 double threshold_scintillator_;
0022
0023 HGCalTriggerTools triggerTools_;
0024 };
0025
0026 #endif