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

Fit CSC comparator digis #18875

Merged
merged 18 commits into from Jun 26, 2017
Merged

Fit CSC comparator digis #18875

merged 18 commits into from Jun 26, 2017

Conversation

dildick
Copy link
Contributor

@dildick dildick commented May 22, 2017

In this pull request I introduce a class CSCComparatorDigiFitter. It fits a straight line to CSCComparatorDigis belonging to a CSCCorrelatedLCTDigi. The CSCComparatorDigis are matched to the CSCCorrelatedLCTDigi in each layer (1 through 6) by comparing CSCComparatorDigi half-strip (obtained from the strip and comparator reading) to the available halfstrip in the CSCCorrelatedLCTDigi pattern. This class is essential to build the first implementation of the L1 displaced muon trigger for the endcap. It improves the CSC stub position resolution in each station by a factor ~2.2 which is necessary for an accurate pT measurement. Ultimately, the CSCComparatorDigis will be fit in the CSCCathodeLCTProcessor class in a way that matches the firmware closely, but that is not scheduled to be done soon. Results are shown below.

ME1/b chamber:

ME2/1 chamber:

Other changes in this pull request:

  • 1 function made const in CSCDetId
  • functions "getFractionalStrip" introduced in CSCComparatorDigi and CSCCorrelatedLCTDigi

There should be no changes to the Run-2 or Phase-2 scenario. This class will be used in due time when the L1 displaced muon producer is completed.

@tahuang1991

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

DataFormats/CSCDigi
DataFormats/MuonDetId
L1Trigger/CSCTriggerPrimitives

@civanch, @mdhildreth, @cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please review it and eventually sign? Thanks.
@valuev, @kreczko, @battibass, @abbiendi, @jhgoh, @Martin-Grunewald, @calderona, @HuguesBrun, @ptcox, @trocino this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@civanch
Copy link
Contributor

civanch commented May 22, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 22, 2017

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

@cmsbuild
Copy link
Contributor

-1

Tested at: 899326e

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18875/20025/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests

  • Unit Tests:

I found errors in the following unit tests:

---> test testRecoMETMETProducers had ERRORS

@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-18875/20025/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1660 differences found in the comparisons
  • DQMHistoTests: Total files compared: 24
  • DQMHistoTests: Total histograms compared: 1832956
  • DQMHistoTests: Total failures: 27849
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1804927
  • DQMHistoTests: Total skipped: 180
  • DQMHistoTests: Total Missing objects: 0
  • Checked 98 log files, 14 edm output root files, 24 DQM output files

@dildick
Copy link
Contributor Author

dildick commented May 23, 2017

The error is unrelated to this PR:

+ cmsRun /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_2_X_2017-05-22-1100/src/RecoMET/METProducers/test/recoMET_caloMet_cfg.py
22-May-2017 18:11:23 CEST  Initiating request to open file file:ttbarForMetTests.root
----- Begin Fatal Exception 22-May-2017 18:11:24 CEST-----------------------
An exception of category 'FileOpenError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing input source of type PoolSource
   [2] Calling RootFileSequenceBase::initTheFile()
   [3] Calling StorageFactory::open()
   [4] Calling File::sysopen()
Exception Message:
Failed to open the file 'ttbarForMetTests.root'
   Additional Info:
      [a] Input file file:ttbarForMetTests.root could not be opened.
      [b] open() failed with system error 'No such file or directory' (error code 2)
----- End Fatal Exception -------------------------------------------------
+ die 'Failure using recoMET_caloMet_cfg.py' 84
+ echo Failure using recoMET_caloMet_cfg.py: status 84
Failure using recoMET_caloMet_cfg.py: status 84
+ exit 84
status = 21504

---> test testRecoMETMETProducers had ERRORS

@civanch Could you run the tests again, please? Thank you.

@civanch
Copy link
Contributor

civanch commented May 23, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 23, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/20035/console Started: 2017/05/23 10:29

@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-18875/20814/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: 22
  • DQMHistoTests: Total histograms compared: 1803263
  • DQMHistoTests: Total failures: 29342
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1773755
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@cmsbuild
Copy link
Contributor

Pull request #18875 was updated. @civanch, @mdhildreth, @cmsbuild, @rekovic, @mulhearn, @davidlange6 can you please check and sign again.

@davidlange6
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 22, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/20830/console Started: 2017/06/22 10:43
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/20834/console Started: 2017/06/22 11:27

@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-18875/20834/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 22
  • DQMHistoTests: Total histograms compared: 1802916
  • DQMHistoTests: Total failures: 14916
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1787834
  • DQMHistoTests: Total skipped: 166
  • DQMHistoTests: Total Missing objects: 0
  • Checked 90 log files, 14 edm output root files, 22 DQM output files

@civanch
Copy link
Contributor

civanch commented Jun 23, 2017

+1

@davidlange6
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 0128241 into cms-sw:master Jun 26, 2017
@dildick dildick deleted the from-CMSSW_9_2_X_2017-05-21-2300-csc-comparator-fit branch June 26, 2017 14:31
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