Fix error in AllenCaloToCaloClusters due to calo cluster with duplicated neighbors
Some calo clusters are created with duplicated digits. This causes the AllenCaloToCaloClusters
converter to crash. As a workaround, I check whether duplicated neighbor cells exist and if so, mark the cluster as invalid. A follow up issue should investigate this.
Also includes a fix to incorrect usage of std::move() and some cleanup.
Needed by Moore!1270 (merged)
Edited by Lucas Meyer Garcia