-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
CTPPS reco update to use LHCInfoPer* records #42515
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42515/36521
|
A new Pull Request was created by @Glitchmin (Adam Kulczycki) for master. It involves the following packages:
@perrotta, @consuegs, @clacaputo, @cmsbuild, @saumyaphor4252, @tvami, @mandrenguyen, @francescobrivio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
bb215fd
to
683ff19
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42515/36522
|
Pull request #42515 was updated. @perrotta, @consuegs, @clacaputo, @cmsbuild, @saumyaphor4252, @tvami, @mandrenguyen, @francescobrivio can you please check and sign again. |
@cmsbuild , please test |
-1 Failed Tests: Build BuildI found compilation warning when building: See details on the summary page. |
I added a commit addressing build warnings, this commit will be squashed once the reviewing is done |
+1 |
From my side I'm not planning any more updates, I'm looking forward to more comments or approval |
+alca |
+db |
+1 |
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, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
Following LHCInfo update introducing 2 new records
LHCInfoPerFill
andLHCInfoPerLS
(#39495) and their O2Os (#40817) this PR introduces:LHCInfoCombined
class that is meant to be used where oldLHCInfo
was usedrecoCTPPS
with onlyLHCInfoPer*
LHCInfoCombined can be created using either
LHCInfoPer*
orLHCInfo
and is not meant to be serialised. It selects the source depending on the constructor parameteruseNewLHCInfo
that can be set based on era (since Run3 GTs won't containLHCInfo
records and Run2 GTs contain only those) in the python _cff file, eg.:https://github.com/CTPPS/cmssw/blob/bb215fd85be7746ec3449516b4c0565aaf1f624f/CalibPPS/ESProducers/python/ctppsOpticalFunctions_cff.py#L32-L33
In order to make
recoCTPPS
able to useLHCInfoPer*
orLHCInfo
following modules were updated:From PPS side this is the version of code meant to be used in re-reco of 2022 data.
PR validation:
Validation can be done by running
recoCTPPS
for fill 9019:and checking if h_multiplicity, h_xi and p_th_y_vs_xi for singleRP plots in
alcareco_protons_express.root
are not empty.Additionally it was tested by comparing the aformentioned plots with the same plots generated with the code before changes from this PR. To generate plots for code before changes 2023_lhcinfo_test_recoCTPPS_cfg.py was copied and run with a tag with properly generated LHCInfo payloads for fill 9019 ( 130X_dataRun3_Prompt_forLHCInfo_Candidate_2023_07_28_12_52_37 )