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

Replace fastSim.isChosen() with toModify/toReplaceWith/makeProcessModifier #21389

Merged
merged 3 commits into from Dec 1, 2017

Conversation

makortel
Copy link
Contributor

This PR is an attempt to get rid of the (disallowed) Modifier.isChosen() for FastSim customizations. Mostly it was a matter of using toModify() or toReplaceWith(), but the "digi aliases" required ProcessModifier plus two hacks to be able to track whether the job is classical mixing, premixing step1, or premixing step2 (from "which _cff files have been loaded").

I also catched two typos in the FastSim customization in Validation/RecoEgamma/python/photonPostProcessor_cff.py.

Tested in 10_0_0_pre1, no changes expected (except possibly from the photonPostProcessor_cff.py fix).

@Dr15Jones

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21389/2092

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

Configuration/EventContent
Configuration/StandardSequences
FastSimulation/Configuration
HLTriggerOffline/Btag
HLTriggerOffline/Common
RecoTracker/FinalTrackSelectors
SimCalorimetry/Configuration
SimGeneral/DataMixingModule
SimGeneral/MixingModule
SimGeneral/TrackingAnalysis
SimMuon/CSCDigitizer
SimMuon/DTDigitizer
SimMuon/MCTruth
SimTracker/TrackAssociatorProducers
Validation/Configuration
Validation/DTRecHits
Validation/EcalDigis
Validation/EcalHits
Validation/EcalRecHits
Validation/HcalDigis
Validation/HcalRecHits
Validation/MuonCSCDigis
Validation/MuonDTDigis
Validation/MuonHits
Validation/MuonIdentification
Validation/MuonRPCDigis
Validation/RPCRecHits
Validation/RecoEgamma
Validation/RecoMuon
Validation/RecoTrack

@perrotta, @civanch, @vazzolini, @lveldere, @kmaeshima, @ssekmen, @mdhildreth, @dmitrijus, @cmsbuild, @franzoni, @jfernan2, @slava77, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @felicepantaleo, @abbiendi, @argiro, @Martin-Grunewald, @imarches, @threus, @calderona, @acaudron, @sdevissc, @jhgoh, @HuguesBrun, @ferencek, @trocino, @rociovilar, @GiacomoSguazzoni, @rovere, @VinInn, @ptcox, @wmtford, @mschrode, @ebrondol, @mtosi, @dgulhan, @swertz, @battibass, @JyothsnaKomaragiri, @mverzett, @gpetruc, @matt-komm, @pvmulder 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 20, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24560/console Started: 2017/11/20 18:35

@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-21389/24560/summary.html

Comparison Summary:

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

ecalSelectiveReadoutValidation.EeSimHitCollection = cms.InputTag("famosSimHits","EcalHitsEE")
fastSim.toModify(ecalSelectiveReadoutValidation,
EbSimHitCollection = "famosSimHits:EcalHitsEB",
EeSimHitCollection = "famosSimHits;EcalHitsEE"
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: ";" -> ":"

@cmsbuild
Copy link
Contributor

-1

Tested at: da08427

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
f493624
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21389/24727/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21389/24727/git-merge-result

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21389/24727/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found an error when building:

trackingParticleNumberOfLayersProducer
--- Registered EDM Plugin: SimGeneralTrackingAnalysisPlugins
--- Registered EDM Plugin: SimGeneralMixingModulePlugins
@@@@ Running edmWriteConfigs for SimTrackerTrackAssociation_plugins
>> Building big plugin tmp/slc6_amd64_gcc630/src/BigProducts/Simulation/pluginSimulation.so
c++: error: external/slc6_amd64_gcc630/objs-full/SimG4CoreCustomPhysics.obj: No such file or directory
gmake: *** [tmp/slc6_amd64_gcc630/src/BigProducts/Simulation/pluginSimulation.so] Error 1
>> Subsystem Configuration built
>> Subsystem RecoBTag built
>> Subsystem ElectroWeakAnalysis built
>> Leaving Package Validation/HcalDigis


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
f493624
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21389/24727/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-21389/24727/git-merge-result

@cmsbuild
Copy link
Contributor

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@perrotta
Copy link
Contributor

please test
(Last CMSSW_10_0_X_2017-11-28-2300 IB should be fixed now)

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 29, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24742/console Started: 2017/11/29 13:07

@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-21389/24742/summary.html

There are some workflows for which there are errors in the baseline:
10824.0 step 5
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2605338
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2605166
  • DQMHistoTests: Total skipped: 171
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.860000000117 KiB( 21 files compared)
  • Checked 106 log files, 8 edm output root files, 26 DQM output files

@perrotta
Copy link
Contributor

+1

  • Comparing the configuration dumps with and without this PR, I see no changes, except the two typos in photonPostProcessor_cff.py which are fixed here
  • No changes in jenkins tests, as expected

@davidlange6
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 4111261 into cms-sw:master Dec 1, 2017
@makortel makortel deleted the removeIsChosenFastSim 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

4 participants