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

CTPPS: bug fix #2 in run ranges for FEDs channels mapping #18732

Merged

Conversation

forthommel
Copy link
Contributor

@forthommel forthommel commented May 15, 2017

Follow-up of #18461 (comment) to ensure a proper handling of the begin/end conditions through the usage of a edm::contains (instead of a home-brewed check).
This patch was tested on the conditions defined in this HN thread and successfully passed it.

runTheMatrix.py -l limited yielded 8 8 7 5 4 1 1 1 tests passed, 1 0 0 0 0 0 0 0 failed at 483c886 (with the usual DAS error at step1 of 4.22)

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @forthommel (Laurent Forthomme) for CMSSW_8_0_X.

It involves the following packages:

CondFormats/CTPPSReadoutObjects

@ghellwig, @arunhep, @cerminar, @cmsbuild, @franzoni, @ggovi, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks.
@ghellwig, @tocheng this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@forthommel
Copy link
Contributor Author

forthommel commented May 15, 2017

Could somebody please launch the tests to promptly fix the issues encountered with the pilot run of the 2016H re-reco?

@cmsbuild
Copy link
Contributor

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

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented May 15, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 15, 2017

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

@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-18732/19855/summary.html

Comparison Summary:

  • You potentially added 5 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 16
  • DQMHistoTests: Total histograms compared: 1164335
  • DQMHistoTests: Total failures: 1112
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1163105
  • DQMHistoTests: Total skipped: 118
  • DQMHistoTests: Total Missing objects: 0
  • Checked 63 log files, 14 edm output root files, 16 DQM output files

@franzoni
Copy link

hello @forthommel
can you please try to run w/ this PR
on the configuration and input data which generated the failure you're trying to fix ( https://hypernews.cern.ch/HyperNews/CMS/get/prep-ops/3940/1/1/1/1/1.html )

Thanks!

@forthommel
Copy link
Contributor Author

forthommel commented May 16, 2017

Hi @franzoni,
I tested the effect of this PR with 1000 events of the PSet.py/pkl attached to this HN thread, and I did not manage to reproduce the crash encountered before the patch!

@forthommel
Copy link
Contributor Author

Hi @franzoni,
Is there any further x-check I can do to proceed with this PR?

boost::shared_ptr<TotemDAQMapping> mapping(new TotemDAQMapping());
boost::shared_ptr<TotemAnalysisMask> mask(new TotemAnalysisMask());
std::shared_ptr<TotemDAQMapping> mapping(new TotemDAQMapping());
std::shared_ptr<TotemAnalysisMask> mask(new TotemAnalysisMask());

Choose a reason for hiding this comment

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

@forthommel here you could use std::make_shared to have only one memory allocation instead of two and because you can avoid typing the type twice by using the auto keyword

if (startEventID.event() == 1)
startEventID = EventID(startEventID.run(), startEventID.luminosityBlock(), 0);
if (range.startEventID()==edm::EventID(1, 0, 1))
range = edm::EventRange(edm::EventID(1, 0, 0), range.endEventID());

Choose a reason for hiding this comment

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

just for me to understand: using event number '0' has what exact special meaning?
or phrased differently, what kind of magic happens in EventRange and EventID that prevents the kind of failure mentioned by @franzoni from happening again?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @ghellwig,
It appears that the nomenclature <run_number>:min used for the run ranges in the python configuration refers to the event <run_number>:0:1 instead of <run_number>:0:0 (first event effectively observed in the stream), thus preventing any channels mapping to be associated for this first, boundary, event.

Again, this is a temporary workaround while a frontier conditions-based mapping is being developed!

Choose a reason for hiding this comment

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

thanks for the explanation

@cmsbuild
Copy link
Contributor

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

@ghellwig
Copy link

please test

@ghellwig
Copy link

+1
provided jenkins agrees

@cmsbuild
Copy link
Contributor

cmsbuild commented May 18, 2017

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

@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-18732/19955/summary.html

Comparison Summary:

  • You potentially added 5 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 16
  • DQMHistoTests: Total histograms compared: 1164335
  • DQMHistoTests: Total failures: 1117
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1163100
  • DQMHistoTests: Total skipped: 118
  • DQMHistoTests: Total Missing objects: 0
  • Checked 63 log files, 14 edm output root files, 16 DQM output files

@davidlange6 davidlange6 merged commit 98f6ae0 into cms-sw:CMSSW_8_0_X May 19, 2017
@forthommel forthommel deleted the ctpps-runranges_patch2-8_0_X branch May 19, 2017 11:21
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.

7 participants