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

Put LCT related enums in CSCConstants #21650

Merged
merged 7 commits into from Dec 19, 2017
Merged

Put LCT related enums in CSCConstants #21650

merged 7 commits into from Dec 19, 2017

Conversation

dildick
Copy link
Contributor

@dildick dildick commented Dec 5, 2017

Enums MAX_CLCT_BINS, MAX_ALCT_BINS and MAX_LCT_BINS were defined in 3 different places. This PR puts all three in the common class CSCConstants.

Additional enums were created in CSCConstants:

  • MAX_CFEBS
  • NUM_DISTRIPS_PER_CFEB, NUM_STRIPS_PER_CFEB, NUM_HALF_STRIPS_PER_CFEB
  • NUM_PATTERN_WIRES, NUM_PATTERN_STRIPS, NUM_PATTERN_HALFSTRIPS
  • MAX_CLCTS_PER_PROCESSOR, MAX_ALCTS_PER_PROCESSOR
  • MAX_HALF_STRIP_ME1A_GANGED, MAX_HALF_STRIP_ME1A_UNGANGED, MAX_HALF_STRIP_ME1B
  • CLCT_FPGA_LATENCY, ALCT_FPGA_LATENCY
  • MAX_NUM_WIRES_ME11.

EDIT:

MAX_CLCT_BINS -> MAX_CLCT_TBINS
MAX_ALCT_BINS -> MAX_ALCT_TBINS
MAX_LCT_BINS -> MAX_LCT_TBINS
NUM_PATTERN_WIRES -> MAX_WIRES_IN_PATTERN
NUM_PATTERN_STRIPS -> MAX_STRIPS_IN_PATTERN
NUM_PATTERN_HALFSTRIPS -> MAX_HALFSTRIPS_IN_PATTERN
MAX_NUM_WIRES_ME11 -> MAX_WIRES_ME11
_LATENCY -> _EMUL_TIME_OFFSET

This PR is part of an effort to document the "magic" numbers in the CSC local trigger. There should be no change in performance.

@tahuang1991

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2017

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2017

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21650/2445

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2017

A new Pull Request was created by @dildick (Sven Dildick) for master.

It involves the following packages:

L1Trigger/CSCCommonTrigger
L1Trigger/CSCTriggerPrimitives

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

cms-bot commands are listed here

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2017

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 6, 2017

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

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins-workarea/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-21650/1325.7_TTbar_13_94XNanoAODINPUT+TTbar_13_94XNanoAODINPUT+NANOEDMMC2017

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 27
  • DQMHistoTests: Total histograms compared: 2835085
  • DQMHistoTests: Total failures: 75
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2834832
  • DQMHistoTests: Total skipped: 178
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1.5499999999 KiB( 23 files compared)
  • Checked 113 log files, 9 edm output root files, 27 DQM output files

@dildick
Copy link
Contributor Author

dildick commented Dec 11, 2017

I implemented following changes after feedback from UCLA folks

MAX_CLCT_BINS -> MAX_CLCT_TBINS
MAX_ALCT_BINS -> MAX_ALCT_TBINS
MAX_LCT_BINS -> MAX_LCT_TBINS
NUM_PATTERN_WIRES -> MAX_WIRES_IN_PATTERN
NUM_PATTERN_STRIPS -> MAX_STRIPS_IN_PATTERN
NUM_PATTERN_HALFSTRIPS -> MAX_HALFSTRIPS_IN_PATTERN
MAX_NUM_WIRES_ME11 -> MAX_WIRES_ME11
_LATENCY -> _EMUL_TIME_OFFSET

That should be it for this PR

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-21650/2538

@cmsbuild
Copy link
Contributor

Pull request #21650 was updated. @nsmith-, @cmsbuild, @thomreis, @rekovic can you please check and sign again.

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 11, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/25037/console Started: 2017/12/11 22:44

@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-21650/25037/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins-workarea/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-21650/1325.7_TTbar_13_94XNanoAODINPUT+TTbar_13_94XNanoAODINPUT+NANOEDMMC2017

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 27
  • DQMHistoTests: Total histograms compared: 2835241
  • DQMHistoTests: Total failures: 75
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2834988
  • DQMHistoTests: Total skipped: 178
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.909999999843 KiB( 23 files compared)
  • Checked 113 log files, 9 edm output root files, 27 DQM output files

@dildick
Copy link
Contributor Author

dildick commented Dec 13, 2017

@rekovic could you please sign?

@rekovic
Copy link
Contributor

rekovic commented Dec 18, 2017

+1

@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, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 7ba0c97 into cms-sw:master Dec 19, 2017
@dildick dildick deleted the from-CMSSW_10_0_X_2017-12-05-1100-CSCConstants branch December 19, 2017 06:55
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