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

Fix Tracks related Pixel quantities at HLT DQM #40873

Merged
merged 4 commits into from
Feb 27, 2023

Conversation

arossi83
Copy link
Contributor

@arossi83 arossi83 commented Feb 24, 2023

PR description:

Monitor of the tracks related Pixel quantities at HLT DQM never works and it was disabled at some point, with this PR we introduce the changes needed (tracks refitting) in order to be able to monitor Pixel Tracks quantities at HLT DQM.
In this PR we also update the collection to be used by the Standard DQM Pixel Residuals Monitor in order to use the refitted tracks.

PR validation:

runTheMatrix.sh -l 140.063
Manually run the Online HLT client at P5 with old stored DQM stream file

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

Backport to 13_0_X will be needed since it's the release which will be used for 2023 datataking

@arossi83
Copy link
Contributor Author

@mmusich
Copy link
Contributor

mmusich commented Feb 24, 2023

resolves #30911

@mmusich
Copy link
Contributor

mmusich commented Feb 24, 2023

resolves CMSTrackerDPG/Tasks#5

@mmusich
Copy link
Contributor

mmusich commented Feb 24, 2023

test parameters:

  • workflow = 140.063

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40873/34341

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @arossi83 (Alessandro Rossi) for master.

It involves the following packages:

  • DQM/Integration (dqm)
  • DQM/SiPixelPhase1Track (dqm)
  • DQMOffline/Trigger (dqm)

@emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please review it and eventually sign? Thanks.
@fioriNTU, @arossi83, @trocino, @batinkov, @hdelanno, @battibass, @sroychow, @jhgoh, @missirol, @HuguesBrun, @Fedespring, @threus, @jandrea, @idebruyn, @mmusich, @rociovilar, @mtosi, @cericeci, @francescobrivio 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

@mmusich
Copy link
Contributor

mmusich commented Feb 24, 2023

@cmsbuild, please test

#+ hltSiPixelPhase1TrackClustersAnalyzer
hltSiPixelClusterShapeCache
+ hltSiPixelPhase1ClustersAnalyzer
+ refittedForPixelDQM
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be

Suggested change
+ refittedForPixelDQM
+ hltrefittedForPixelDQM

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, It should. Just push a commit to fix it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, can you apply the rest of the suggestions at #40875 (comment) ? In that way we should be passing tests without need to change any input.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, sorry I overlooked the comments yesterday

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40873/34342

  • 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-40873/34355

  • This PR adds an extra 28KB to repository

@cmsbuild
Copy link
Contributor

Pull request #40873 was updated. @micsucmed, @emanueleusai, @clacaputo, @cmsbuild, @syuvivida, @pmandrik, @mandrenguyen, @rvenditti can you please check and sign again.

@mmusich
Copy link
Contributor

mmusich commented Feb 25, 2023

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-573eb9/30902/summary.html
COMMIT: 1560208
CMSSW: CMSSW_13_1_X_2023-02-24-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/40873/30902/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 7 lines from the logs
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 50
  • DQMHistoTests: Total histograms compared: 3616346
  • DQMHistoTests: Total failures: 7003
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3609321
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 23549.645 KiB( 49 files compared)
  • DQMHistoSizes: changed ( 11634.0,... ): 3364.235 KiB HLT/Pixel
  • Checked 217 log files, 167 edm output root files, 50 DQM output files
  • TriggerResults: no differences found

@emanueleusai
Copy link
Member

Hello let's see if we can track down all the changes in the DQM comparisons:

@mmusich
Copy link
Contributor

mmusich commented Feb 27, 2023

Hi @emanueleusai,
since this PR packages together different updates, allow me to give some more information here:

Stark increase DQMHistoSizes memory --> adding back tracks related Pixel quantities at HLT DQM plots OK

This is needed to be able to monitor the performance of the pixel detector - as seen by the HLT - during 2024, as we we expect it to have to cope with unprecedentedly hard conditions from the machine (well beyond the specs of the readout chip at the peak luminosity during the luminosity leveling phase of the fill). This will help to track down possible sources of tracking inefficiency at the HLT.

Do you expect the differences in the residuals when using the refitted track collection?

Yes, this in fact corrects a "bug" in the offline pixel DQM. Since when the trajectory is a transient event product, in order to compute precise residuals a refit of the track is needed. If that is not provided the DQM module falls back to use the pre-computed track residuals, stored in the TrackExtra branch, at lower precision.
The aim here is to provide an "online" measurement more similar to the one performed "offline" by the tracker alignment group.

I see differences in EgammaV/ConversionValidator/ConversionInfo https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_13_1_X_2023-02-24-2300+573eb9/55726/11634.7_TTbar_14TeV+2021_trackingMkFit/EgammaV_ConversionValidator_ConversionInfo.html but that is perhaps unrelated.

This indeed looks unrelated, and instead potentially related to the known instability of wf 11634.7, as reported already in a separate issue: #39803

@emanueleusai
Copy link
Member

Thank you very much for the detailed follow-up. Everything is understood and as expected from the code changes.

@emanueleusai
Copy link
Member

+1

@mandrenguyen
Copy link
Contributor

+1

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

Copy link
Contributor

@perrotta perrotta left a comment

Choose a reason for hiding this comment

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

Given the urgency of the backport, to be ready in time for 13_0_0, please apply this fix in a forthcoming PR while we are merging this one. Possibly now, so that it can be also merged in the backport


hltSiPixelClusterShapeCache = siPixelClusterShapeCache.clone(src = 'hltSiPixelClusters')
hltrefittedForPixelDQM = refittedForPixelDQM.clone(src ='hltMergedTracks',
TTRHBuilder = cms.string('WithTrackAngle')) # no templates at HLT
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
TTRHBuilder = cms.string('WithTrackAngle')) # no templates at HLT
TTRHBuilder = 'WithTrackAngle') # no templates at HLT

Copy link
Contributor

Choose a reason for hiding this comment

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

to speed up things here's the fix in master: #40891.
Hopefully @arossi83 can do the same in #40875.

@perrotta
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.

6 participants