[Phase-2 HLT] Add hltHpsPFTau table to HLT Nano#48295
[Phase-2 HLT] Add hltHpsPFTau table to HLT Nano#48295cmsbuild merged 4 commits intocms-sw:masterfrom
Conversation
|
cms-bot internal usage |
|
FYI also @elenavernazza @mmusich - maybe you have an idea how to append the deepTau scores? |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48295/45147 |
mmusich
left a comment
There was a problem hiding this comment.
just some comment for the code that actually works.
For the missing ValueMap, in order to have it, that would require some modifications to the DeepTauId producer (as we did for b-tagging in this commit 97037fa). Elena will provide more insight.
Hi @artlbv Thank you for this useful development! After having a look, it seems like the deepTau scores are filled in the One would need to change the Please let me know in case more information is needed. |
|
test parameters:
|
|
thanks for the insight @mmusich @elenavernazza ! I tried the same with Taus using btw, I also tried just saving the deepTau score in a separate table using from PhysicsTools.NanoAOD.globalVariablesTableProducer_cfi import globalVariablesTableProducer
deepTauTable = globalVariablesTableProducer.clone(
name = cms.string("L1Ttopo"),
variables = cms.PSet(
bdtScore = ExtVar( cms.InputTag("hltHpsPFTauDeepTauProducer","VSjet"),"float", doc="DeepTau VsJet score" ),
),
) but it did not work: |
|
A new Pull Request was created by @artlbv for master. It involves the following packages:
@Martin-Grunewald, @cmsbuild, @mmusich can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
|
@artlbv before starting tests, please address the comments above: #48295 (review). |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48295/45168
|
|
Pull request #48295 was updated. @Martin-Grunewald, @cmsbuild, @mmusich can you please check and sign again. |
|
@mmusich I cleaned up the code. |
I would suggest you to run twice on the same input files, one with the PR and one without. |
|
@cmsbuild, please test |
ah that makes sense! how does this work for other objects then? are there always electrons, muons, jets in all events? it seems to me the scouting and "normal" sequences are almost identical modulo the trigger selection. |
I am starting to realize that it works "by accident". @elenavernazza is taking a look. |
|
Yes I confirm the HLTNanoProducer was working "by accident". So far, we were not noticing this issue since all the objects that were used in the NanoTables (tracks, jets, b-jets, e-gamma, muons) are by coincidence also reconstructed in the MC paths, while HPS taus are not part of these. So in the example above, the event with a high-energy muon would anyway go through the full reconstruction of tracks, jets, b-jets, e-gamma that are contained in the MC paths (MC_BTV, MC_Ele5_Open_L1Seeded, MC_Ele5_Open_Unseeded, MC_JME). We will think about a solution not to make this happen. And thanks again for noticing this issue! |
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48295/45256 |
|
Pull request #48295 was updated. @Martin-Grunewald, @cmsbuild, @mmusich can you please check and sign again. |
|
@cmsbuild, please test |
|
+1 Size: This PR adds an extra 20KB to repository Comparison SummarySummary:
|
|
+hlt
|
|
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. @antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy (and backports should be raised in the release meeting by the corresponding L2) |
|
+1 |
PR description:
This adds the hltHpsPFTau objects to the HLT Nano introduced in #48091
This is based on the HLT nano ntupler config from the Tau POG and the central tau nano.
One thing I did not manage to add are the DeepTau scores. I tried the same approach as done for the Btagging scores of PFJets using
ExtVar, but CMSSW complains it cannot find the collection"hltHpsPFTauDeepTauProducer","VSjet"despite this being produced in the HPSTau HLT path. I left the code commented for review/testing.Apart from the DeepTau score the rest works fine!
FYI @brallmond @kandrosov
PR validation:
Tested with the HLT nano commands.
I first produced a new FEVT file with re-run L1:
and then ran the HLT nano:
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:
No backport needed.