CMS 3D CMS Logo

HGCalConcentratorCoarsenerImpl.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalConcentratorCoarsenerImpl_h__
2 #define __L1Trigger_L1THGCal_HGCalConcentratorCoarsenerImpl_h__
3 
9 
11 public:
13 
14  void coarsen(const std::vector<l1t::HGCalTriggerCell>& trigCellVecInput,
15  std::vector<l1t::HGCalTriggerCell>& trigCellVecOutput);
16  void eventSetup(const edm::EventSetup& es) {
20  }
21 
22 private:
27 
30 
31  struct CoarseTC {
32  float sumPt;
33  float maxMipPt;
34  int sumHwPt;
35  float sumMipPt;
36  unsigned maxId;
37  };
38 
39  std::unordered_map<uint32_t, CoarseTC> coarseTCs_;
40 
41  void updateCoarseTriggerCellMaps(const l1t::HGCalTriggerCell& tc, uint32_t ctcid);
43 };
44 
45 #endif
void eventSetup(const edm::EventSetup &)
void coarsen(const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput)
void eventSetup(const edm::EventSetup &es)
void updateCoarseTriggerCellMaps(const l1t::HGCalTriggerCell &tc, uint32_t ctcid)
void eventSetup(const edm::EventSetup &es)
HGCalConcentratorCoarsenerImpl(const edm::ParameterSet &conf)
void eventSetup(const edm::EventSetup &es)
void assignCoarseTriggerCellEnergy(l1t::HGCalTriggerCell &c, const CoarseTC &ctc) const
std::unordered_map< uint32_t, CoarseTC > coarseTCs_
HGCalCoarseTriggerCellMapping coarseTCmapping_
#define constexpr