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

CPPF emulator refactoring #29603

Merged
merged 2 commits into from May 17, 2020
Merged

Conversation

mileva
Copy link
Contributor

@mileva mileva commented Apr 30, 2020

PR description:

CPPF Emulator Refactoring

Currently, the CPPF emulator calls RecoLocalMuon.RPCRecHit.rpcRecHits_cfi in order to produce clusters.
The proposed branch aims to avoid callind the LocalReco code on a early stage like emulation
and from the other side to separate the two clusterizers - RPC Rechits and CPPF clusters
and thus to ensure a possibility for further independent work on both the packages.

PR validation:

tested with: runTheMatrix.py -l 10806.0
output: 10806.0_SingleMuPt1+SingleMuPt1_pythia8_2018_GenSimFull+DigiFull_2018+RecoFull_2018+HARVESTFull_2018+ALCAFull_2018+NanoFull_2018 Step0-PASSED Step1-PASSED Step2-PASSED Step3-PASSED Step4-PASSED Step5-PASSED - time date Thu Apr 30 16:10:55 2020-date Thu Apr 30 15:59:15 2020; exit: 0 0 0 0 0 0
1 1 1 1 1 1 tests passed, 0 0 0 0 0 0 failed

local test:
cmsRun L1Trigger/L1TMuonCPPF/test/step2_DIGI_L1_DIGI2RAW_HLT.py

Other tests and slides:
MC data produced with the current and new clusterizer comparison - matched in 100%
Experimetnal data comparison: CPPF emulator calling current (RPCRechit) clusterizer and the new CPPF clusterizer - matched in 100%

Slides:
https://indico.cern.ch/event/892112/contributions/3762940/attachments/1993832/3325539/cppfEmulatorWithDigi.pdf
https://indico.cern.ch/event/907310/contributions/3817691/attachments/2017161/3371674/cppfEmulatorWithDigi_8April.pdf

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

@BrieucF @ftorresd

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29603/14940

  • This PR adds an extra 20KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29603/14968

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented May 2, 2020

A new Pull Request was created by @mileva for master.

It involves the following packages:

L1Trigger/L1TMuonCPPF

@cmsbuild, @rekovic, @benkrikler can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @thomreis this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@silviodonato
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/5997/console Started: 2020/05/05 10:59

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2020

+1
Tested at: a56f00c
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bcdd4c/5997/summary.html
CMSSW: CMSSW_11_1_X_2020-05-04-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 5, 2020

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bcdd4c/5997/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2696239
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2695919
  • DQMHistoTests: Total skipped: 319
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@silviodonato
Copy link
Contributor

do you have any comments @rekovic ?

@rekovic
Copy link
Contributor

rekovic commented May 17, 2020

+1

@cmsbuild
Copy link
Contributor

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

// Endcap region only
if (region != 0) {
int int_theta =
(region == -1 ? 180. * 32. / 36.5 : 0.) + (float)region * global_theta * 32. / 36.5 - 8.5 * 32 / 36.5;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the future, please define constants instead of using "magic numbers"
7.6 of https://cms-sw.github.io/cms_coding_rules.html
(I see these numbers were already existing in the file)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 83042dd into cms-sw:master May 17, 2020
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

4 participants