21 auto it =
hits.rbegin();
22 while (it !=
hits.rend() && (*it)->time >= h->
time) {
30 if (it ==
hits.rend() || *it != h) {
31 hits.insert(it.base(), h);
38 reset(_time, _chan, _prim);
std::vector< Hit * > hits
float euclidean_distance_sqr(const Hit &p, const Hit &q)
bool add_potential_neighbour(Hit *other, float eps, int minPts)
triggeralgs::TriggerPrimitive primitive
Hit(float _time, int _chan, const triggeralgs::TriggerPrimitive *_prim=nullptr)
void reset(float _time, int _chan, const triggeralgs::TriggerPrimitive *_prim=nullptr)
Connectedness connectedness