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

Fix MultiTrackValidator seeding layers configuration for FastSim #21276

Merged
merged 1 commit into from Nov 14, 2017

Conversation

makortel
Copy link
Contributor

PR #20884 that changed FastSim reconstruction era based broke the seeding layers configuration logic in Validation/RecoTrack/python/TrackValidation_cff.py. This PR patches the logic to explicitly handle the FastSim-specific seed producer.

More details (copied from #20879 (comment))

The affected code is here

seedingLayersMerged = []
for seedName in seedProducers:
seedProd = getattr(config, seedName)
if hasattr(seedProd, "OrderedHitsFactoryPSet"):
seedingLayersName = seedProd.OrderedHitsFactoryPSet.SeedingLayers.getModuleLabel()
elif hasattr(seedProd, "seedingHitSets"):
seedingLayersName = _findSeedingLayers(seedProd.seedingHitSets.getModuleLabel())
else:
continue

Now the <iteration name>Seeds module in iterativeTk_cff.py is changed with fastsim modifier and therefore both of the if branches fail leading to continue. Except for initialStepPreSplitting and jetCoreRegionalStep which are not used in FastSim and the seeding module is not replaced (and therefore the code above is able to extract layer lists from there).

Tested in CMSSW_10_0_X_2017-11-09-2300, expecting more seeding layers in the MTV histograms vs. seeding layers in FastSim workflows.

@akapoorcern @angirar @slava77 @Dr15Jones

Changing the seed producer with fastsim Modifier broke the old logic
of finding the seeding layers.
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@Dr15Jones
Copy link
Contributor

Thanks!

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21276/1950

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @makortel (Matti Kortelainen) for master.

It involves the following packages:

Validation/RecoTrack

@vazzolini, @kmaeshima, @dmitrijus, @cmsbuild, @jfernan2, @vanbesien can you please review it and eventually sign? Thanks.
@felicepantaleo, @GiacomoSguazzoni, @rovere, @VinInn, @wmtford, @ebrondol, @mtosi, @dgulhan this is something you requested to watch as well.
@davidlange6, @slava77 you are the release manager for this.

cms-bot commands are listed here

@makortel
Copy link
Contributor Author

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 10, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24372/console Started: 2017/11/10 21:55

@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-21276/24372/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 27
  • DQMHistoTests: Total histograms compared: 2832699
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 238
  • DQMHistoTests: Total successes: 2832282
  • DQMHistoTests: Total skipped: 178
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1.04000000007 KiB( 22 files compared)
  • Checked 111 log files, 8 edm output root files, 27 DQM output files

@dmitrijus
Copy link
Contributor

+1

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

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit df6512b into cms-sw:master Nov 14, 2017
@makortel makortel deleted the fixMTVSeedingLayersForFastSim branch February 12, 2018 13:04
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