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

Separate Algorithms for GE0 and GE1/1 GE2/1 Segments #32972

Merged
merged 5 commits into from Mar 8, 2021

Conversation

watson-ij
Copy link
Contributor

PR description:

For ME0, the RU segment builder was default while GEMSegmentAlgorithm is used for the other GEM stations. This PR allows separate GE0 and other GEM algorithms, and defaults GE0 to use the RU algorithm, and GE1/1 / GE2/1 to use the GEMSegmentAlgorithm, as is the default for the ME0/GEM setup.

@jshlee

PR validation:

We checked the performance of the GE0 RU algorithm and found it to work as for ME0. I also ran runTheMatrix with workflow 34621.0 and confirmed that both station 0 and 1/2 segments are being created properly.

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

Before submitting your pull requests, make sure you followed this checklist:

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32972/21210

  • This PR adds an extra 16KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32972/21211

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @watson-ij (Ian J. Watson) for master.

It involves the following packages:

RecoLocalMuon/GEMSegment

@perrotta, @kpedro88, @cmsbuild, @srimanob, @slava77, @jpata can you please review it and eventually sign? Thanks.
@jshlee, @bellan, @jhgoh this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@srimanob
Copy link
Contributor

Please test

@srimanob
Copy link
Contributor

@watson-ij
Could you please provide material or plots as a result of this PR? For example, what do you expect to see when replacing GEMSegmentAlgorithm (current) with RU (introduce in this PR)? Will it be spotted using DQM?

This is to complete the documentation for the PR. Thanks.

@watson-ij
Copy link
Contributor Author

@seulgi324, do you have a link to a presentation showing the difference?

@watson-ij
Copy link
Contributor Author

@watson-ij
Could you please provide material or plots as a result of this PR? For example, what do you expect to see when replacing GEMSegmentAlgorithm (current) with RU (introduce in this PR)? Will it be spotted using DQM?

This is to complete the documentation for the PR. Thanks.

GEMSegments aren't currently tracked by DQM, so they won't show up directly, but it could have an impact on the muons. We saw that the default algorithm produces a lot of segments with only a few rechits, whereas the RU algorithm requires at least 4. The RU algorithm is also finding more segments with 6 rechits as is nominal for ME0.


// Ask factory to build this algorithm, giving it appropriate ParameterSet
algo = GEMSegmentBuilderPluginFactory::get()->create(algoName, segAlgoPSet);
segAlgo = GEMSegmentBuilderPluginFactory::get()->create(segAlgoName, segAlgoPSet);
// Ask factory to build this algorithm, giving it appropriate ParameterSet
Copy link
Contributor

Choose a reason for hiding this comment

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

Having twice the same comment is probably redundant...
If you remove one, then in the other one: "this algorithm, giving it" -> "these algorithms, giving them"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, updated

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32972/21218

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #32972 was updated. @perrotta, @kpedro88, @cmsbuild, @srimanob, @slava77, @jpata can you please check and sign again.

@srimanob
Copy link
Contributor

Please test

@watson-ij
Copy link
Contributor Author

Could you please provide material or plots as a result of this PR?

To complete this: @seulgi324 gave a talk today showing the rechit distribution differences between the default and RU algorithms, in particular, showing the increase in 6-hit segments I mentioned earlier.

https://indico.cern.ch/event/1010727/contributions/4241679/attachments/2195182/3711306/Feb%2023rd%202021_ME0toGE0_Seulgi%20Kim.pdf

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-86221f/13049/summary.html
COMMIT: bea91b3
CMSSW: CMSSW_11_3_X_2021-02-22-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/32972/13049/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: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2750983
  • DQMHistoTests: Total failures: 12
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2750948
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 36 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 156 log files, 37 edm output root files, 37 DQM output files

@perrotta
Copy link
Contributor

perrotta commented Feb 27, 2021

The RU segment builder is implemented for the GE0, instead of the GEMSegmentAlgorithm which is used for all other GEM stations. The RU segment builder is what was originally implemented for ME0, and the GEMSegmentAlgorithm replaced it for GE0 in previous #31480: but it turned out to be sub-optimal for the GE0 station (something which was already possibly anticipated in the comments of #31480).

In the presentation at the GEM DPG linked here differences (expected) are reported for the number of segments and recHits. These differences cannot likely be noticed in the low stat Phase2 validations available in the automatic PR tests because of the low statistics: it looks like that they are however endorsed by the GEM DPG, something which was already possibly anticipated in the comments of #31480.

As such, the PR could be considered suitable for being integrated in CMSSW.

At page 6 of the same presentation there is however a note about "an issue with ME0": could you please elaborate further about it, and specify with some more detail what such an "issue" is, and whether you plan/need to fix it already in this PR?

@watson-ij
Copy link
Contributor Author

At page 6 of the same presentation there is however a note about "an issue with ME0": could you please elaborate further about it, and specify with some more detail what such an "issue" is, and whether you plan/need to fix it already in this PR?

@perrotta, the issue referred to there was that the ME0 RecHit algorithm never implemented clustering, so that we have a rechit for every digi rather than clustering the contiguous digis into a single rechit, causing duplicate segments. This is already fixed for GE0 by virtue of the fact that the GEMRecHit algorithm includes a clusterizer, so GE0 digis are also clustered so we don't get unnecessary duplicates.

@perrotta
Copy link
Contributor

perrotta commented Mar 2, 2021

+1

  • RU segment builder implemented for the GE0 instead of the GEMSegmentAlgorithm, which is used for the other GEM stations.
  • Jenkins tests pass and show no differences (likely because of their low stat)
  • Differences in the number of segments and recHits are visible in some large stat validation shown in the slides attached: they go in the expected direction

@silviodonato
Copy link
Contributor

do you have any comments @cms-sw/upgrade-l2 ?

@srimanob
Copy link
Contributor

srimanob commented Mar 8, 2021

+Upgrade

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 8, 2021

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

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 7da081e into cms-sw:master Mar 8, 2021
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