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

Remove hardcoded SOI from HF digis validation #18498

Merged
merged 3 commits into from May 15, 2017

Conversation

kencall
Copy link
Contributor

@kencall kencall commented Apr 27, 2017

Validation histograms for HF digis will now query digi.presamples() to determine the SOI, previously it was hardcoded. Previously HF had 4 TS, this was changed in data to 3TS, and PR #18372 changed it in MC as well.

…query digi.presamples() to determine the proper behavior.
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 27, 2017

A new Pull Request was created by @kencall for master.

It involves the following packages:

Validation/HcalDigis

@cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@Muzaffar, @davidlange6, @smuzaffar you are the release manager for this.

cms-bot commands are listed here

double fBin67 = tool[3] + tool[4]
- calibrations.pedestal((*digiItr)[3].capid())
- calibrations.pedestal((*digiItr)[4].capid());
int soi = (tool.presamples() == 1 ? 1 : 2);
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason this can't just be:

int soi = tool.presamples();

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No reason, I had coded it this way because it was a choice between two different behaviors. I then saw this alternative, but decided to leave it as is. If you hold off triggering tests, I'll change the code.

@kpedro88
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 27, 2017

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

@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-18498/19447/summary.html

Comparison Summary:

  • You potentially added 31 lines to the logs
  • Reco comparison results: 1709 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1778678
  • DQMHistoTests: Total failures: 23132
  • DQMHistoTests: Total nulls: 114
  • DQMHistoTests: Total successes: 1755259
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@abdoulline
Copy link

So Ken, this is a "minimum minimorum" (for HF only, while HBHE/HO parts stays unchanged/hardcoded).
There is always a chance that this year a similar change may happen to HB (well, alternatively it might be "just" ZS rise).

@kencall
Copy link
Contributor Author

kencall commented Apr 27, 2017 via email

@abdoulline
Copy link

abdoulline commented Apr 28, 2017 via email

@kencall
Copy link
Contributor Author

kencall commented Apr 28, 2017 via email

@smuzaffar smuzaffar modified the milestones: CMSSW_9_2_X, CMSSW_9_1_X May 4, 2017
…f pre/post samples can be changed and will not conflict with hard coded values
@cmsbuild
Copy link
Contributor

cmsbuild commented May 4, 2017

Pull request #18498 was updated. @cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please check and sign again.

@kencall
Copy link
Contributor Author

kencall commented May 4, 2017

I've heeded Salavat's suggestion and removed the harded coded SOI from HB/HE/HO. The module can now handle dynamically the number of presamples.

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19681/console Started: 2017/05/09 16:44

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 9, 2017

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

Comparison Summary:

  • You potentially added 2629 lines to the logs
  • Reco comparison results: 1693 differences found in the comparisons
  • DQMHistoTests: Total files compared: 24
  • DQMHistoTests: Total histograms compared: 1830998
  • DQMHistoTests: Total failures: 12361
  • DQMHistoTests: Total nulls: 120
  • DQMHistoTests: Total successes: 1818337
  • DQMHistoTests: Total skipped: 180
  • DQMHistoTests: Total Missing objects: 0
  • Checked 98 log files, 14 edm output root files, 24 DQM output files

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit ff38888 into cms-sw:master May 15, 2017
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