Configurable truth containers for FTAG2
This adds the possibility to configure the truth particle container for associated truth particles. The truth container can be specified with the "container"
or ``"containers" key in the truth config block. The overlap-leptons.json
fragment has been updated to enable compatibility with FTAG2, which has `TruthMuons` and `TruthElectrons` but not the full `TruthParticles`. For more info about the TRUTH3 config, see https://twiki.cern.ch/twiki/bin/view/AtlasProtected/TruthDAOD#TRUTH3
Also updated the lepton OR removal to use the MCTC origin definition, rather than our custom isFromWZ
function (which is removed). This fixes a couple of situations where the current OR code failed, and we removed jets incorrectly:
- The overlapping lepton has barcode > 2e5.
- The overlapping lepton is from the decay of a D-hadron from W->cs.
A comparison of the number of OR rejected jets is below
in 100 ttbar events:
current TDD:
- killed by electron: 57
- killed by muon: 42
current TDD, with barcode < 2e5 check:
- killed by electron: 44
- killed by muon: 42
using MCTC origin (this MR):
- killed by electron: 43
- killed by muon: 40
Tagging @vdao @biliu @mguth @pgadow who should be aware of the OR changes.
Also closing #84 (closed)