Update tagging array qmtest including mctruth infos
Update the test_davinci_tupling_array_taggers
qmtest adding a few lines showing how to store the mctruth information related to the extra particles in the event, beside the ones in the decay chain.
In order to retrieve correctly the mctruth information, the input file has changed and the reference has been updated accordingly.
Two default values has to be defined in order to ensure a valid result if the functor's output is empty:
- in case of functors returning an integer/bool or an array of integers/bools, as
TRUEID
orTagTr_TRUEID[nTags]
; - inside the
MAP_INPUT_ARRAY
when the inner functor is defined via lambda function, asMCTRUTH_pions
.
For example:
"TagTr_TRUEID[nTags]":
F.VALUE_OR([0]) @ F.MAP_INPUT_ARRAY(
Functor=F.VALUE_OR(0) @ MCTRUTH_pions(F.PARTICLE_ID),
Relations=tagAlg_rels),
Needs Rec!3139 (merged).
Merge request reports
Activity
assigned to @dfazzini
@pkoppenb I think this MR is ready to be tested, it's a simple update of a single qmtest.
- Resolved by Eduardo Rodrigues
- Resolved by Eduardo Rodrigues
- Resolved by Eduardo Rodrigues
You mention in the header the bug reported by @amathad in issue Rec#385 (closed). It would have been ideal to have the latter sorted to avoid temporary workarounds. Can you 2 folks press RTA WP3 coordinators to get issue Rec#385 (closed) sorted asap? In general framework bugs should be prioritised in my opinion. Please @mvesteri and @poluekt can you look and act? Many thanks.
Morning @dfazzini. Very nice and useful update this is. I posted a couple of trivial suggestions. I am already approving as I'm asking for doc. Feel free to trigger the CI when ready since Patrick is rather unavailable today.
mentioned in issue Rec#385 (closed)
@dfazzini : I hope this MR Rec!3139 (merged) fixes the issue. Can you please introduce a dependency on that and check if it works?
Edited by Abhijit Mathadmentioned in merge request Rec!3139 (merged)
added 1 commit
- 03924ec9 - add comment about definition of default values