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

pre-select high purity tracks as input for muon reco in pp_on_AA era #36693

Merged
merged 6 commits into from Jan 26, 2022

Conversation

mandrenguyen
Copy link
Contributor

PR description:

This PR selects out highPurity tracks as input to the muon reconstruction for heavy ions. It was noticed that the efficiency of global muons dropped in central (high multiplicity) events. This inefficiency is larger than that observed for tracker tracks, which is modest, or for stand-alone muons, which are basically unaffected by centrality. We surmised that poor quality tracks must be interfering with the matching. It was found that by switching to highPurity tracks, we increased the efficiency of muon reconstruction at low momentum, without any effect at high momentum.

The highPurity requirement is dropped when the primary vertex is not found. This occurs in very low multiplicity events, particularly ultra-peripheral collisions. Primary vertex information is used in the track quality assignment, which leads to tracks often failing to be assigned as highPurity. The fake track contribution is such collisions is negligible, however, so this requirement can simply be dropped, reverting to the default behavior used for pp reconstruction.

This development was presented to the muon POG:
https://indico.cern.ch/event/1094481/#10-low-pt-reco-muon-efficiency
https://indico.cern.ch/event/1100342/contributions/4629173/attachments/2356132/4020819/muonRecoRun3_30112021.pdf

@flodamas

PR validation:

Tested with wfs 158 and 159

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36693/27761

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mandrenguyen (Matthew Nguyen) for master.

It involves the following packages:

  • RecoMuon/GlobalMuonProducer (reconstruction)
  • RecoMuon/GlobalTrackFinder (reconstruction)
  • RecoMuon/MuonIdentification (reconstruction)

@jpata, @cmsbuild, @clacaputo, @slava77 can you please review it and eventually sign? Thanks.
@HuguesBrun, @bellan, @abbiendi, @Fedespring, @calderona, @sscruz, @jhgoh, @CeliaFernandez, @trocino, @cericeci, @rociovilar this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@jpata
Copy link
Contributor

jpata commented Jan 12, 2022

@cmsbuild please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9277ce/21679/summary.html
COMMIT: 131c83b
CMSSW: CMSSW_12_3_X_2022-01-11-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36693/21679/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9277ce/21679/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9277ce/21679/git-merge-result

RelVals

----- Begin Fatal Exception 12-Jan-2022 17:31:37 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=MuonIdProducer label='hltMuonsReg'
Exception Message:
MissingParameter: Parameter 'pvInputTag' not found.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 12-Jan-2022 17:31:52 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=MuonIdProducer label='hltIterL3MuonsNoVtx'
Exception Message:
MissingParameter: Parameter 'pvInputTag' not found.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 12-Jan-2022 17:32:13 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=MuonIdProducer label='hltMuonsReg'
Exception Message:
MissingParameter: Parameter 'pvInputTag' not found.
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

RelVals-INPUT

  • 139.004139.004_RunNoBPTX2021+RunNoBPTX2021+HLTDR3_2021+RECODR3_AlCaTkCosmics_Offline+HARVESTDR3/step2_RunNoBPTX2021+RunNoBPTX2021+HLTDR3_2021+RECODR3_AlCaTkCosmics_Offline+HARVESTDR3.log
  • 139.003139.003_RunHLTPhy2021+RunHLTPhy2021+HLTDR3_2021+RECODR3_HLTPhysics_Offline+HARVESTD2021HLTPhy/step2_RunHLTPhy2021+RunHLTPhy2021+HLTDR3_2021+RECODR3_HLTPhysics_Offline+HARVESTD2021HLTPhy.log
  • 139.002139.002_RunZeroBias2021+RunZeroBias2021+HLTDR3_2021+RECODR3_ZBOffline+HARVESTD2021ZB/step2_RunZeroBias2021+RunZeroBias2021+HLTDR3_2021+RECODR3_ZBOffline+HARVESTD2021ZB.log
Expand to see more relval errors ...

AddOn Tests

----- Begin Fatal Exception 12-Jan-2022 17:14:45 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=MuonIdProducer label='hltIterL3MuonsOpenMu'
Exception Message:
MissingParameter: Parameter 'pvInputTag' not found.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 12-Jan-2022 17:16:29 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=MuonIdProducer label='hltMuonsReg'
Exception Message:
MissingParameter: Parameter 'pvInputTag' not found.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 12-Jan-2022 17:14:45 CET-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=MuonIdProducer label='hltIterL3MuonsOpenMu'
Exception Message:
MissingParameter: Parameter 'pvInputTag' not found.
----- End Fatal Exception -------------------------------------------------
Expand to see more addon errors ...

@mandrenguyen
Copy link
Contributor Author

@Dr15Jones Apologies, a line got dropped copying to the IB. _selectHighPurity is set now, but that doesn't fix the issue in all these other instances of MuonIdProducer.
pvInputTag is only needed when selectHighPurity is True. Probably a dumb question, but is there a way to make the code not bail when pvInputTag is not set (and not needed)?

@Dr15Jones
Copy link
Contributor

If you add a fillDescriptions to MuonIdProducer you can set default values for even the tracked parameters.

You could also not read the pvInputTag parameter if selectHighPurity_ == false.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36693/27770

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

Pull request #36693 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36693/27771

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36693/27942

  • This PR adds an extra 40KB to repository

@cmsbuild
Copy link
Contributor

Pull request #36693 was updated. @jpata, @cmsbuild, @clacaputo, @slava77 can you please check and sign again.

@jpata
Copy link
Contributor

jpata commented Jan 25, 2022

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9277ce/21975/summary.html
COMMIT: eced23d
CMSSW: CMSSW_12_3_X_2022-01-24-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36693/21975/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 328 differences found in the comparisons
  • DQMHistoTests: Total files compared: 43
  • DQMHistoTests: Total histograms compared: 3449324
  • DQMHistoTests: Total failures: 95
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3449207
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 42 files compared)
  • Checked 181 log files, 42 edm output root files, 43 DQM output files
  • TriggerResults: no differences found

@jpata
Copy link
Contributor

jpata commented Jan 26, 2022

+reconstruction

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

@perrotta
Copy link
Contributor

+1

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

6 participants