4 : fixedDataSizePerHGCROC_(conf.getParameter<
bool>(
"fixedDataSizePerHGCROC")),
5 coarseTCmapping_(conf.getParameter<
std::
vector<unsigned>>(
"ctcSize")),
13 ctc.sumHwPt += tc.
hwPt();
14 ctc.sumMipPt += tc.
mipPt();
16 if (tc.
mipPt() > ctc.maxMipPt) {
17 ctc.maxId = tc.
detId();
18 ctc.maxMipPt = tc.
mipPt();
26 uint32_t compressed_value(0);
34 std::vector<l1t::HGCalTriggerCell>& trigCellVecOutput) {
42 trigCellVecOutput.push_back(tc);
54 triggerCell.
setDetId(representativeId);
59 triggerCell.
setP4(initial_p4);
64 triggerCell.
setP4(p4);
65 trigCellVecOutput.push_back(triggerCell);
HGCalTriggerTools triggerTools_
uint32_t getRepresentativeDetId(uint32_t tcid) const
double pt() const final
transverse momentum
void coarsen(const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput)
static constexpr int kHighDensityThickness_
bool fixedDataSizePerHGCROC_
void updateCoarseTriggerCellMaps(const l1t::HGCalTriggerCell &tc, uint32_t ctcid)
void calibrateInGeV(l1t::HGCalTriggerCell &) const
uint32_t getCoarseTriggerCellId(uint32_t detid) const
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
void compressSingle(const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue) const
void setDetId(uint32_t detid)
HGCalVFECompressionImpl vfeCompression_
GlobalPoint getCoarseTriggerCellPosition(uint32_t ctcId) const
HGCalTriggerCellCalibration calibration_
HGCalConcentratorCoarsenerImpl(const edm::ParameterSet &conf)
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::unordered_map< uint32_t, CoarseTC > coarseTCs_
HGCalCoarseTriggerCellMapping coarseTCmapping_
void setPosition(const GlobalPoint &position)
void setP4(const LorentzVector &p4) final
set 4-momentum
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
void assignCoarseTriggerCellEnergy(l1t::HGCalTriggerCell &c, const CoarseTC &ctc) const