LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 121 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 200 of file SimpleClustering.cxx.
References tss::Cluster2D::size().
bool tss::SimpleClustering::hitsTouching | ( | const tss::Cluster2D & | c1, |
const tss::Cluster2D & | c2 | ||
) | const |
Definition at line 210 of file SimpleClustering.cxx.
References tss::Cluster2D::size().
|
private |
Definition at line 220 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 249 of file SimpleClustering.cxx.
References tss::Cluster2D::merge().
Referenced by tss::TrackShowerHits::produce(), and tss::Segmentation2D::run().
std::vector< tss::Cluster2D > tss::SimpleClustering::run | ( | const tss::Cluster2D & | inp | ) | const |
Definition at line 272 of file SimpleClustering.cxx.
References tss::Cluster2D::hits(), tss::Cluster2D::merge(), and tss::Cluster2D::size().