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

Pixel Validation - Tracking Particle code fix. #21084

Merged

Conversation

davidcarbonis
Copy link
Contributor

Resolved a long standing bug where trackIdToHitPtr_ in tracking particle pixel validation code would continue to contain stale pointers from old events without being cleared. Solution, removed as a member data and just have it as a local variable.

Problem cause detailed in issue #21079

…cle pixel validation code would continue to contain stale pointers from old events without being cleared. Solution, removed as a member data and just have it as a local variable.
@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/PR-21084/1718

Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/PR-21084/1718/git-diff.patch
e.g. curl https://cmssdt.cern.ch/SDT/code-checks/PR-21084/1718/git-diff.patch | patch -p1

You can run scram build code-checks to apply code checks directly

@@ -51,6 +51,7 @@ void SiPixelPhase1TrackingParticleV::analyze(const edm::Event& iEvent, const edm
edm::Handle<TrackingParticleCollection> TruthTrackContainer;
iEvent.getByToken( vec_TrackingParticle_Token_, TruthTrackContainer );
const TrackingParticleCollection *tPC = TruthTrackContainer.product();
std::vector<std::pair<unsigned int, const PSimHit *>> trackIdToHitPtr_;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please change name to just trackIdToHitPtr since we reserve a following underscore for member data names.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do!

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, be sure to do
curl https://cmssdt.cern.ch/SDT/code-checks/PR-21084/1718/git-diff.patch | patch -p1
to pick up the changes needed to pass the code-checks.

@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/PR-21084/1720

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 30, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24058/console Started: 2017/10/30 20:38

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidcarbonis (Alexander Morton) for master.

It involves the following packages:

Validation/SiPixelPhase1TrackingParticleV

@kmaeshima, @cmsbuild, @vanbesien, @vazzolini, @dmitrijus can you please review it and eventually sign? Thanks.
@davidlange6, @slava77 you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2838442
  • DQMHistoTests: Total failures: 103
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2838168
  • DQMHistoTests: Total skipped: 171
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 10 edm output root files, 26 DQM output files

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 2, 2017

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

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 044517a into cms-sw:master Nov 2, 2017
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