10 for (
auto digi = digiRange.first; digi != digiRange.second; ++digi) {
13 cl.addTime(digi->time());
15 cl.addY(digi->coordinateY());
16 initialCluster.insert(
cl);
18 if (initialCluster.empty())
26 for (
auto cl =
std::next(initialCluster.begin());
cl != initialCluster.end(); ++
cl) {
32 finalCluster.insert(prev);
38 finalCluster.insert(prev);
CPPFClusterContainer doAction(const RPCDigiCollection::Range &digiRange)
std::set< CPPFCluster > CPPFClusterContainer
void merge(const CPPFCluster &cl)
bool isAdjacent(const CPPFCluster &cl) const
std::pair< const_iterator, const_iterator > Range