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);
void merge(const RPCCluster &cl)
RPCClusterContainer doAction(const RPCDigiCollection::Range &digiRange)
std::pair< const_iterator, const_iterator > Range
std::set< RPCCluster > RPCClusterContainer
bool isAdjacent(const RPCCluster &cl) const