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

Updated muon mc classifier #20051

Merged
merged 8 commits into from Sep 12, 2017
Merged

Conversation

abbiendi
Copy link
Contributor

@abbiendi abbiendi commented Aug 3, 2017

This is an update of the MC truth association tools for muons.
The association of reco::Muons has been updated to allow the association of (Global || Tracker) muons. The MuonMCClassifier has been updated and few bugs have been fixed.
The tools can be used to assess the performance of Muon ID and have been employed for the Particle-Flow performance paper (PRF-14-001).
The new code was initially developed in that context (in 7_4_X) and extensively tested there.
Now it has been ported to CMSSW_9_3_X and tested on MC events with "RelVal"-like content.
An example is provided, running on Phase2 events having the TrackingParticles in the event content:
MuonAnalysis/MuonAssociators/test/MuonMCClassifier/testClassByHitsTP_cfg.py

This PR is relevant for performance studies (e.g. Phase2 Muon TDR) and in general for developments in the muon ID validation.

@calabria

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

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

It involves the following packages:

MuonAnalysis/MuonAssociators
SimDataFormats/Associations
SimMuon/MCTruth

@cmsbuild, @civanch, @mdhildreth, @monttj can you please review it and eventually sign? Thanks.
@bellan, @battibass, @jhgoh, @calderona, @HuguesBrun, @trocino this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@civanch
Copy link
Contributor

civanch commented Aug 6, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22115/console Started: 2017/08/06 18:27

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 6, 2017

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 25
  • DQMHistoTests: Total histograms compared: 2643105
  • DQMHistoTests: Total failures: 183
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2642741
  • DQMHistoTests: Total skipped: 181
  • DQMHistoTests: Total Missing objects: 0
  • Checked 102 log files, 14 edm output root files, 25 DQM output files

@civanch
Copy link
Contributor

civanch commented Aug 7, 2017

+1

edm::LogVerbatim("MuonMCClassifier") <<"\t TP pdgId = "<<hitsPdgId[i] << ", vertex rho = " << prodRho[i] << ", z = " << prodZ[i];

// added info on GEANT process producing the TrackingParticle
std::vector<SimVertex> G4Vs = tp->parentVertex()->g4Vertices();
Copy link
Contributor

Choose a reason for hiding this comment

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

hi @abbiendi - this can be const std::vector &G4Vs to avoid an unneeded copy

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure! thanks

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Pull request #20051 was updated. @cmsbuild, @civanch, @mdhildreth, @monttj can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-20051/393

@civanch
Copy link
Contributor

civanch commented Sep 1, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 1, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22665/console Started: 2017/09/01 23:57

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 2, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 2, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 2, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20051/22665/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: 2656222
  • DQMHistoTests: Total failures: 196
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2655837
  • DQMHistoTests: Total skipped: 189
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 14 edm output root files, 26 DQM output files

@civanch
Copy link
Contributor

civanch commented Sep 10, 2017

+1

@davidlange6
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 1c3dfd5 into cms-sw:master Sep 12, 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