CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HGCalConcentratorBestChoiceImpl.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_L1THGCal_HGCalConcentratorBestChoiceImpl_h__
2 #define __L1Trigger_L1THGCal_HGCalConcentratorBestChoiceImpl_h__
3 
7 #include <vector>
8 
10 public:
12 
13  void select(unsigned nLinks,
14  unsigned nWafers,
15  const std::vector<l1t::HGCalTriggerCell>& trigCellVecInput,
16  std::vector<l1t::HGCalTriggerCell>& trigCellVecOutput,
17  std::vector<l1t::HGCalTriggerCell>& trigCellVecNotSelected);
18 
20 
21 private:
22  std::vector<unsigned> nData_;
23  static constexpr unsigned kNDataSize_ = 128;
24  static constexpr uint32_t kWaferOffset_ = 4;
25  static constexpr uint32_t kWaferMask_ = 0x7;
26  static constexpr uint32_t kLinkMask_ = 0xF;
27 
29 };
30 
31 #endif
void setGeometry(const HGCalTriggerGeometryBase *const)
void select(unsigned nLinks, unsigned nWafers, const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput, std::vector< l1t::HGCalTriggerCell > &trigCellVecNotSelected)
void setGeometry(const HGCalTriggerGeometryBase *const geom)
HGCalConcentratorBestChoiceImpl(const edm::ParameterSet &conf)