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

Adding time threshold compatibility to MTDThresholdClusterizer #25644

Merged
merged 4 commits into from Jan 15, 2019

Conversation

pmeridian
Copy link
Contributor

@pmeridian pmeridian commented Jan 13, 2019

This PR improves the MTD clusters @PU200 introducing a configurable time compatibility threshold (now set to a very loose @10sigma of the sigma of difference) between the seed and the hits to be attached to the cluster. It improves significantly the purity of the hits attached to the clusters as can be seen here:

Energy PU comparison in BTL with new configuration (Single MU)
btlbestcluster_energy_mupucomp-new

Old configuration
btlbestcluster_energy_mupucomp-old

Cluster size and time shows a similar behaviour:
btlbestcluster_time_mupucomp
btlbestcluster_size_mupucomp
etlbestcluster_size_mupucomp

Efficiency of the best hit matching is not affected:
divide_btlmatchedbestclustertrack_eta_by_btltrack_eta_mupuoldcomp

Important to be used in the next mtd release
@lgray @bendavid @fabiocos @franzoni

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@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-25644/7970

  • This PR adds an extra 16KB to repository

@pmeridian pmeridian changed the title Time threshold compatibility to MTDThresholdClusterizer. Adding time threshold compatibility to MTDThresholdClusterizer Jan 13, 2019
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @pmeridian for master.

It involves the following packages:

RecoLocalFastTime/FTLClusterizer

@perrotta, @cmsbuild, @kpedro88, @slava77 can you please review it and eventually sign? Thanks.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25644/7971

  • This PR adds an extra 16KB to repository

@@ -256,6 +258,8 @@ MTDThresholdClusterizer::make_cluster( const FTLCluster::FTLHitPos& hit )
for ( auto c = std::max(0,int(acluster.y[curInd]-1)); c < std::min(int(acluster.y[curInd]+2),int(theBuffer.columns())) && !stopClus; ++c) {
for ( auto r = std::max(0,int(acluster.x[curInd]-1)); r < std::min(int(acluster.x[curInd]+2),int(theBuffer.rows())) && !stopClus; ++r) {
if ( theBuffer.energy(r,c) > theHitThreshold) {
if (fabs(theBuffer.time(r,c) - seed_time) > theTimeThreshold*sqrt( theBuffer.time_error(r,c)*theBuffer.time_error(r,c) + seed_time_error*seed_time_error))
Copy link
Contributor

Choose a reason for hiding this comment

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

std::abs

@slava77
Copy link
Contributor

slava77 commented Jan 13, 2019

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 13, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/32562/console Started: 2019/01/13 19:01

@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-25644/7972

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-25644/7990

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented Jan 14, 2019

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 14, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/32592/console Started: 2019/01/14 20:46

@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-25644/32592/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 21 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3153717
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3153512
  • DQMHistoTests: Total skipped: 204
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@slava77
Copy link
Contributor

slava77 commented Jan 15, 2019

+1

for #25644 027f20e

  • code changes are in line with the PR description and the follow up review
  • jenkins tests pass and comparisons with the baseline show small changes in the MTD clusters, tracking hits, and MTD-extended tracks somewhat in line with the much higher stat plots posted with the PR description.

@kpedro88
Copy link
Contributor

+upgrade

@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)

@fabiocos
Copy link
Contributor

+1

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

5 participants