Unify jet hit association pipelines
This MR is a follow up to Dan's MR !959 (merged) which laid the ground work for a unified pipeline in jet hit association between hit writing and inference. Relates to issue #178.
Description
Currently in the TDD, there is the HitWriter routine for performing the jet hit association and a selection on clean hits and writing the hits to an h5 file. In case of inference, there is a JetHitAssociationAlg used which does not yield the same results for association as the written one --> replace the HitWriter, add ca blocks which perform the same tasks
Plan for the JetHitAssociation block:
-
add CleanHitDecoratorAlgwhich replaces thecleanHitsfunction of theHitWriter, apply to both Pixel and SCT container -
add the right variables to both container using HitDecoratorAlg -
apply the JetHitAssociationAlgfrom Athena as it is right now (using all hits) to both containers -
new Alg that concatenates the two element links from SCT and Pixel and performs the selection (reject bad hits, keep only maxHitshits) -
calculate jabvariables in custom consumer
--> after the block, write out hits based on the combined element link
Review checklist:
-
CI Passing -
Comments addressed -
Source branch is up to date with target
Edited by Theresa Reisch