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

Filter invalid hcal upgrade data #19100

Merged
merged 4 commits into from Jun 9, 2017

Conversation

kpedro88
Copy link
Contributor

@kpedro88 kpedro88 commented Jun 5, 2017

The new HCAL digis (QIE10 and QIE11) need to be added to the HcalUnpackerReport, so DQM can track the presence of invalid data.

Specific points:

  • QIE10 digis are never excluded from the output collections (even if invalid), because it would mess up the HF dual anode reconstruction.
  • To allow for an energy threshold for QIE11 unpacking, the QIE11 calibrations are obtained from the database (a hardcoded "nominal" set of calibrations would become completely inappropriate if the shunt setting were changed).

attn: @christopheralanwest

@kpedro88
Copy link
Contributor Author

kpedro88 commented Jun 5, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/20336/console Started: 2017/06/05 20:33

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2017

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

It involves the following packages:

EventFilter/HcalRawToDigi

@perrotta, @cmsbuild, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@Martin-Grunewald this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2017

Comparison job queued.

@deguio
Copy link
Contributor

deguio commented Jun 5, 2017

@DryRun

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 5, 2017

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

Comparison Summary:

  • You potentially added 173 lines to the logs
  • Reco comparison results: 3431 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1837605
  • DQMHistoTests: Total failures: 63654
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1773778
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@kpedro88
Copy link
Contributor Author

kpedro88 commented Jun 6, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/20339/console Started: 2017/06/06 06:38

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2017

Pull request #19100 was updated. @perrotta, @cmsbuild, @slava77, @davidlange6 can you please check and sign again.

@kpedro88
Copy link
Contributor Author

kpedro88 commented Jun 8, 2017

@slava77 where do you see those changes? When I look at https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_9_2_X_2017-06-05-2300+19100/20427/, everything is green.

@slava77
Copy link
Contributor

slava77 commented Jun 8, 2017

ah, I was looking at an earlier jenkins result by mistake.

@slava77
Copy link
Contributor

slava77 commented Jun 8, 2017

I've also removed the post with wrong comparisons to avoid confusion

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2017

Comparison job queued.

@slava77
Copy link
Contributor

slava77 commented Jun 8, 2017

I checked one of the recent runs (295953 CommissioningSingleJet PD, using 92X_dataRun2_Prompt_v4).
On 200 events I do not see any differences either.

Is everything so clean typically (no unrelated digis to filter) or is something missing?

@kpedro88
Copy link
Contributor Author

kpedro88 commented Jun 8, 2017

I'm not sure what the expected rate of invalid digis should be. @christopheralanwest can you comment? Do you know any runs we can test to see if the HcalUnpackerReport is updated properly?

@christopheralanwest
Copy link
Contributor

Typically fewer than 1 event in about 10^4 has invalid data, and often much less. For example, the DQM for run 296424 shows no invalid data in any of the 330k events processed. We don't have a systematic estimate for the upgrade channels because this is the piece of code that would be used to generate such an estimate.

I've attached a plot from run 295376 during which the HFM07 tripped off, which corresponds to the region from -41 to the first -29 (the repeated -29 in the plot is indeed correct). It was generated from /store/data/Run2017A/HcalNZS/RAW/v1/000/295/376/00000/140DD20B-5C43-E711-8B80-02163E01286A.root . HEM (the yellow region) was off for the entire run.

run295376_depth1_BadQuality.pdf

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 8, 2017

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

Comparison Summary:

  • You potentially added 6 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1867702
  • DQMHistoTests: Total failures: 5271
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1862258
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@slava77
Copy link
Contributor

slava77 commented Jun 8, 2017 via email

@christopheralanwest
Copy link
Contributor

The LV in the relevant HF module tripped in lumisection 113:

https://cmswbm.cern.ch/cmsdb/servlet/LumiSections?RUN=295376

and so you simply didn't reach the section of the file with bad QIE10 digis. Lumisection 114 begins at the 2622nd event in the file used so if you only want to run over 200 events, you should skip to that point in the file.

The digis that are bad in all events correspond to HEM, which was off for all of run 295376.

@slava77
Copy link
Contributor

slava77 commented Jun 8, 2017 via email

@slava77
Copy link
Contributor

slava77 commented Jun 9, 2017

+1

for #19100 e590f4c

  • changes are in line with the description; any changes would appear only in data with bad QIE10 or QIE11 digis present (only in data)
  • jenkins tests pass and comparisons with baseline show no differences
  • local tests with 2017 data run 295376 lumi 114 with HF problems show that there are differences only in badQuality digi counters from the unpacker report. For this case, it is expected: the QIE10 digis are not filtered and the downstream reco gets the same inputs.

(black or left is the baseline in CMSSW_9_2_1)
wfcommissioning3295376_badqual_v_bx

Some example of bad HEP17 data could be more interesting.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 9, 2017

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 requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 15c5038 into cms-sw:master Jun 9, 2017
@kpedro88
Copy link
Contributor Author

kpedro88 commented Jun 9, 2017

@davidlange6 this did not make it into 9_2_2?

@slava77
Copy link
Contributor

slava77 commented Jun 9, 2017 via email

@davidlange6
Copy link
Contributor

davidlange6 commented Jun 9, 2017 via email

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