Use SubstitutePID rather than ParticleCombiner for making combinations for SLB isolation tool
There was a flaw in our methodology for applying the iso MVA before, the old methodology was this:
- Find all child particles from the ground-state line (e.g. in , this would be theand the
- Reconstruct those into a flightless parent (typically a )
- Combine that parent with all other pions in the decay and evaluate the MVA on those combinations
This is flawed for the case of multiple candidates. For example, if step 1 finds two decays, that's two
The new methodology is therefore:
- Find the parent(s) from the line
- convert the species of that parent to be flightless (again a )
- as above
This has the added benefit of a higher throughput (sprucing throughput appears to increase globally by about 12%)
Now it appears that fewer combinations are made, however, this is just due to the false combinations being excluded. I attach the overlaid plots showing the MVA input and output distributions before and after the fix (red for before, blue for after).
Since the distributions are very heavily background dominated, and what we have removed is also background-dominated. It appears in these plots as just a scaling-down across the board.
Furthermore, we believe that the method we used to generate our tuples for the training didn't have this bug - and thus we do not need to retrain the models.
Replaces !3292 (closed)
This also integrates !3696 (closed), which fixes a bug in the calculation of Delta R
MR is dependent on: lhcb-datapkg/ParamFiles!106 (merged)
Merge request reports
Activity
requested review from @amathad
added 2 commits
- Resolved by Andy Morris
/ci-test --platforms=x86_64_v3-el9-gcc13+detdesc-opt+g --model lhcb-2024-patches
added ci-test-triggered label
- [2024-07-16 22:18] Validation started with lhcb-2024-patches-mr#1035
- [2024-07-17 14:08] Validation started with lhcb-2024-patches-mr#1042
- [2024-07-18 16:19] Validation started with lhcb-2024-patches-mr#1054
- [2024-07-22 12:13] Validation started with lhcb-2024-patches-mr#1072
- [2024-07-22 12:28] Validation started with lhcb-2024-patches-mr#1074
- [2024-07-22 13:10] Validation started with lhcb-2024-patches-mr#1077
Edited by Software for LHCbadded hlt2-throughput-decreased label
- Resolved by Andy Morris
Hi @nskidmor as promised, by changing the methodology used by the isolation MVA we've been able to increase sprucing throughput. However I'm not sure how much I can trust the above test since it also says we've decreased HLT2 throughput by 13% and this shouldn't touch HLT2...
@rjhunter or @lugrazet are you able to comment?
Bandwidth is unaffected, I was expecting a very small decrease in sprucing bandwidth however maybe it's just too small to register on this test (a small bug was fixed that would save too many pions in the event of multiple candidates)
- Resolved by Andy Morris
- Resolved by Andy Morris
- Resolved by Andy Morris
- Resolved by Andy Morris
- Resolved by Andy Morris
@anmorris : Thanks for this. I have left some questions/comments. Please go ahead with testing/merging once fixed.
added 2 commits
Hi @chenjia , I believe turning off the debug statements may fix a lot of the failing ci-tests but I can't be sure. I also think Luke's suggestion of rerunning the ci-test may be good anyway. Please could you do that?
Same again:
ci-test --platforms=x86_64_v3-el9-gcc13+detdesc-opt+g --model lhcb-2024-patches
- Resolved by Andy Morris
/ci-test --platforms=x86_64_v3-el9-gcc13+detdesc-opt+g --model lhcb-2024-patches