[DQM] streamline logic for n_cells and n_CM_cells
MR Description
Resubmitting due to compilation error mentioned in previous MR, !201 (merged).
This MR streamlines logic for n_cells and n_CM_cells.
MR Validation
Fixed warning about unused variable.
Tested with CMSSW_16_0_0_pre1, no compilation error spotted.
To be confirmed with the tests during the RDH hackathon.
Some details of the latest two commits in CMSSW
commit 2555b7dc9489d562666b6c21abc104a1a98e3ab6 (from-CMSSW_16_0_0_pre1)
Merge: dd7156a9fb9 6e07df5fec9
Author: ywkao <ywkao@hep1.phys.ntu.edu.tw>
Date: Tue Oct 14 16:56:08 2025 +0200
Merged dev/fix_modmix from repository CMS-HGCAL with cms-merge-topic
commit 6e07df5fec9eaecc1de5f8533a3d21cebf5b8066 (dev/fix_modmix_backup, CMS-HGCAL/dev/fix_modmix)
Author: HGCALRD <hgcalrd@cern.ch>
Date: Tue Oct 14 08:55:09 2025 +0200