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);
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 setGeometry(const HGCalTriggerGeometryBase *const geom)
void coarsen(const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput)
void updateCoarseTriggerCellMaps(const l1t::HGCalTriggerCell &tc, uint32_t ctcid)
void setGeometry(const HGCalTriggerGeometryBase *const)
void setGeometry(const HGCalTriggerGeometryBase *const geom)
HGCalConcentratorCoarsenerImpl(const edm::ParameterSet &conf)
std::unordered_map< uint32_t, CoarseTC > coarseTCs_
HGCalCoarseTriggerCellMapping coarseTCmapping_
void setGeometry(const HGCalTriggerGeometryBase *const geom)
void assignCoarseTriggerCellEnergy(l1t::HGCalTriggerCell &c, const CoarseTC &ctc) const