-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
L1T DemonstratorTools: support transparent compression of pattern files #42115
L1T DemonstratorTools: support transparent compression of pattern files #42115
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42115/36093
|
A new Pull Request was created by @gpetruc (Giovanni Petrucciani) for master. It involves the following packages:
@epalencia, @AdrianoDee, @srimanob, @cmsbuild, @aloeliger can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
Hi @gpetruc
I think it's fine without an additional backwards-compatible constructor. But on that point, I'll just mention @EmyrClement here so he's aware that he might have to update the HGC code to add the extra constructor argument in future. After looking through the code, my only other comment is that it would be good to add a check on |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8f8fed/33425/summary.html Comparison SummarySummary:
|
+l1 |
Added the check following @tswilliams's suggestion |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42115/36111
|
Pull request #42115 was updated. @epalencia, @AdrianoDee, @srimanob, @cmsbuild, @aloeliger can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8f8fed/33445/summary.html Comparison SummarySummary:
|
+l1 |
+Upgrade From upgrade side, the relevant code is on |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR updates the DemonstratorTools package to support transparent compression of files pattern files if they end up with
.gz
(gzip) or.xz
(lzma), using boost iostreams.This feature is already implemented in other tools outside CMSSW that work with pattern files, in the emp software framework and correlator trigger tools so having the feature in CMSSW is useful.
For the moment lzma is not recommended since the other emp software tools don't support it as they're built on a version of boost iostreams without lzma, but since that may change in the future and adding lzma is only 5 extra lines of code I thought it was easier to just add it already in CMSSW.
The PR also updates the costructor of the BoardDataWriter to make the extension of the file configurable, and updates the pieces of C++ code using that class in CMSSW to add this extra parameter.
fillDescriptions()
for the Correlator Layer 2 e/gamma L1TCtL2EgProducer (@cerminar), I can either include it in this PR or leave it for the later bigger PR that addsfillDescriptions()
also for the Correlator Layer 1 producers. You can see the diff in gpetruc/cmssw@DemonstratorTools_compression_master...L1TCtL2EgProducer_fillDescriptions_masterNote that pattern file production is not run in any production workflow
The PR was tested with the usual code checks +
runTheMatrix -l 23234.0
(to check nothing got broken elsewhere) andL1Trigger/Phase2L1ParticleFlow/test/make_l1ct_binaryFiles_cfg.py
(which runs the correlator emulator + pattern file producers)A PR to cms-l1t-offline is also under way