I noticed that the DV tutorial tutorial5_mctruth.py generate a tuple with invalid branch contents. In particular the branches with the mc truth information X_TRUEP and X_TRUEID are not filled correctly since their value are always nan and 0, respectively.
The corresponding test pass, since it checks only if the tuple is not empty.
The idea is to fix the tutorial in order to have a working example and also improve the DV tests checking not only if the final tuple is filled but also the checking the validity of the values in the .root file.
Edited
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
It is strange because this was not the case before i.e. we did a successful starter-kit lesson with these samples. So something has changed since that has broken this. My suggestions was to indeed look into values of observables for DV testing.
Nice! I did not check the long MR - does the to-do above "The idea is to fix the tutorial in order to have a working example and also improve the DV tests checking not only if the final tuple is filled but also the checking the validity of the values in the .root file." get fixed? Then great.
Apologies, this seems to be my fault again. configured_MCTruthAndBkgCatAlgneeds to know the options.process. Default is Spruce so it looks for the relations at the wrong place. I will commit a fix ASAP.