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

Add CSC and DT segments in miniAOD for highpt muons and enable muon match slimmer #19488

Merged
merged 3 commits into from Jul 17, 2017

Conversation

arizzi
Copy link
Contributor

@arizzi arizzi commented Jun 29, 2017

This PR adds DT and CSC segments in miniaod with relinking of the refs in muon matches to the new collection.
The current default is that segments are stored for muons with pt>50 (as the target is exo analyses at high pt).

In addition this PR enables minimal slimming of the muonmatches, this should be cross checked by the muon POG / experts to see if the IDs are stable against this change.

@gpetruc

@arizzi arizzi changed the title Add CSC and DT segments in miniAOD for highpt muons and enable muon match slimmers Add CSC and DT segments in miniAOD for highpt muons and enable muon match slimmer Jun 29, 2017
@cmsbuild cmsbuild added this to the CMSSW_9_3_X milestone Jun 29, 2017
@cmsbuild
Copy link
Contributor

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

It involves the following packages:

PhysicsTools/PatAlgos

@perrotta, @cmsbuild, @slava77, @monttj, @davidlange6 can you please review it and eventually sign? Thanks.
@TaiSakuma, @gouskos, @imarches, @ahinzmann, @acaudron, @mmarionncern, @rappoccio, @jdolen, @nhanvtran, @gpetruc, @gkasieczka, @schoef, @ferencek, @mverzett, @mariadalfonso, @pvmulder, @seemasharmafnal, @JyothsnaKomaragiri this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 29, 2017

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

@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-19488/21004/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins-workarea/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-19488/20034.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D17_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D17+RecoFullGlobal_2023D17+HARVESTFullGlobal_2023D17
  • /build/cmsbld/jenkins-workarea/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-19488/20434.0_TTbar_14TeV+TTbar_14TeV_TuneCUETP8M1_2023D19_GenSimHLBeamSpotFull14+DigiFullTrigger_2023D19+RecoFullGlobal_2023D19+HARVESTFullGlobal_2023D19

Comparison Summary:

  • You potentially added 3 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 22
  • DQMHistoTests: Total histograms compared: 1756063
  • DQMHistoTests: Total failures: 14508
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1741389
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@arizzi
Copy link
Contributor Author

arizzi commented Jun 30, 2017

In order to check that the slimming is safe, as suggested by Dima, I checked that pat::Muon::isSoftMuon(...) returns the same value (on 1k events thereare 2230 muons passing the isSoftMuon ID in both cases )

@slava77
Copy link
Contributor

slava77 commented Jul 1, 2017

@cmsbuild please test workflow 136.7611,1325.5

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21052/console Started: 2017/07/01 18:18

@slava77
Copy link
Contributor

slava77 commented Jul 1, 2017

@cmsbuild please abort
I forgot that the reminiaod wfs are still broken

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2017

Jenkins tests are aborted.

@slava77
Copy link
Contributor

slava77 commented Jul 4, 2017

@cmsbuild please test workflow 136.7611,1325.5

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21145/console Started: 2017/07/04 20:15

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 4, 2017

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

Comparison Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 22
  • DQMHistoTests: Total histograms compared: 1760883
  • DQMHistoTests: Total failures: 173
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1760544
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@slava77
Copy link
Contributor

slava77 commented Jul 5, 2017

+1

for #19488 c39dd08

  • implementation is in line with the description
  • jenkins tests pass and comparisons show no differences
  • local tests show expected changes in the data products only in miniAOD: addition of the CSC and DT segments and some reduction in size of the slimmedMuons
    • using 3K events in ttbar PU35 (wf 10224) miniAOD processing: there are about 600 and 700 CSC and DT segments, respectively, in the new slimmedMuons segment collection; the event size is up by 50 bytes per event from a reduction of 140 bytes in the muons size and 190 bytes from the segments

@arizzi
Copy link
Contributor Author

arizzi commented Jul 6, 2017

@monttj can you please sign?

std::vector<DTRecSegment4D> outDTSegmentsTmp;
std::map<CSCSegmentRef,size_t> cscMap;
std::vector<CSCSegment> outCSCSegmentsTmp;
for(auto & seg : dtSegmentsRefs) {
Copy link
Contributor

Choose a reason for hiding this comment

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

hi @arizzi - this should be const &, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

why? the container is a local set of refs ... why should it be const? (I mean, yes it could be const but is kind of irrelevant)

Copy link
Contributor

Choose a reason for hiding this comment

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

it seems purely cosmetic here.
@arizzi may I ask you to update this.
Thank you.

@davidlange6
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit b0407e8 into cms-sw:master Jul 17, 2017
@arizzi arizzi deleted the muonSegs branch October 11, 2017 08:55
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