LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "SimpleClustering.h"
Public Member Functions | |
std::vector< tss::Cluster2D > | run (const std::vector< tss::Hit2D > &inp) const |
std::vector< tss::Cluster2D > | run (const tss::Cluster2D &inp) const |
bool | hitsTouching (const tss::Hit2D &h1, const tss::Hit2D &h2) const |
bool | hitsTouching (const tss::Cluster2D &c1, const tss::Hit2D &h2) const |
bool | hitsTouching (const tss::Cluster2D &c1, const tss::Cluster2D &c2) const |
Private Member Functions | |
void | merge (std::vector< tss::Cluster2D > &clusters) const |
Definition at line 122 of file SimpleClustering.h.
bool tss::SimpleClustering::hitsTouching | ( | const tss::Hit2D & | h1, |
const tss::Hit2D & | h2 | ||
) | const |
Definition at line 180 of file SimpleClustering.cxx.
References tss::Hit2D::EndTick(), tss::Hit2D::PeakTime(), tss::Hit2D::StartTick(), and tss::Hit2D::Wire().
Referenced by tss::Segmentation2D::buildSegment().
bool tss::SimpleClustering::hitsTouching | ( | const tss::Cluster2D & | c1, |
const tss::Hit2D & | h2 | ||
) | const |
Definition at line 196 of file SimpleClustering.cxx.
References tss::Cluster2D::size().
bool tss::SimpleClustering::hitsTouching | ( | const tss::Cluster2D & | c1, |
const tss::Cluster2D & | c2 | ||
) | const |
Definition at line 205 of file SimpleClustering.cxx.
References tss::Cluster2D::size().
|
private |
Definition at line 214 of file SimpleClustering.cxx.
References tss::Cluster2D::hits(), and tss::Cluster2D::size().
std::vector< tss::Cluster2D > tss::SimpleClustering::run | ( | const std::vector< tss::Hit2D > & | inp | ) | const |
Definition at line 240 of file SimpleClustering.cxx.
References tss::Cluster2D::merge(), and r.
Referenced by tss::TrackShowerHits::produce(), and tss::Segmentation2D::run().
std::vector< tss::Cluster2D > tss::SimpleClustering::run | ( | const tss::Cluster2D & | inp | ) | const |
Definition at line 262 of file SimpleClustering.cxx.
References tss::Cluster2D::hits(), tss::Cluster2D::merge(), r, and tss::Cluster2D::size().