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

Automatic emap in HCAL hardcode conditions #15606

Merged
merged 6 commits into from Aug 30, 2016

Conversation

kpedro88
Copy link
Contributor

This PR introduces an algorithm to assign ElectronicsIds to any collection of HCAL cells (regardless of topology) and thereby create an ElectronicsMap automatically.

There are also a few changes to the interim customizations for HCAL development, which will be removed when the full workflow is ready.

I also fixed the ptr copy problem in HcalElectronicsMap noted by @slava77.

@deguio looked at the DQM output with the automatic emap (following HcalPhase1SoftwareSimulationRecipe, using the -v option) and saw sensible results.

Still to be done in subsequent PRs:

  • Remove use of mutables from HcalElectronicsMap
  • Adapt offline DQM code to monitor QIE10/11 digis
  • Adapt validation code to handle new depths and QIE10/11 digis
  • Figure out how to handle ElectronicsId and emap for fine-segmented BH, which has more than 2^19 cells

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

CalibCalorimetry/HcalAlgos
CalibCalorimetry/HcalPlugins
CondFormats/DataRecord
CondFormats/HcalObjects
SLHCUpgradeSimulations/Configuration

@ghellwig, @civanch, @cerminar, @cmsbuild, @franzoni, @mdhildreth, @ggovi, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @apfeiffer1, @makortel, @tocheng, @Martin-Grunewald, @mariadalfonso this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are list here #13028

@kpedro88
Copy link
Contributor Author

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 25, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/14735/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@civanch
Copy link
Contributor

civanch commented Aug 26, 2016

+1

@mmusich
Copy link
Contributor

mmusich commented Aug 26, 2016

+1 for changes in HcalDbHardCode.
@ggovi the change in CondFormat requires your attention

@kpedro88
Copy link
Contributor Author

rebased...

@cmsbuild please test

@cmsbuild
Copy link
Contributor

Pull request #15606 was updated. @ghellwig, @civanch, @cerminar, @cmsbuild, @franzoni, @mdhildreth, @ggovi, @mmusich, @davidlange6 can you please check and sign again.

@civanch
Copy link
Contributor

civanch commented Aug 29, 2016

Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 29, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/14788/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

@mmusich
Copy link
Contributor

mmusich commented Aug 30, 2016

+1

@ggovi
Copy link
Contributor

ggovi commented Aug 30, 2016

+1

@civanch
Copy link
Contributor

civanch commented Aug 30, 2016

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@@ -93,7 +93,13 @@ def customise_Hcal2017(process):
process=customise_mixing(process)
if hasattr(process,'simHcalTriggerPrimitiveDigis'):
process.simHcalTriggerPrimitiveDigis.upgradeHF = cms.bool(True)

if hasattr(process,'dqmoffline_step'):
Copy link
Contributor

Choose a reason for hiding this comment

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

probably more reliable just to check hasattr(process,'digiTask' ) but I presume this is all going away in favor of eras soon...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, HCalCustoms is just being used for development right now. Hopefully everything will be moved to Eras by pre12.

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 79e058c into cms-sw:CMSSW_8_1_X Aug 30, 2016
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

6 participants