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

Access best/second A/CLCT through public function in CSC TP emulator #27956

Merged
merged 8 commits into from Oct 5, 2019
Merged

Access best/second A/CLCT through public function in CSC TP emulator #27956

merged 8 commits into from Oct 5, 2019

Conversation

dildick
Copy link
Contributor

@dildick dildick commented Sep 9, 2019

PR description:

This PR replaces the usage of public member variables (e.g. bestALCT) to public member functions (e.g. getBestALCT()) in CSC motherboard classes - an artifact of the legacy CSC TP emulator code. I largely relied on sed to make the (trivial) changes:

sed -i 's/->bestALCT\[/->getBestALCT(/g' *.cc
sed -i 's/->bestCLCT\[/->getBestCLCT(/g' *.cc
sed -i 's/->secondALCT\[/->getSecondALCT(/g' *.cc
sed -i 's/->secondCLCT\[/->getSecondCLCT(/g' *.cc
sed -i 's/(bx_alct\]/(bx_alct)/g' *.cc
sed -i 's/(bx_clct\]/(bx_clct)/g' *.cc

Update: upon further inspection, it appears that the CLCT BX shift in PR #24402 was incomplete. The public variables bestCLCT and secondCLCT would return CLCTs at central BX7. The new public functions getBestCLCT() and getSecondCLCT() return CLCTs with central BX8. However, the CLCT readout remains unchanged, i.e. it will produce produce the CLCT digi collection with a central BX of 7. Also, this change won't have an effect on the LCT reconstruction efficiency, since the ALCT-CLCT BX matching window is at least 3 to 7 BX wide.

PR validation:

I tested it with WF 22034.0

@tahuang1991

@cmsbuild cmsbuild added this to the CMSSW_11_0_X milestone Sep 9, 2019
@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 9, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 9, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27956/11820

  • This PR adds an extra 68KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 9, 2019

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

It involves the following packages:

L1Trigger/CSCTriggerPrimitives

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

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27956/11826

  • This PR adds an extra 68KB to repository

@cmsbuild
Copy link
Contributor

Pull request #27956 was updated. @cmsbuild, @rekovic, @benkrikler can you please check and sign again.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@dildick dildick changed the title Replace public variable with public function in CSC TP emulator Access best/second A/CLCT through public function in CSC TP emulator Sep 10, 2019
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27956/11828

@dildick
Copy link
Contributor Author

dildick commented Sep 30, 2019

@fabiocos Can you please merge this PR? Thanks.

@dildick
Copy link
Contributor Author

dildick commented Oct 3, 2019

@fabiocos Can you please merge this PR?

@fabiocos
Copy link
Contributor

fabiocos commented Oct 5, 2019

code-checks

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2019

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2019

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27956/12144

@fabiocos
Copy link
Contributor

fabiocos commented Oct 5, 2019

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/2800/console Started: 2019/10/05 19:28

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2019

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2019

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 5, 2019

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2961049
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2960706
  • DQMHistoTests: Total skipped: 341
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@fabiocos
Copy link
Contributor

fabiocos commented Oct 5, 2019

+1

@cmsbuild cmsbuild merged commit a00ab43 into cms-sw:master Oct 5, 2019
@dildick dildick deleted the from-CMSSW_11_0_X_2019-09-08-2300-CSC-TMB-public-function branch October 23, 2019 19:24
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