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

Adding Online-Vs-Offline Track-level monitoring to DQM for BTV@HLT #30366

Merged
merged 4 commits into from
Jul 22, 2020

Conversation

johnalison
Copy link
Contributor

PR description:

Adding Relative Online-Offline Track Efficiencies and Fake rates to the BTVHLTOffline DQM Monitoring

This commit:

  • Adds 16 histograms in BTVHLTOfflineSource: 2 (efficiencies and fake rates) x 4 variables (pt / eta / ip3d / ip3dSig) x 2 (numerator / denominator)
  • Adds logic to retrieve online and offline tracks and fill numerator/denominator hists
  • Adds Harvesting configuration to make the ratios

To the products needed in the step2 input I add the following output lines to HLTDebugFEVT
in HLTrigger/Configuration/python/HLTrigger_EventContent_cff.py
(This change in NOT included in this commit)

  •    'keep *_hltImpactParameterTagInfos_*_*',
    
  •    'keep *_hltDeepBLifetimeTagInfosPF_*_*',
    
  •    'keep *_hltDeepSecondaryVertexTagInfosPF_*_*',
    
  •    'keep *_hltInclusiveSecondaryVertexFinderTagInfos_*_*',
    
  •    'keep *_hltMergedTracksForBTag_*_*',
    
  •    'keep *_hltFastPixelBLifetimeL3Associator_*_*',
    

PR validation:

Standard runTheMaxtrix and look at the DQM plots produced

…e BTVHLTOffline DQM Monitoring

This commit:
  - Adds 16 histograms in BTVHLTOfflineSource:  2 (efficencies and fake rates) x 4 variables (pt / eta / ip3d / ip3dSig) x 2 (numerator / denominator)
  - Adds logic to retrieve online and offline tracks and fill numerator/denominator hists
  - Adds Harvesting configuration to make the ratios

To the products needed in the step2 input I add the following output lines to HLTDebugFEVT
in HLTrigger/Configuration/python/HLTrigger_EventContent_cff.py
(This change in NOT included in this commit)
+        'keep *_hltImpactParameterTagInfos_*_*',
+        'keep *_hltDeepBLifetimeTagInfosPF_*_*',
+        'keep *_hltDeepSecondaryVertexTagInfosPF_*_*',
+        'keep *_hltInclusiveSecondaryVertexFinderTagInfos_*_*',
+        'keep *_hltMergedTracksForBTag_*_*',
+        'keep *_hltFastPixelBLifetimeL3Associator_*_*',
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30366/16423

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

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30366/16425

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @johnalison (John Alison) for master.

It involves the following packages:

DQMOffline/Trigger

@andrius-k, @kmaeshima, @schneiml, @cmsbuild, @jfernan2, @fioriNTU can you please review it and eventually sign? Thanks.
@missirol, @mtosi, @Fedespring, @calderona, @HuguesBrun, @jhgoh, @cericeci, @trocino, @folguera, @rociovilar this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

"HLT/BTV/HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_PFDiJet30_PFBtagDeepCSV_1p5*",
"HLT/BTV/HLT_Mu8_TrkIsoVVL_Ele23_CaloIdL_TrackIdL_IsoVL_DZ_CaloDiJet30_CaloBtagDeepCSV_1p5*",
"HLT/BTV/HLT_PFHT400_SixPFJet32_DoublePFBTagDeepCSV_2p94*",
),
Copy link
Contributor

Choose a reason for hiding this comment

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

if you run this code on the HLTMonitor PD, we should make sure that not only the relevant collections are stored, but also the PD needs to be populated by the needed HLT paths

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Mia,

How can I check this ? (BTW What does PD mean here ? )

@jfernan2
Copy link
Contributor

@johnalison If you are developing code for BTV, could you please add yourself along with your git username in the comments to the corresponding e-group in
https://twiki.cern.ch/twiki/bin/viewauth/CMS/DQMContacts#B_Physics
for further contact?
Thanks

@johnalison
Copy link
Contributor Author

@jfernan2 Done

@jfernan2
Copy link
Contributor

jfernan2 commented Jun 25, 2020

Thanks @johnalison

The comment by @mtosi is quite important: you should make sure the Primary Datasets you plan to use contain the HLT paths you want to monitor, and at present only GRun HLT Menu is used in Run3/Phase2 workflows/samples
Which workflows did you use to validate this PR with runTheMatrix?

Regarding which HLT Menu/conditions are being run please have a look at the following config files:
https://github.com/cms-sw/cmssw/blob/832adca964762d9156d6c9090ff7986b18c61041/Configuration/HLT/python/autoCondHLT.py
https://github.com/cms-sw/cmssw/blob/14873dd0c2c0ed7294dfdb4840155fa1ad865df8/Configuration/HLT/python/autoHLT.py

@johnalison
Copy link
Contributor Author

@jfernan2 I subscribed to

  • HLT Validation Expert and
  • HLT DQM And Validation Code Developers

Looks like these are "Waiting approval" in the e-groups system

Waiting for approval

@johnalison
Copy link
Contributor Author

johnalison commented Jun 25, 2020

@jfernan2 I have not thought at all about which Primary Datasets to use.

These changes only add histograms to the modules that are already being run. The HLT paths being monitored are unchanged, so I assume there is no problem here.
(Sorry this is the first time Im making a DQM change so maybe Im missing something ....)

I developed/tested the code with:

runTheMatrix.py -l 11634

@jfernan2
Copy link
Contributor

please test
Thanks @johnalison

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 25, 2020

The tests are being triggered in jenkins.

@jfernan2
Copy link
Contributor

please test with #30833
Crash seems unrelated

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 21, 2020

The tests are being triggered in jenkins.
Tested with other pull request(s) #30833

@cmsbuild
Copy link
Contributor

+1
Tested at: 525c6de
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9aecf1/8162/summary.html
CMSSW: CMSSW_11_2_X_2020-07-20-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9aecf1/8162/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2525994
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 9
  • DQMHistoTests: Total successes: 2525933
  • DQMHistoTests: Total skipped: 47
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 44.66 KiB( 33 files compared)
  • DQMHistoSizes: changed ( 10224.0 ): 0.004 KiB MessageLogger/Warnings
  • DQMHistoSizes: changed ( 11634.0,... ): 22.328 KiB HLT/BTV
  • Checked 144 log files, 17 edm output root files, 34 DQM output files

@jfernan2
Copy link
Contributor

+1
Plots now correctly filled

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

@silviodonato
Copy link
Contributor

+1
(#30833 already merged)

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