Skip to content

Algorithm for copying a container of CaloHypo objects

Alex Pearce requested to merge apearce-calo-hypos-cloner into master

Usually, one would copy CaloHypo objects implicitly by copying ProtoParticle objects with the CopyProtoParticles algorithm, which copies all related objects (including CaloHypo). But it's not the case that all CaloHypo objects will be associated to at least one ProtoParticle a priori, so if you want to make sure that a CaloHypo container is copied completely you need an additional copy algorithm for CaloHypo objects . This MR adds such an algorithm.

(The concrete use-case is PersistReco in HLT2.)

/cc @rmatev @raaij @sstahl

Merge request reports