Skip to content

Adding SimpleTrackValidation Analyzer #47370

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

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

AdrianoDee
Copy link
Contributor

@AdrianoDee AdrianoDee commented Feb 17, 2025

PR description:

This PR proposes to add the SimpleTrackValidation analyzer that, given in input:

  • a list of track collections;
  • a list of tracking particles (selected with a configurable TrackingParticleSelector);
  • a track associator;

produces a ROOT file collecting five quantities:

  • global_rt_, number of reconstructed tracks;
  • global_st_, number of tracking particles;
  • global_at_, number of reconstructed tracks associated to a tracking particle;
  • global_dt_, number of duplicates (number of sim associated to more than one reco);
  • global_ast_, number of tracking particles associated to at least a reconstructed track.

Used for the tracking performance optimization in:

This is useful as first step to include the optimizations scripts in cms-sw. Authored together with with @rsreds and @bucket420.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 17, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47370/43726

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

@AdrianoDee
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Validation/RecoTrack (dqm)

@antoniovagnerini, @rseidita can you please review it and eventually sign? Thanks.
@GiacomoSguazzoni, @VinInn, @VourMa, @dgulhan, @felicepantaleo, @missirol, @mmusich, @mtosi, @rovere, @wmtford this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@AdrianoDee
Copy link
Contributor Author

please test

Copy link
Contributor

@mmusich mmusich left a comment

Choose a reason for hiding this comment

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

some pedantic comments (mostly care about the fillDescriptions)

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-04317c/44431/summary.html
COMMIT: 3d21d55
CMSSW: CMSSW_15_1_X_2025-02-17-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47370/44431/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 2 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 4133522
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 4133502
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 50 files compared)
  • Checked 222 log files, 194 edm output root files, 51 DQM output files
  • TriggerResults: no differences found

SimpleTrackValidation Analyzer

Co-authored-by: AdrianoDee <[email protected]>
Co-authored-by: Simone Rossi Tisbeni <[email protected]>
Co-authored-by: bucket420 <[email protected]>
@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #47370 was updated. @antoniovagnerini, @cmsbuild, @rseidita can you please check and sign again.

@AdrianoDee
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 20KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-04317c/44464/summary.html
COMMIT: f208846
CMSSW: CMSSW_15_1_X_2025-02-17-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47370/44464/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@antoniovagnerini
Copy link

+dqm

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

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 128089b into cms-sw:master Feb 18, 2025
11 checks passed
int rt = 0; // number of reconstructed tracks;
int at = 0; // number of reconstructed tracks associated to a tracking particle
int ast = 0; // number of tracking particles associated to at least a reconstructed track.
int dt = 0; // number of duplicates (number of sim associated to more than one reco);
Copy link
Contributor

Choose a reason for hiding this comment

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

global_dt_, number of duplicates (number of sim associated to more than one reco);

is this comment correct ?
dt is filled up in a loop on reco::Track-s, so this should be a number of reco tracks that is already been found associated to another sim track?
@elenavernazza @JanGerritSchulz @rovere

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed the comment is not right, this is counting the number of reco tracks associated to a sim track that has associations to multiple reco tracks (the logic to compute the duplicates should be fine, I think).

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.

5 participants