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

MTD geometry and reconstruction: update locaPosition in RectangularMTDTopology and adapt cluster accordingly #40049

Merged
merged 2 commits into from Nov 17, 2022

Conversation

fabiocos
Copy link
Contributor

PR description:

The locaPosition, localX and localY methods of RectangularMTDTopology do not provide, as naively expected, the center of a pixel as its reference position, but its left-bottom corner. This is counterintuitive and forces to some odd coding in the clustering algorithm. It is compensated by a shift by 0.5 pixel in the calculation of the cluster x and y coordinates in the corresponding DataFormat. In order to have a clean situation, the shift is moved from the cluster position calculation to the basic topology code itself.

This should have no net impact, given the limited use of these methods, and the fact that its use inside the BTL clustering is effectively dummy so far. In preparation of a further PR which updates the clustering code, I propose initially this update.

With the occasion, I update the local reconstruction validation code to properly use the cluster parameter estimator code to extract the position, without replicating its methods (which are going to change in next developments).

PR validation:

The code was tested with single muon workflow 20903 (scenario D88), showing that the cluster resolution and pull remains consistent with the existing result. The shift in tracking hits position printed from debug statements looks consistent with the proposed update of reference position.

…dingly, use appropriate interface in Validation
@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40049/33012

  • This PR adds an extra 32KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@fabiocos
Copy link
Contributor Author

@parbol FYI

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40049/33013

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fabiocos (Fabio Cossutti) for master.

It involves the following packages:

  • DataFormats/FTLRecHit (upgrade, reconstruction)
  • Geometry/MTDGeometryBuilder (geometry, upgrade)
  • Validation/MtdValidation (dqm)

@civanch, @Dr15Jones, @clacaputo, @bsunanda, @makortel, @mandrenguyen, @emanueleusai, @ianna, @ahmad3213, @cmsbuild, @AdrianoDee, @srimanob, @jfernan2, @mdhildreth, @syuvivida, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@trtomei, @missirol, @beaucero, @rovere, @bsunanda this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@fabiocos
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d480e5/28977/summary.html
COMMIT: 233cf0d
CMSSW: CMSSW_12_6_X_2022-11-11-1100/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40049/28977/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 5 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3416447
  • DQMHistoTests: Total failures: 299
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3416126
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 206 log files, 48 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@emanueleusai
Copy link
Member

DQM histogram differences in ETL Monitoring Elements using hits, just as expected. The only difference in DQM histos I do not understand is this one in Tracks/TrackPathLenghtvsEta:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_12_6_X_2022-11-11-1100+d480e5/54057/21034.999_TTbar_14TeV+2026D88PU_PMXS1S2PR+TTbar_14TeV_TuneCP5_GenSimHLBeamSpot14+PREMIX_PremixHLBeamSpot14PU+DigiTriggerPU+RecoGlobalPU+HARVESTGlobalPU/MTD_Tracks.html

@fabiocos
Copy link
Contributor Author

@emanueleusai this PR affects directly ETL digitization in the determination of the hit radius in https://github.com/cms-sw/cmssw/blob/master/SimFastTiming/FastTimingCommon/src/ETLElectronicsSim.cc#L51 and this should explain the minor fluctuations observed in the ETL plots. This might as well induce some minor fluctuation in the forward clusters, which are mostly single-pixel but not always, and as a consequence occasionally affect the track-cluster match, which define the collection of tracks and the value of the observable which enters into the affected plot. BTW this appears in the sample with PU, where many more hist and tracks are expected, but the PU is a premixed sample not affected by the change in this PR.

@emanueleusai
Copy link
Member

@fabiocos thank you very much for the explanation!

@emanueleusai
Copy link
Member

+1

  • DQM differences understood

@bsunanda
Copy link
Contributor

+geometry

@fabiocos
Copy link
Contributor Author

@cms-sw/reconstruction-l2 @cms-sw/upgrade-l2 questions or comments?

@clacaputo
Copy link
Contributor

+reconstruction

@AdrianoDee
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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2)

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 8c5adee into cms-sw:master Nov 17, 2022
@fabiocos fabiocos deleted the fc-fixrecttopo branch November 18, 2022 16:26
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