37 std::vector<HGCalDataFrame> dataframes;
38 std::vector<std::pair<DetId, uint32_t>> linearized_dataframes;
39 std::unordered_map<uint32_t, uint32_t> tc_payload;
40 std::unordered_map<uint32_t, std::array<uint64_t, 2>> tc_compressed_payload;
43 for (
const auto& digiData :
digiColl) {
44 if (!
geometry()->validCell(digiData.id()))
54 dataframes.emplace_back(digiData.id());
55 for (
int i = 0;
i < digiData.size();
i++) {
56 dataframes.back().setSample(
i, digiData.sample(
i));
59 if (dataframes.empty())
83 for (
const auto& [tc_id, tc_value] : tc_payload) {
85 const auto& [tc_compressed_code, tc_compressed_value] = tc_compressed_payload[tc_id];
88 edm::LogWarning(
"CompressedValueDowncasting") <<
"Compressed value cannot fit into 32-bit word. Downcasting.";
94 edm::LogWarning(
"CompressedValueDowncasting") <<
"Compressed code cannot fit into 32-bit word. Downcasting.";
96 triggerCell.setCompressedCharge(static_cast<uint32_t>(tc_compressed_code));
97 triggerCell.setUncompressedCharge(tc_value);
102 triggerCell.setP4(p4);
103 triggerCell.setPosition(
point);
106 if (triggerCell.hwPt() > 0) {
110 }
else if (isSilicon) {
119 triggerCellColl.
push_back(0, calibratedtriggercell);
virtual GlobalPoint getTriggerCellPosition(const unsigned trigger_cell_det_id) const =0
virtual unsigned getModuleFromCell(const unsigned cell_det_id) const =0
std::unique_ptr< HGCalVFECompressionImpl > vfeCompressionHDMImpl_
virtual bool disconnectedModule(const unsigned module_id) const =0
std::unique_ptr< HGCalTriggerCellCalibration > calibrationHEsi_
std::unique_ptr< HGCalTriggerCellCalibration > calibrationHEsc_
HGCalTriggerTools triggerTools_
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
std::unique_ptr< HGCalVFECompressionImpl > vfeCompressionLDMImpl_
const HGCalTriggerGeometryBase * geometry() const
std::unique_ptr< HGCalVFELinearizationImpl > vfeLinearizationScImpl_
std::unique_ptr< HGCalVFELinearizationImpl > vfeLinearizationSiImpl_
std::unique_ptr< HGCalTriggerCellCalibration > calibrationNose_
std::unique_ptr< HGCalVFESummationImpl > vfeSummationImpl_
std::unique_ptr< HGCalTriggerCellCalibration > calibrationEE_
Log< level::Warning, false > LogWarning
math::XYZTLorentzVector LorentzVector
Lorentz vector.
*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 push_back(int bx, T object)