Track truth origin full pile-up truth
The InDetTrackTruthOriginTool
used to assign the trackTruthOrigin assumes that tracks from pile-up do not have any truthParticle
associated. While this is true in standard samples, for full pile-up truth samples, such as some used for Run-4 studies, pile-up tracks have their truth record saved so this criterion cannot be used to identify them.
This MR introduces a more robust criterion to identify pile-up tracks in case full pile-up truth samples are used, checking whether the associated truth record is among the truthParticle
associated to the hard-scatter event.
The CA config for the relevant tool is introduced and propagated to clients which already have their CA tool set up, in particular the FTAG TrackTruthDecoratorAlg
.