New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Backport of] HCAL finegrain bit fix to account for TDC packing, and SOI alignment #37439
Conversation
…to get TDC from SOI, in 123X
A new Pull Request was created by @gk199 (Gillian Kopp) for CMSSW_12_3_X. It involves the following packages:
@epalencia, @cmsbuild, @cecilecaillol, @rekovic can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-08b3f4/23634/summary.html Comparison SummarySummary:
|
+l1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_12_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_4_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@cecilecaillol The master PR was merged hrs ago. Once the master IB comes out and everything looks ok, we will proceed with this backport. |
great, thank you! |
backport of #37438 |
+1
|
PR description:
HcalFinegrainBit.cc
is run in cases where HB TDC is compressed and uncompressed. This PR handles both cases. InHcalTriggerPrimitiveAlgo.cc
,frame.flavor()
is used to defineis_compressed
which is passed toHcalFinegrainBit.cc
. This determines if the input TDC values are uncompressed (flavor=0, is_compressed=0
) or compressed (flavor=3, is_compressed=1
). Depending on the TDC packing, either a comparison totdc_boundary
is made (uncompressed), or a direct comparison to TDC 0, 1, 2 is made.Additional edits in
HcalTriggerPrimitiveAlgo.cc
are made to handle the matching of TP SOI and digi SOI in a more robust way. This ensures that with changes in conditions or filterPresamples, the TDC from the QIE11 dataframe SOI is selected for the fine grain bit algorithm SOI (ensuring ibin = 2 corresponds to idx = 5).PR validation:
runTheMatrix.py
passed.if this PR is a backport please specify the original PR and why you need to backport that PR:
Backport of PR #37438 to 123X, as the L1 LLP trigger emulator was merged in 123X (PR #36919) and relies upon the fine grain bits.