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

Run3-sim65 Try to fix 0 TrackID for saved tracks #29409

Merged
merged 2 commits into from Apr 9, 2020

Conversation

bsunanda
Copy link
Contributor

@bsunanda bsunanda commented Apr 7, 2020

PR description:

Try to fix 0 TrackID for saved hits in the calorimeter. Also add namespace and clean up some of the debug statements

PR validation:

Tested with standard runTheMatrix.py and also cfg's in SimG4CMS/Calo/test/python

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

Nothing special

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2020

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29409/14562

  • This PR adds an extra 28KB 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 Apr 7, 2020

The code-checks are being triggered in jenkins.

@bsunanda
Copy link
Contributor Author

bsunanda commented Apr 7, 2020

@cmsbuild Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-29409/14564

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/5580/console Started: 2020/04/07 23:53

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2020

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

It involves the following packages:

SimG4CMS/Calo
SimG4Core/Application

@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks.
@makortel, @fabiocos, @rovere this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2020

+1
Tested at: 29aae6a
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0d8bff/5580/summary.html
CMSSW: CMSSW_11_1_X_2020-04-07-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 7, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2020

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 41 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2692110
  • DQMHistoTests: Total failures: 37
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2691754
  • 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

@civanch
Copy link
Contributor

civanch commented Apr 8, 2020

@bsunanda , in this PR mainly namespace and LogVerbatim are added. Concerning trackID=0, it is not obvious what is changed for that. I would rename the title and extend description.

@bsunanda
Copy link
Contributor Author

bsunanda commented Apr 8, 2020

@civanch I modified the print statements to find out the cause of the track id = 0. In fact the fix is in the code of TrackingAction. It is a subtle change in the statement: bool withAncestor = ((extractor_(aTrack).getIDonCaloSurface() == aTrack->GetTrackID()) ||
(extractor_(aTrack).getIDfineCalo() == aTrack->GetTrackID()) || (extractor_(aTrack).isAncestor()));

@bsunanda
Copy link
Contributor Author

bsunanda commented Apr 8, 2020

@civanch Since I had to edit the files for CaloSD and CaloTrackingAction to find out the cause, I made changes by adding namespace to make the code looking more transparent. But my main concern was to get rid of trackId = 0

@civanch
Copy link
Contributor

civanch commented Apr 9, 2020

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 9, 2020

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)

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 6730bf1 into cms-sw:master Apr 9, 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