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:
26  static constexpr int kHighDensityThickness_ = 0;
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
HGCalTriggerTools.h
HGCalTriggerTools::eventSetup
void eventSetup(const edm::EventSetup &)
Definition: HGCalTriggerTools.cc:35
HGCalConcentratorCoarsenerImpl::CoarseTC::maxMipPt
float maxMipPt
Definition: HGCalConcentratorCoarsenerImpl.h:33
HGCalConcentratorCoarsenerImpl::triggerTools_
HGCalTriggerTools triggerTools_
Definition: HGCalConcentratorCoarsenerImpl.h:23
HGCalConcentratorCoarsenerImpl::CoarseTC::sumPt
float sumPt
Definition: HGCalConcentratorCoarsenerImpl.h:32
HGCalConcentratorCoarsenerImpl::coarseTCs_
std::unordered_map< uint32_t, CoarseTC > coarseTCs_
Definition: HGCalConcentratorCoarsenerImpl.h:39
HGCalConcentratorCoarsenerImpl::eventSetup
void eventSetup(const edm::EventSetup &es)
Definition: HGCalConcentratorCoarsenerImpl.h:16
HGCalCoarseTriggerCellMapping::eventSetup
void eventSetup(const edm::EventSetup &es)
Definition: HGCalCoarseTriggerCellMapping.h:17
HGCalTriggerCellCalibration::eventSetup
void eventSetup(const edm::EventSetup &es)
Definition: HGCalTriggerCellCalibration.h:12
HGCalConcentratorCoarsenerImpl::coarseTCmapping_
HGCalCoarseTriggerCellMapping coarseTCmapping_
Definition: HGCalConcentratorCoarsenerImpl.h:25
HGCalConcentratorCoarsenerImpl::coarsen
void coarsen(const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput)
Definition: HGCalConcentratorCoarsenerImpl.cc:33
HGCalVFECompressionImpl
Definition: HGCalVFECompressionImpl.h:9
HGCalTriggerCellCalibration.h
HGCalConcentratorCoarsenerImpl::HGCalConcentratorCoarsenerImpl
HGCalConcentratorCoarsenerImpl(const edm::ParameterSet &conf)
Definition: HGCalConcentratorCoarsenerImpl.cc:3
l1t::HGCalTriggerCell
Definition: HGCalTriggerCell.h:14
edm::ParameterSet
Definition: ParameterSet.h:47
HGCalConcentratorCoarsenerImpl::kHighDensityThickness_
static constexpr int kHighDensityThickness_
Definition: HGCalConcentratorCoarsenerImpl.h:26
HGCalCoarseTriggerCellMapping
Definition: HGCalCoarseTriggerCellMapping.h:9
HGCalConcentratorCoarsenerImpl::CoarseTC::sumHwPt
int sumHwPt
Definition: HGCalConcentratorCoarsenerImpl.h:34
HGCalConcentratorCoarsenerImpl::fixedDataSizePerHGCROC_
bool fixedDataSizePerHGCROC_
Definition: HGCalConcentratorCoarsenerImpl.h:24
HGCalConcentratorCoarsenerImpl::updateCoarseTriggerCellMaps
void updateCoarseTriggerCellMaps(const l1t::HGCalTriggerCell &tc, uint32_t ctcid)
Definition: HGCalConcentratorCoarsenerImpl.cc:9
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
HGCalConcentratorCoarsenerImpl
Definition: HGCalConcentratorCoarsenerImpl.h:10
HGCalVFECompressionImpl.h
HGCalCoarseTriggerCellMapping.h
HGCalConcentratorCoarsenerImpl::CoarseTC::sumMipPt
float sumMipPt
Definition: HGCalConcentratorCoarsenerImpl.h:35
HGCalConcentratorCoarsenerImpl::vfeCompression_
HGCalVFECompressionImpl vfeCompression_
Definition: HGCalConcentratorCoarsenerImpl.h:29
HGCalTriggerTools
Definition: HGCalTriggerTools.h:32
HGCalConcentratorCoarsenerImpl::CoarseTC
Definition: HGCalConcentratorCoarsenerImpl.h:31
ParameterSet.h
HGCalConcentratorCoarsenerImpl::assignCoarseTriggerCellEnergy
void assignCoarseTriggerCellEnergy(l1t::HGCalTriggerCell &c, const CoarseTC &ctc) const
Definition: HGCalConcentratorCoarsenerImpl.cc:22
HGCalConcentratorCoarsenerImpl::CoarseTC::maxId
unsigned maxId
Definition: HGCalConcentratorCoarsenerImpl.h:36
HGCalTriggerCellCalibration
Definition: HGCalTriggerCellCalibration.h:9
HGCalConcentratorCoarsenerImpl::calibration_
HGCalTriggerCellCalibration calibration_
Definition: HGCalConcentratorCoarsenerImpl.h:28