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();
30 edm::LogWarning(
"CompressedValueDowncasting") <<
"Compressed value cannot fit into 32-bit word. Downcasting.";
32 tc.
setHwPt(static_cast<int>(compressed_value));
37 std::vector<l1t::HGCalTriggerCell>& trigCellVecOutput) {
45 trigCellVecOutput.push_back(tc);
57 triggerCell.
setDetId(representativeId);
62 triggerCell.
setP4(initial_p4);
67 triggerCell.
setP4(p4);
68 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 setDetId(uint32_t detid)
void compressSingle(const uint64_t value, uint32_t &compressedCode, uint64_t &compressedValue) const
HGCalVFECompressionImpl vfeCompression_
GlobalPoint getCoarseTriggerCellPosition(uint32_t ctcId) const
HGCalTriggerCellCalibration calibration_
unsigned long long uint64_t
HGCalConcentratorCoarsenerImpl(const edm::ParameterSet &conf)
ParameterSet const & getParameterSet(ParameterSetID const &id)
std::unordered_map< uint32_t, CoarseTC > coarseTCs_
HGCalCoarseTriggerCellMapping coarseTCmapping_
Log< level::Warning, false > LogWarning
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