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

Updates towards enabling deepTauID at HLT #35619

Merged
merged 5 commits into from Oct 18, 2021

Conversation

mbluj
Copy link
Contributor

@mbluj mbluj commented Oct 12, 2021

PR description:

This PR contains a set of changes needed to enable deepTauID at HLT:

  • Producer of PFTaus matched to L1 seeds (L1THLTTauMatching) updated to produce (depending on a python configuration argument) either PFTaus with all data members filled for further processing or "empty" PFTaus with only p4 and vertex information filled which is minimal information needed for filtering;
  • Added simpler (a more user-friendly) approach to define working points in deepTauBase;
  • Define default output values if a preselection in the deepTauID producer fails;
  • PFTauSelectorDefinition updated to handle outputs from the DeepTauID module and thus allow for filtering on deepTauID output;
  • The deepTauAtHLT.py customisation file updated to simulate a full di-tau paths with deepTauID for measurements needed before integration with an actual HLT menu. Module names in the customisation file adapted to not cause unwanted overlap with other paths/sequences; Implemented proper deepTauID working points for HLT which are a function of tau pt.

The PR is targeting 12_1_0 to allow tests and then integration with HLT for Run3.

PR validation:

The PR has been validated on top of 12_1_0_pre4:

  • DeepTauID modules have been run both for offline and online (with the two customisation functions) and run smoothly without unexpected surprises in the output. Results with standard workflows containing deepTauID (miniAOD) are expected to not change.

  • The following command has been run to perform tests, which all succeeded:

scram b distclean 
git cms-checkdeps -a -A
scram b -j 8
scram b runtests
runTheMatrix.py -l limited -i all --ibeos

if this PR is a backport please specify the original PR and why you need to backport that PR:

N/A

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35619/25891

  • This PR adds an extra 120KB to repository

  • Found files with invalid states:

    • RecoTauTag/RecoTau/plugins/CounterFilter.cc:
    • RecoTauTag/RecoTau/interface/CounterTuple.h:

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

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35619/25892

  • This PR adds an extra 212KB to repository

  • Found files with invalid states:

    • RecoTauTag/RecoTau/plugins/CounterFilter.cc:
    • RecoTauTag/RecoTau/interface/CounterTuple.h:

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • RecoTauTag/HLTProducers (hlt)
  • RecoTauTag/RecoTau (reconstruction)

@jpata, @missirol, @cmsbuild, @Martin-Grunewald, @slava77 can you please review it and eventually sign? Thanks.
@silviodonato, @mbluj, @swozniewski this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@Martin-Grunewald
Copy link
Contributor

please test

@missirol
Copy link
Contributor

@mbluj I left a couple of style suggestions inline.
I would suggest to squash the commits into one, to tidy up the history.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d694b0/19562/summary.html
COMMIT: 3a1f7a2
CMSSW: CMSSW_12_1_X_2021-10-12-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35619/19562/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: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2798082
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2798053
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@mbluj
Copy link
Contributor Author

mbluj commented Oct 13, 2021

@missirol - thank you for comments - I plan to work on them today. Concerning squashing the commits into one - I am not fan of this as tidying history means losing history. I can try to clear the history a bit, but I do not see big advantage of it.

@mbluj mbluj force-pushed the CMSSW_12_0_X_tau-pog_DeepTauAtHLT branch from 44d0e5c to b13a1b3 Compare October 18, 2021 08:40
@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35619/26022

  • This PR adds an extra 12KB to repository

  • Found files with invalid states:

@cmsbuild
Copy link
Contributor

Pull request #35619 was updated. @jpata, @missirol, @cmsbuild, @Martin-Grunewald, @slava77 can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d694b0/19708/summary.html
COMMIT: b13a1b3
CMSSW: CMSSW_12_1_X_2021-10-17-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/35619/19708/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: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 2751113
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2751085
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 39 files compared)
  • Checked 170 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@slava77
Copy link
Contributor

slava77 commented Oct 18, 2021

+reconstruction

for #35619 b13a1b3

  • code changes since the last reco signoff were outside of reco, in RecoTauTag/HLTProducers/python/deepTauAtHLT.py

@missirol
Copy link
Contributor

+hlt

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

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 59b5b6e into cms-sw:master Oct 18, 2021
@mbluj mbluj deleted the CMSSW_12_0_X_tau-pog_DeepTauAtHLT branch October 10, 2023 10:09
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