#include <HGCalConcentratorCoarsenerImpl.h>
Classes | |
struct | CoarseTC |
Public Member Functions | |
void | coarsen (const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput) |
void | eventSetup (const edm::EventSetup &es) |
HGCalConcentratorCoarsenerImpl (const edm::ParameterSet &conf) | |
Private Member Functions | |
void | assignCoarseTriggerCellEnergy (l1t::HGCalTriggerCell &c, const CoarseTC &ctc) const |
void | updateCoarseTriggerCellMaps (const l1t::HGCalTriggerCell &tc, uint32_t ctcid) |
Private Attributes | |
HGCalTriggerCellCalibration | calibration_ |
HGCalCoarseTriggerCellMapping | coarseTCmapping_ |
std::unordered_map< uint32_t, CoarseTC > | coarseTCs_ |
bool | fixedDataSizePerHGCROC_ |
HGCalTriggerTools | triggerTools_ |
HGCalVFECompressionImpl | vfeCompression_ |
Static Private Attributes | |
static constexpr int | kHighDensityThickness_ = 0 |
Definition at line 10 of file HGCalConcentratorCoarsenerImpl.h.
HGCalConcentratorCoarsenerImpl::HGCalConcentratorCoarsenerImpl | ( | const edm::ParameterSet & | conf | ) |
Definition at line 3 of file HGCalConcentratorCoarsenerImpl.cc.
|
private |
Definition at line 22 of file HGCalConcentratorCoarsenerImpl.cc.
References HGCalTriggerCellCalibration::calibrateInGeV(), calibration_, HGCalVFECompressionImpl::compressSingle(), l1t::L1Candidate::setHwPt(), HGCalConcentratorCoarsenerImpl::CoarseTC::sumHwPt, and vfeCompression_.
Referenced by coarsen().
void HGCalConcentratorCoarsenerImpl::coarsen | ( | const std::vector< l1t::HGCalTriggerCell > & | trigCellVecInput, |
std::vector< l1t::HGCalTriggerCell > & | trigCellVecOutput | ||
) |
Definition at line 33 of file HGCalConcentratorCoarsenerImpl.cc.
References assignCoarseTriggerCellEnergy(), coarseTCmapping_, coarseTCs_, fixedDataSizePerHGCROC_, HGCalCoarseTriggerCellMapping::getCoarseTriggerCellId(), HGCalCoarseTriggerCellMapping::getCoarseTriggerCellPosition(), HGCalCoarseTriggerCellMapping::getRepresentativeDetId(), kHighDensityThickness_, p4, point, reco::LeafCandidate::pt(), l1t::HGCalTriggerCell::setDetId(), reco::LeafCandidate::setP4(), l1t::HGCalTriggerCell::setPosition(), Calorimetry_cff::thickness, HGCalTriggerTools::thicknessIndex(), triggerTools_, and updateCoarseTriggerCellMaps().
|
inline |
Definition at line 16 of file HGCalConcentratorCoarsenerImpl.h.
References calibration_, coarseTCmapping_, HGCalTriggerCellCalibration::eventSetup(), HGCalCoarseTriggerCellMapping::eventSetup(), HGCalTriggerTools::eventSetup(), and triggerTools_.
|
private |
Definition at line 9 of file HGCalConcentratorCoarsenerImpl.cc.
References coarseTCs_, l1t::HGCalTriggerCell::detId(), l1t::L1Candidate::hwPt(), l1t::HGCalTriggerCell::mipPt(), and reco::LeafCandidate::pt().
Referenced by coarsen().
|
private |
Definition at line 28 of file HGCalConcentratorCoarsenerImpl.h.
Referenced by assignCoarseTriggerCellEnergy(), and eventSetup().
|
private |
Definition at line 25 of file HGCalConcentratorCoarsenerImpl.h.
Referenced by coarsen(), and eventSetup().
|
private |
Definition at line 39 of file HGCalConcentratorCoarsenerImpl.h.
Referenced by coarsen(), and updateCoarseTriggerCellMaps().
|
private |
Definition at line 24 of file HGCalConcentratorCoarsenerImpl.h.
Referenced by coarsen().
|
staticconstexprprivate |
Definition at line 26 of file HGCalConcentratorCoarsenerImpl.h.
Referenced by coarsen().
|
private |
Definition at line 23 of file HGCalConcentratorCoarsenerImpl.h.
Referenced by coarsen(), and eventSetup().
|
private |
Definition at line 29 of file HGCalConcentratorCoarsenerImpl.h.
Referenced by assignCoarseTriggerCellEnergy().