10 template <
typename SpacePo
int>
12 size_t phiBin,
size_t zBin,
14 std::set<size_t> neighbourBins =
22 neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin - 1}));
23 neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin - 1}));
24 neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin - 1}));
26 neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin, zBin + 1}));
27 neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin - 1, zBin + 1}));
28 neighbourBins.erase(binnedSP->getGlobalBinIndex({phiBin + 1, zBin + 1}));