Skip to content
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

Clean-up of BeamSpot PCL configs #36345

Merged
merged 1 commit into from Dec 4, 2021
Merged

Conversation

dzuolo
Copy link
Contributor

@dzuolo dzuolo commented Dec 3, 2021

PR description:

This PR is intended to make the config files for the BeamSpot PCL workflows more homogenous, namely:

  • the default parameters of the BS Fit common to the two workflows are now set to the same values
    • parameters PVFitter.minVertexNTracks, PVFitter.useOnlyFirstPV and PVFitter.minSumPt are now the only ones with different values between the two workflows, as it should be
  • removed modification of these defaults (+ some old comments) in the Legacy workflow config
  • errorScale set to 1.0 for both workflows (always recomputed offline for ReReco)

PR validation:

Code compiles.
scramv1 b runtests successful.

if this PR is a backport please specify the original PR and why you need to backport that PR:

This is not a backport. No backport needed.

FYI @gennai @lguzzi

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36345/27102

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2021

A new Pull Request was created by @dzuolo (Davide Zuolo) for master.

It involves the following packages:

  • Calibration/TkAlCaRecoProducers (alca)

@cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks.
@mmusich, @threus, @tocheng this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@francescobrivio
Copy link
Contributor

@cmsbuild please test

@mmusich
Copy link
Contributor

mmusich commented Dec 3, 2021

@francescobrivio wouldn't it be better to test also 1004.0 and 1030.0 which exercise the BeamSpot PCL wf in other conditions outside of the short matrix?

@francescobrivio
Copy link
Contributor

@cmsbuild please abort

@mmusich
Copy link
Contributor

mmusich commented Dec 3, 2021

test parameters:

  • workflows = 1004.0, 1030.0

@mmusich
Copy link
Contributor

mmusich commented Dec 3, 2021

@cmsbuild, please test

@francescobrivio
Copy link
Contributor

test parameters:

* workflows = 1004.0, 1030.0

thanks Marco! as usual, you are faster than anyone else! 😄

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-126377/20957/summary.html
COMMIT: 2111500
CMSSW: CMSSW_12_2_X_2021-12-02-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36345/20957/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-126377/1004.0_RunHI2011+RunHI2011+TIER0EXPHI+ALCAEXPHI+ALCAHARVD1HI+ALCAHARVD2HI+ALCAHARVD3HI+ALCAHARVD5HI
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-126377/1030.0_RunHLTPhy2017B+RunHLTPhy2017B+TIER0EXPHPBS+ALCASPLITHPBS+ALCAHARVDHPBS+ALCAHARVDHPBSLOWPU

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 41
  • DQMHistoTests: Total histograms compared: 3041955
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3041927
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 40 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 175 log files, 37 edm output root files, 41 DQM output files
  • TriggerResults: no differences found

@francescobrivio
Copy link
Contributor

@mmusich the only real change here is setting the errorScale parameter to 1, which seems reasonable to me since we don't know a priori what the pulls in the PVs will be in Run3. Can be edited in the future when we have data.
Would you agree?

@mmusich
Copy link
Contributor

mmusich commented Dec 3, 2021

@francescobrivio

the only real change here is setting the errorScale parameter to 1, which seems reasonable to me since we don't know a priori what the pulls in the PVs will be in Run3. Can be edited in the future when we have data.
Would you agree?

don't we know a priori that the HP wf has a different errorScale compared to the legacy?

@dzuolo
Copy link
Contributor Author

dzuolo commented Dec 3, 2021

@francescobrivio

the only real change here is setting the errorScale parameter to 1, which seems reasonable to me since we don't know a priori what the pulls in the PVs will be in Run3. Can be edited in the future when we have data.
Would you agree?

don't we know a priori that the HP wf has a different errorScale compared to the legacy?

Hi Marco! I do not know if this comparison was made in the past. If not, I would propose to set the value to 1 (as measured for the re-reco of the pilot beam data with the legacy wf) and check the values again with the first collision data.

@francescobrivio
Copy link
Contributor

@francescobrivio

the only real change here is setting the errorScale parameter to 1, which seems reasonable to me since we don't know a priori what the pulls in the PVs will be in Run3. Can be edited in the future when we have data.
Would you agree?

don't we know a priori that the HP wf has a different errorScale compared to the legacy?

Hi Marco! I do not know if this comparison was made in the past. If not, I would propose to set the value to 1 (as measured for the re-reco of the pilot beam data with the legacy wf) and check the values again with the first collision data.

@mmusich I also don't remember making this explicit comparison of the errorScale obtained with the two wfs.
In general we do make this measurement prior to every offline re-reco, no matter what wf is used.
So I would agree with @dzuolo on setting it to 1 by default and in the meanwhile (i.e. before data-taking next year) we can make some study on 2018 data to check if there is a systematic difference in the errorScale between HP and Legacy wfs.

@mmusich
Copy link
Contributor

mmusich commented Dec 3, 2021

I also don't remember making this explicit comparison of the errorScale obtained with the two wfs.

@francescobrivio I am pretty sure it was done by your colleagues back in Run2. Please check again.

@mmusich
Copy link
Contributor

mmusich commented Dec 3, 2021

So I would agree with @dzuolo on setting it to 1 by default and in the meanwhile (i.e. before data-taking next year) we can make some study on 2018 data to check if there is a systematic difference in the errorScale between HP and Legacy wfs.

I'd rather study it in realistic 2021(2) MC.

@francescobrivio
Copy link
Contributor

I also don't remember making this explicit comparison of the errorScale obtained with the two wfs.

@francescobrivio I am pretty sure it was done by your colleagues back in Run2. Please check again.

Ok indeed it was changed by Sara in #23361, following an explicit measurement on 2018 data.
Some checks with MC or real data will need to be re-done next year in any case, so the point now is: is it ok to change them both to 1 or do we want to still keep the old values?

@mmusich
Copy link
Contributor

mmusich commented Dec 3, 2021

Some checks with MC or real data will need to be re-done next year in any case, so the point now is: is it ok to change them both to 1 or do we want to still keep the old values?

with the promise to revisit them next year, I guess it's OK for now. Perhaps a comment can be left in configuration about the its significance and how to check it.

@francescobrivio
Copy link
Contributor

+alca

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2021

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, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

perrotta commented Dec 4, 2021

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants