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 Pixel unpacker patch #20120

Merged
merged 3 commits into from Aug 11, 2017

Conversation

fabferro
Copy link
Contributor

adding small patch in the unpacker to prevent corrupted row/col from making the jobs crash

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fabferro (Fabrizio Ferro) for master.

It involves the following packages:

EventFilter/CTPPSRawToDigi

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

cms-bot commands are listed here

@@ -148,6 +148,12 @@ void CTPPSPixelDataFormatter::interpretRawData( bool& errorsInEvent, int fedId,
int dcol = (ww >> m_DCOL_shift) & m_DCOL_mask;
int pxid = (ww >> m_PXID_shift) & m_PXID_mask;

if(dcol<0||dcol>=26||pxid<2||pxid>161){
Copy link
Contributor

Choose a reason for hiding this comment

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

are there constants already defined for these ranges 0-25 and 2-160?
If so, please use them instead of the magic numbers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@slava77
Copy link
Contributor

slava77 commented Aug 10, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 10, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22198/console Started: 2017/08/10 18:02

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented Aug 10, 2017

@cmsbuild please test

@fabferro
thank you. This is now semantically better and the constants could be useful for future developments. I was hoping these were already defined in some headers before this PR, but it looks like it is the first time, OK.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 10, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22202/console Started: 2017/08/10 19:13

@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-20120/22202/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2713569
  • DQMHistoTests: Total failures: 817
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2712563
  • DQMHistoTests: Total skipped: 189
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 14 edm output root files, 26 DQM output files

@slava77
Copy link
Contributor

slava77 commented Aug 10, 2017

+1

for #20120 5334e0e

  • fixes problems in data processing (these started after 928 release with CTPPS clustering was deployed, which is apparently the first place so far to react badly to invalid digis); this was reported in https://hypernews.cern.ch/HyperNews/CMS/get/recoDevelopment/1545.html
  • jenkins tests pass
  • local test in 928 with a failing job confirms that the LogError shows up in place of a crash and there are no problems later in the same event.
    • this LogError can stay as LogError because it is apparently rare enough (once in 100K events perhaps).

@cmsbuild
Copy link
Contributor

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 will now be reviewed by the release team before it's merged. @davidlange6, @smuzaffar (and backports should be raised in the release meeting by the corresponding L2)

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit e7ff71a into cms-sw:master Aug 11, 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

4 participants