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

[Upgrade Phase-2 Pixel 3D Digitizer] Fix misevaluation of charge when migrating due to diffusion #33300

Merged
merged 12 commits into from
Apr 20, 2021

Conversation

claralasa
Copy link
Contributor

PR description:

Before this fix, more than half of the carriers were migrated due to diffusion. This made the residuals to change their sign in the region enabled for charge migration. In addition, a factor in the evaluation of migrated charge was missing.

Nevertheless, these fixes are barely noticeable due to the small allowed charge migration region (0.4 um) and so no changes in the plots are expected. In order to visualize the effect, such a region has been tested increasing up to 5 um. Just used for this study, the value in the code stays as 0.4 um. In the plot below, the charge per digi is shown. As can be observed, it does not change after the fix with the baseline of 0.4um.

FixedBugs_2

There are also some changes in the provisional validator used to cross-check the digitizer (which is not included within the validation framework).

This PR only concerns Upgrade (@duartej , @emiglior , @skinnari )

PR validation:

  • Passed the runTheMatrix.py -l limited -i all --ibeos tests, don't know if they are relevant because I'm not sure if they were tested against 2026D65 geometry (or the current geometry with 3D pixels in barrel).

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

No.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33300/21824

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

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33300/21829

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

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33300/21830

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

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d62f29/14232/summary.html
COMMIT: a1a2810
CMSSW: CMSSW_11_3_X_2021-04-14-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33300/14232/install.sh to create a dev area with all the needed externals and cmssw changes.

CMS Clang-Tidy warnings: There are Clang-Tidy warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d62f29/14232/llvm-analysis/cmsclangtidy.txt for details.

Comparison Summary

Summary:

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

@civanch
Copy link
Contributor

civanch commented Apr 15, 2021

+1

@srimanob
Copy link
Contributor

@claralasa The short matrix does not include geometry with 3D pixel. Is T25 (D80) or T26 (D81) OK for the test? I will retrigger the test again.

By the way, as warning shown in
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d62f29/14232/llvm-analysis/esrget-sa.txt
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d62f29/14232/llvm-analysis/cmsclangtidy.txt
Do you have plan for migration?

FYI @mmusich

@mmusich
Copy link
Contributor

mmusich commented Apr 17, 2021

@srimanob

The short matrix does not include geometry with 3D pixel. Is T25 (D80) or T26 (D81) OK for the test?

Yes, these are OK, but T23 (D79, wf: 35834.0) is even better (it has 3D also in the endcaps).

Do you have plan for migration?

Well, for the getByToken warnings in clang-tidy as I understand it's only "suggestion" for the moment, and will be processed in due time. For the esConsumes these are treated "centrally" already by the core group in PR #31697. What's the plan about that one?

@srimanob
Copy link
Contributor

Please test workflow 35834.0

@srimanob
Copy link
Contributor

The short matrix does not include geometry with 3D pixel. Is T25 (D80) or T26 (D81) OK for the test?

Yes, these are OK, but T23 (D79, wf: 35834.0) is even better (it has 3D also in the endcaps).
Thanks, I trigger the test with 35834.0.

Do you have plan for migration?

Well, for the getByToken warnings in clang-tidy as I understand it's only "suggestion" for the moment, and will be processed in due time. For the esConsumes these are treated "centrally" already by the core group in PR #31697. What's the plan about that one?

OK, thanks. Then I will ignore the warning for now, and will follow up with the core team.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d62f29/14299/summary.html
COMMIT: a1a2810
CMSSW: CMSSW_12_0_X_2021-04-16-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33300/14299/install.sh to create a dev area with all the needed externals and cmssw changes.

CMS Clang-Tidy warnings: There are Clang-Tidy warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d62f29/14299/llvm-analysis/cmsclangtidy.txt for details.

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-d62f29/35834.0_TTbar_14TeV+2026D79+TTbar_14TeV_TuneCP5_GenSimHLBeamSpot14+DigiTrigger+RecoGlobal+HARVESTGlobal

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2877046
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2877017
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 37 files compared)
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@srimanob
Copy link
Contributor

+Upgrade

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

@qliphy
Copy link
Contributor

qliphy commented Apr 20, 2021

+1

@cmsbuild cmsbuild merged commit dafb55d into cms-sw:master Apr 20, 2021
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.

6 participants