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_
double pt() const final
transverse momentum
void coarsen(const std::vector< l1t::HGCalTriggerCell > &trigCellVecInput, std::vector< l1t::HGCalTriggerCell > &trigCellVecOutput)
ParameterSet const & getParameterSet(ParameterSetID const &id)
Geom::Phi< T > phi() const
static constexpr int kHighDensityThickness_
bool fixedDataSizePerHGCROC_
void updateCoarseTriggerCellMaps(const l1t::HGCalTriggerCell &tc, uint32_t ctcid)
uint32_t getCoarseTriggerCellId(uint32_t detid) const
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
void setDetId(uint32_t detid)
HGCalVFECompressionImpl vfeCompression_
HGCalTriggerCellCalibration calibration_
void calibrateInGeV(l1t::HGCalTriggerCell &) const
uint32_t getRepresentativeDetId(uint32_t tcid) const
HGCalConcentratorCoarsenerImpl(const edm::ParameterSet &conf)
void assignCoarseTriggerCellEnergy(l1t::HGCalTriggerCell &c, const CoarseTC &ctc) const
std::unordered_map< uint32_t, CoarseTC > coarseTCs_
HGCalCoarseTriggerCellMapping coarseTCmapping_
void compressSingle(const uint32_t value, uint32_t &compressedCode, uint32_t &compressedValue) const
GlobalPoint getCoarseTriggerCellPosition(uint32_t ctcId) const
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