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

HLT Tau DQM for PNet taus #44613

Merged

Conversation

slehti
Copy link
Contributor

@slehti slehti commented Apr 4, 2024

HLTTauDQM
Added support for making DQM plots for PNetTauh paths.
Added event counter for helping to find problems. Not appearing in the final DQM output.
Fixed some empty plots at kEverything level.
Changed one plot level from kEverything to kVital (bugfix)

In addition to the current plots, every HLT path with string PNetTauh in the path name will be picked up and monitoring plots made.

Tested with CMSSW_14_0_4 that the code compiles, runs and produces the plots, including the new plots for PNet taus.

@cmsbuild cmsbuild added this to the CMSSW_14_1_X milestone Apr 4, 2024
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2024

This PR contains too many commits (345 >= 240) and will not be processed.
Please ensure you have selected the correct target branch and consider squashing unnecessary commits.
The processing of this PR will resume once the commit count drops below the limit.

@slehti
Copy link
Contributor Author

slehti commented Apr 4, 2024

This PR should contain only one commit: ba685e1

@mmusich
Copy link
Contributor

mmusich commented Apr 4, 2024

this PR should contain only one commit: ba685e1

@slehti it looks like the branch you used got messed up.
You can try to solve by doing the following:

cmsrel CMSSW_14_1_X_2024-04-03-2300
cd CMSSW_14_1_X_2024-04-03-2300/src/
cmsenv
git cms-addpkg HLTriggerOffline/Tau/ DQMOffline/Trigger/
git cherry-pick ba685e111de17a178e612f4c42ba27c47c177261
git push my-cmssw +HEAD:HLTTauValidationUpdateApril2024_PNetTau

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2024

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44613/39806

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44613/39808

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2024

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

It involves the following packages:

  • DQMOffline/Trigger (dqm)
  • HLTriggerOffline/Tau (dqm)

@rvenditti, @antoniovagnerini, @tjavaid, @syuvivida, @nothingface0, @cmsbuild can you please review it and eventually sign? Thanks.
@jhgoh, @trocino, @mtosi, @rociovilar, @HuguesBrun, @Fedespring, @missirol, @cericeci this is something you requested to watch as well.
@sextonkennedy, @rappoccio, @antoniovilela you are the release manager for this.

cms-bot commands are listed here

@mmusich
Copy link
Contributor

mmusich commented Apr 4, 2024

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 4, 2024

-1

Failed Tests: RelVals RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-042ac9/38605/summary.html
COMMIT: bb6cb5c
CMSSW: CMSSW_14_1_X_2024-04-04-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/44613/38605/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

  • 141.042A fatal system signal has occurred: segmentation violation
  • 1000.0A fatal system signal has occurred: segmentation violation
  • 1001.0A fatal system signal has occurred: segmentation violation
Expand to see more relval errors ...

RelVals-INPUT

  • 136.7801136.7801_RunHLTPhy2017B_AOD/step2_RunHLTPhy2017B_AOD.log
  • 1000.01000.0_RunMinBias2011A/step2_RunMinBias2011A.log
  • 1001.01001.0_RunMinBias2011A/step2_RunMinBias2011A.log
Expand to see more relval errors ...

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.

I think hCounter_ needs to be protected in order to avoid segmentation faults at runtime.

Comment on lines 57 to 59
hCounter_->setBinLabel(1, "all events");
hCounter_->setBinLabel(2, "ref tau found");
hCounter_->setBinLabel(3, "passed trg");
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
hCounter_->setBinLabel(1, "all events");
hCounter_->setBinLabel(2, "ref tau found");
hCounter_->setBinLabel(3, "passed trg");
if (hCounter_){
hCounter_->setBinLabel(1, "all events");
hCounter_->setBinLabel(2, "ref tau found");
hCounter_->setBinLabel(3, "passed trg");
}

I think this is necessary, at least with this the exception is removed.

Comment on lines 453 to 458
hCounter_->Fill(0.5);
if (refCollection.taus.size() > 0) {
hCounter_->Fill(1.5);
if (hltPath_.fired(triggerResults))
hCounter_->Fill(2.5);
}
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
hCounter_->Fill(0.5);
if (refCollection.taus.size() > 0) {
hCounter_->Fill(1.5);
if (hltPath_.fired(triggerResults))
hCounter_->Fill(2.5);
}
if(hCounter_) {
hCounter_->Fill(0.5);
if (refCollection.taus.size() > 0) {
hCounter_->Fill(1.5);
if (hltPath_.fired(triggerResults))
hCounter_->Fill(2.5);
}
}

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44613/39854

  • This PR adds an extra 40KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2024

Pull request #44613 was updated. @cmsbuild, @nothingface0, @rvenditti, @tjavaid, @syuvivida, @antoniovagnerini can you please check and sign again.

@mmusich
Copy link
Contributor

mmusich commented Apr 8, 2024

@cmsbuild, please test

@saumyaphor4252
Copy link
Contributor

urgent

  • Needed for data-taking
  • Backport to be included for the next 140X release

@cmsbuild cmsbuild added the urgent label Apr 8, 2024
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-042ac9/38677/summary.html
COMMIT: 17874ed
CMSSW: CMSSW_14_1_X_2024-04-08-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44613/38677/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 197 lines to the logs
  • Reco comparison results: 64 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3307717
  • DQMHistoTests: Total failures: 532
  • DQMHistoTests: Total nulls: 57
  • DQMHistoTests: Total successes: 3307108
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 1980.9569999999999 KiB( 47 files compared)
  • DQMHistoSizes: changed ( 1000.0 ): 5.757 KiB HLT/TAU
  • DQMHistoSizes: changed ( 12834.0,... ): 392.019 KiB HLT/TAU
  • DQMHistoSizes: changed ( 139.001 ): 3.699 KiB HLT/TAU
  • DQMHistoSizes: changed ( 141.042,... ): 131.790 KiB HLT/TAU
  • DQMHistoSizes: changed ( 4.22,... ): 2.685 KiB HLT/TAU
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@antoniovilela
Copy link
Contributor

@cms-sw/dqm-l2
Please have a look as soon as possible.
Thanks.

@saumyaphor4252
Copy link
Contributor

@slehti Can you also open the backport please.

@tjavaid
Copy link

tjavaid commented Apr 9, 2024

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 9, 2024

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

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit eb6a9ee into cms-sw:master Apr 9, 2024
11 checks passed
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