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

CT-PPS Pixel local track reconstruction patch #21107

Merged
merged 1 commit into from Nov 2, 2017

Conversation

fravera
Copy link
Contributor

@fravera fravera commented Oct 31, 2017

we have just discovered a couple of issues in the reco code of the CTPPS pixels that is affecting our track efficiency. We have also found the reasons and prepared fixes.
It would be important if the fixes could already be put inside 940 and used for the re-reco… We know that the deadline is passed but if we could find a way to put these patches it would really be great in terms of our performances.

More in details, the modifications proposed are “minimal” and are shown in this comparison:
master...CTPPS:ctpps_pixeLocalTracks_patch1

The first bug is in RecoCTPPS/PixelLocal/src/RPixRoadFinder.cc : we observed it when reconstructing the tracks that use only 3 planes out of the 6.
The problem is at line 90 and 113 where the number of points found in the pattern is request to be greater than minRoadSize_ (currently set to 3)
instead of requesting greater or equal.

The second problem is something similar to what already discussed for the central pixel code last week between Danek and Andrea.
We have some pixels which show very low ADC values due to the non-uniform irradiation we are facing in CT-PPS.
Once calibrated, these pixels will show a negative charge and would be rejected.
Since the problem appears in the pixels where we have the maximum number of physics hits (and hence are also the most irradiated)
we would lose a large number of good tracks.
For this reason we included a small change in RecoCTPPS/PixelLocal/src/RPixDetClusterizer.cc
in order to save a fix charge in case the calibrated charge is below the threshold set from the python (variable already present in the merged version).

Please let us know what you think.

@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/PR-21107/1738

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

RecoCTPPS/PixelLocal

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

cms-bot commands are listed here

@slava77
Copy link
Contributor

slava77 commented Oct 31, 2017

@cmsbuild please test

@fravera
Copy link
Contributor Author

fravera commented Oct 31, 2017

@fabferro @robutti

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 31, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/24095/console Started: 2017/10/31 21:01

@@ -64,11 +64,11 @@ void RPixDetClusterizer::buildClusters(unsigned int detId, const std::vector<CTP
if(!is_in){
//calibrate digi and store the new ones
electrons = calibrate(detId,adc,row,column,pcalibrations);
if(electrons < SeedADCThreshold_*ElectronADCGain_) electrons = SeedADCThreshold_*ElectronADCGain_;
Copy link
Contributor

Choose a reason for hiding this comment

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

The second problem is something similar to what already discussed for the central pixel code last week between Danek and Andrea.

this is not exactly the same.
There we have an override to calibrated digis loaded per pixel, but that override is still below the seed threshold.
Here, apparently there is no distinction between a seed and a regular pixel thresholds.

Copy link
Contributor

Choose a reason for hiding this comment

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

It may also make sense to rename the threshold to seedADCLowerBound_ because it's not serving as a threshold anymore.

BTW, I noticed that in the original review we missed the CMS style violations for the variable names, which should be starting with lower case.
This cleanup could be made in a follow up PR.

@slava77
Copy link
Contributor

slava77 commented Oct 31, 2017

type bugfix

@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-21107/24095/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: 2838442
  • DQMHistoTests: Total failures: 108
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2838163
  • DQMHistoTests: Total skipped: 171
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 10 edm output root files, 26 DQM output files

@slava77
Copy link
Contributor

slava77 commented Nov 2, 2017

+1

for #21107 250b40a

  • change of the pixel digi threshold to serve as a lower bound; fix the minRoadSize (current config is 3) to be used as inclusive threshold.
  • jenkins tests pass and comparisons show no differences [changes are apparently not so frequent]
  • local tests on a high-occupancy skim from ZeroBias2 run 294736 show some changes in CTPPS pixel reco
    • shorter tracks appear without a particular pattern in other variables
      all_sign979vsorig_ctppsfromaod294736c_ctppspixellocaltrackedmdetsetvector_ctppspixellocaltracks__rectpps_obj__sets_data_getndf
    • there is some increase in the number of hits, apparently more likely on the edges
      all_sign979vsorig_ctppsfromaod294736c_ctppspixelrechitedmdetsetvector_ctppspixelrechits__rectpps_obj__sets_data_minpixelcol
      all_sign979vsorig_ctppsfromaod294736c_ctppspixelrechitedmdetsetvector_ctppspixelrechits__rectpps_obj__sets_data_minpixelrow
      and most clusters added are in the bulk of the charge distribution (not all at zero/fake)
      all_sign979vsorig_ctppsfromaod294736c_min1e 5 ctppspixelclusteredmdetsetvector_ctppspixelclusters__rectpps_obj__sets_data_charge

@slava77
Copy link
Contributor

slava77 commented Nov 2, 2017

@fravera
I suggest you make a 94X PR.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 2, 2017

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

@davidlange6
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 82753fb into cms-sw:master Nov 2, 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