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

Eras for HCAL hardcode conditions and packer skipping #19712

Merged
merged 4 commits into from
Jul 24, 2017

Conversation

kpedro88
Copy link
Contributor

There have been a number of "solutions" for enabling HCAL hardcode conditions and avoiding the packer/unpacker (customization functions, phase2-specific Era modifications, EDAliases, etc.). None of these were general enough to be completely satisfactory.

This PR introduces two general-use Eras:

  1. hcalHardcodeConditions, which enables the use of HCAL hardcoded conditions. The subdetector-specific settings for HcalHardcodeCalibrations are now enabled with the relevant Eras, so they will be consistently set for any simulation scenario.
  2. hcalSkipPacker, which skips the packer and runs the new fake unpacker HcalRawToDigiFake. This fake unpacker just duplicates the simulated digi collections as hcalDigis collections, in order to avoid changing any InputTags.

Typically, hcalSkipPacker should be used when hcalHardcodeConditions is used, unless a real ElectronicsMap is used (rather than the hardcoded one, which is not appropriate for packing). Both of these Eras are now used for Phase2, and will be used for the upcoming Run3 workflow. They can also be manually chained with any other Era to enable the hardcode conditions and/or skip packing, in case such behavior is needed by a user.

HCalCustoms.py is deleted, since it is no longer needed for any purpose.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @kpedro88 (Kevin Pedro) for master.

It involves the following packages:

CalibCalorimetry/HcalPlugins
Configuration/Eras
Configuration/EventContent
Configuration/Geometry
Configuration/StandardSequences
EventFilter/HcalRawToDigi
RecoLocalCalo/Configuration
SLHCUpgradeSimulations/Configuration

@perrotta, @ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @mdhildreth, @cmsbuild, @franzoni, @kpedro88, @cerminar, @slava77, @davidlange6, @lpernie can you please review it and eventually sign? Thanks.
@ghellwig, @makortel, @felicepantaleo, @sviret, @GiacomoSguazzoni, @tocheng, @VinInn, @Martin-Grunewald, @rovere, @ebrondol, @mmusich, @dgulhan this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@kpedro88
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 12, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21410/console Started: 2017/07/12 20:41

@kpedro88
Copy link
Contributor Author

please hold
need to address one more compatibility issue

@cmsbuild
Copy link
Contributor

@kpedro88
Copy link
Contributor Author

please test

@kpedro88
Copy link
Contributor Author

unhold

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 12, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/21417/console Started: 2017/07/12 22:40

@cmsbuild
Copy link
Contributor

Pull request #19712 was updated. @perrotta, @ghellwig, @civanch, @Dr15Jones, @arunhep, @ianna, @mdhildreth, @cmsbuild, @franzoni, @kpedro88, @cerminar, @slava77, @davidlange6, @lpernie can you please check and sign again.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-19712/21417/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 2015567
  • DQMHistoTests: Total failures: 14518
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2000883
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 93 log files, 14 edm output root files, 23 DQM output files

@kpedro88
Copy link
Contributor Author

+1

@kpedro88
Copy link
Contributor Author

@franzoni @ianna @perrotta @slava77 @civanch @mdhildreth please review/sign ASAP, this is needed for the Run3 workflow also (PR pending)

@ianna
Copy link
Contributor

ianna commented Jul 14, 2017

+1

@perrotta
Copy link
Contributor

You removed
SLHCUpgradeSimulations/Configuration/python/HCalCustoms.py
but it is still looked for inside
SLHCUpgradeSimulations/Configuration/python/combinedCustoms.py

@kpedro88
Copy link
Contributor Author

@perrotta combinedCustoms isn't actually used anymore, but your point is taken. I'll prepare a separate PR removing it entirely (a few test configs still reference it).

@kpedro88
Copy link
Contributor Author

@perrotta see #19748

@perrotta
Copy link
Contributor

+1

  • Reorganization of HCAL eras for run2 and run3
  • At the end, the actual run2 and run3 HB,HE,HF customizations remain the same as now
  • As such, no differences are expected in standard workflows, and no differences are visible in jenkins tests
  • combinedCustoms is currently only linked by some (outdated, I guess...) HGCal validation test, and it will be fully removed by remove combinedCustoms entirely #19748

@civanch
Copy link
Contributor

civanch commented Jul 17, 2017

+1

@kpedro88
Copy link
Contributor Author

@ghellwig, @arunhep, @franzoni, @cerminar, @lpernie please take a look - only change for AlCa is reorganization of Era usage in Hcal_Conditions_forGlobalTag_cff.py

@arunhep
Copy link
Contributor

arunhep commented Jul 18, 2017

+1

@kpedro88
Copy link
Contributor Author

@davidlange6 ping

@davidlange6
Copy link
Contributor

merge

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

7 participants