Skip to content

Configure CALO object cloners to have consistent behaviour

Alex Pearce requested to merge apearce-mc-calo-cloning into 2017-patches

By default, the CaloCluster and CaloHypo cloners do not treat charged and neutral particles consistently. The CaloHypoCloner clones clusters and digits for neutrals but not for charged, whereas the CaloClusterCloner nevers clones digits.

This MR configures both cloners to copy clusters and digits for neutrals.

Edit: The following will be done in another MR

What remains to be done is to use Phys!214 (merged) for PersistReco cloning. Right now, a 'feature' of the CALO cloners is that the association to some parent Particle is required to determine whether clusters and digits in the dependency tree are cloned. In PersistReco, we clone whole containers, so there is no association to any 'parent' object, and so the dependency tree is not copied. Supporting this will require something similar to Phys!125 (merged), but for the two CALO cloners.

Edited by Rosen Matev

Merge request reports