Skip to content

Use unique_ptr for the owned links of the CaloCluster.

  • Use unique_ptr for the owned links of the CaloCluster. Replace m_cellLinks and m_ownCellLinks with a unique_ptr as at the end the semantics seem the same.

  • Be explicit on when only non-const and owned links can be returned i.e getOwnCellLinks.

  • vs const cells links that can be either owned by the cluster or from a collection getCellLinks.

Edited by Christos Anastopoulos

Merge request reports