TrigInDetValidation Tau Test: Add selection of truth tracks using parent pdgId
Re-implement ability to select truth tracks using parent pdgId in AnalysisConfigMT_Ntuple.cxx. ATR-24712
The code currently looks for McEventCollection::TruthEvent that is not in the AOD. However the parent information is available in the TruthParticleCollection.
- Add Property SelectParentTruthPdgId to TrigTestMonToolAC.cxx
- Create a TrigInDetTrackSelector instance in AnalysisConfigMT_Ntuple.cxx with the parentPdgId
- Use this to select truth tracks in TrigTrackSelector.cxx
- specify the tau pdgId in the tau test test_trigID_tau_ztautau_pu46.py
Tested with runTrigART.py and test_trigID_tau_ztautau_pu46.py
tagging @sutt for comments