Add a new PMGDecayProductsSelectionTool to PMGTools
Maybe I'm mistaken but there has never been a nice way to dump TRUTH0
/TRUTH3
to flat ntuples. I started porting my code to the CP algorithms and this is the first step which can also be used in standard jobs. Although this MR for now only contains one tool I plan to add more:
- a tool to select by PDG ID
- an algorithm to decorate parent and child information
The PMGDecayProductsSelectionTool
selects particles if they satisfy the following requirements:
- they originate from one of the required initial particles
- they only decay through an allowed list of particles (optional)
/cc @lcorpe
Edited by Tadej Novak