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
Cleanup and modernize SeedingLayerSetsBuilder #21138
Cleanup and modernize SeedingLayerSetsBuilder #21138
Conversation
…nused and obsolete
In the near future I plan to use SeedingLayerSetsBuilder::hits() elsewhere than SeedingLayersEDProducer, and for that I want the construction of SeedingLayerSetsHits to be solely on the responsibility of SeedingLayerSetsBuilder.
Still with setAllowAnything(), but better than nothing.
Towards fillDescriptions in SeedingLayersEDProducer, makes it easier if there are no TID[1-4].
The code-checks are being triggered in jenkins. |
+code-checks |
A new Pull Request was created by @makortel (Matti Kortelainen) for master. It involves the following packages: DataFormats/TrackerCommon @perrotta, @vazzolini, @kmaeshima, @dmitrijus, @cmsbuild, @slava77, @vanbesien can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
The tests are being triggered in jenkins. |
+code-checks |
Pull request #21138 was updated. @perrotta, @vazzolini, @kmaeshima, @dmitrijus, @cmsbuild, @jfernan2, @slava77, @vanbesien can you please check and sign again. |
@cmsbuild, please test |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
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) |
+1 |
This PR removes unused and obsolete code related to SeedingLayerSetsBuilder:
ctfseeding::SeedingLayer
class altogether (made obsolete by Seeding layers ESP to EDP migration #2378)TrackingRegion::hits(const EventSetup&, const SeedingLayer *)
SeedingLayer
wasSeedingLayer::Side
enumeration, which I moved toDataFormats/TrackerCommon/interface/TrackerDetSide.h
asTrackerDetSide
enumeration (still "old-style" enum as the numerical values are heavily used)and does some modernization
unique_ptr
instead ofshared_ptr
(since it's enough)fillDescriptions
(even if it is incomplete)SeedingLayerSetsBuilder
andSeedingLayerEDProducer
The last two points are also a preparatory work for the upcoming "automated mitigation for pixel inactive areas in pixel pair iteration".
Tested in 9_4_0_pre3, no changes expected in results except for MTV seeding layer histograms for conversion seeds
@VinInn