Reintroduce possibility to check parent status in xAODtoVVDecayFilter
This MR re-introduces one feature of the xAODtoVVDecayFilter that was removed in this commit f797a1ce, breaking all the HZZ to 4 leptons with taus job options (DSIDs 601582-601588).
The current implementation of the filter returns always 0 on these samples as it checks the parent of the final state particles to be status 2. In the past this allowed to check also other intermediate statuses in the generation. This MR introduces the possibility to use the old behaviour.
In attachment:
- a log file with the current Athena implementation, which shows that the filter efficiency becomes 0 with the JO for the HZZ to 4 leptons including tau decays log.generate.23p6p40
- a log file that shows the adjusted behaviour once the old option is introduced back in the code log.generate.UseParentStatusTrue
If the option UseParentStatus is not set, then it is by default false, as checked in an independent generation, so this modification does not change the behaviour of JOs written in the time frame between the option was removed and when this MR will be merged.
Cheers, Guglielmo
fyi @sabidi