Skip to content

Add Particle to RelatedInfo cloner needed for Turbo processing

Alex Pearce requested to merge apearce-lbhlt-421 into 2018-patches

Add the CopyParticle2RelatedInfoFromLinePersistenceLocations algorithm, which is necessary for us to clone Particle to RelatedInfo maps in Moore and Tesla. Part of LBHLT-421.

Rather than writing a whole new algorithm, I've only derived from the CopyParticle2RelatedInfo class and then overriden the MicroDSTAlgorithm::inputTESLocations method. This is because the parent RelationsFromParticleLocationsFromClonerAlg algorithm, which does the heavy lifting, calls inputTESLocations to know which locations to clone, which is exactly the behaviour we need to override in Moore.

Sorry for targeting 2017-patches; I'm working with that locally and it seems the various cherry-picks mean I can't target 2018-patches cleanly. Please also port these commits to 2018-patches. (I can fixup and target 2018-patches myself if that's preferred.) Now targets 2018-patches. /cc @rmatev @sstahl

Edited by Alex Pearce

Merge request reports