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

Simplify digi types for HGCal, add dummy unpacker and aliases #23703

Merged
merged 19 commits into from Jul 14, 2018

Conversation

kpedro88
Copy link
Contributor

@kpedro88 kpedro88 commented Jun 27, 2018

Followup to #23690.

While we will keep the old digi collection types in order to be able to read previously produced files, from now on all HGCal digis will just store a generic DetId. This is far preferable to adding switches throughout the code to handle the DetId type changes in the new geometry.

attn:
@bsunanda - I propagated this change to the testbeam code, is it acceptable?
@jbsauvan - I propagated this change to the L1T code, let me know if it interferes with anything (hopefully not, just a straightforward changing of types).

Followup:
In order to facilitate reading the old digi types from existing samples to rerun reco/validation sequences, a "dummy" unpacker was added for HGCal, with output type hgcalDigis. The unpacker module can be swapped out with a converter that changes the digi types, using the process modifier convertHGCalDigisReco.

Similarly, to rerun digi/L1 sequences, an EDAlias was added for the simulated digis, simHGCalUnsuppressedDigis. This EDAlias can be swapped out with the same converter module using the process modifier convertHGCalDigisSim.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@kpedro88
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 27, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28927/console Started: 2018/06/28 01:20

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

DataFormats/HGCDigi
L1Trigger/L1THGCal
RecoLocalCalo/HGCalRecProducers
SimCalorimetry/HGCalSimProducers
SimG4CMS/HGCalTestBeam
Validation/HGCalValidation

@perrotta, @cmsbuild, @civanch, @vazzolini, @kmaeshima, @mdhildreth, @dmitrijus, @nsmith-, @rekovic, @jfernan2, @kpedro88, @thomreis, @slava77, @vanbesien can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @vandreev11, @sethzenz, @makortel, @felicepantaleo, @rovere, @lgray, @edjtscott, @bsunanda, @cseez, @pfs, @amarini, @jbsauvan this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@kpedro88
Copy link
Contributor Author

I don't see how it could be caused by this PR... there's no interaction between HGCal and fastsim yet

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2887250
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2887058
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@kpedro88
Copy link
Contributor Author

When I ran the same test locally, it did not crash. This makes me suspect memory corruption somewhere. I'm running valgrind on that workflow now. (But again, I don't think it's actually related to this PR.)

@fabiocos
Copy link
Contributor

@kpedro88 I did the same test adding this PR onto this morning IB and got no crash, it could be unrelated, I agree

@fabiocos
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 13, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/29116/console Started: 2018/07/13 22: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-23703/29116/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2887250
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2887058
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@kpedro88
Copy link
Contributor Author

valgrind didn't show anything pertinent (though there is a potential memory leak, I'll post an issue).

@fabiocos
Copy link
Contributor

+1

large development affecting HGCal digitization and L1, effects only on Phase2 workflows. Backward compatibility with old production formats provided

@cmsbuild cmsbuild merged commit 905af02 into cms-sw:master Jul 14, 2018
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

9 participants