9 #ifndef Segmentation2D_h
10 #define Segmentation2D_h
12 namespace fhicl {
class ParameterSet; }
37 const std::vector< tss::Cluster2D > & inp,
38 std::vector< const tss::Hit2D* > & trackHits,
39 std::vector< const tss::Hit2D* > & emHits)
const;
43 std::vector< const tss::Hit2D* > & trackHits,
44 std::vector< const tss::Hit2D* > & emHits)
const;
47 const std::vector< tss::Cluster2D > & inp,
48 std::vector< const tss::Hit2D* > & trackHits,
49 std::vector< const tss::Hit2D* > & emHits)
const;
52 std::vector< tss::Cluster2D > &
group,
53 const std::vector< size_t > & idxs)
const;
59 std::vector< tss::Cluster2D > & result,
60 std::vector< TVector2 > & centers)
const;
int mergeClusters(std::vector< tss::Cluster2D > &group, const std::vector< size_t > &idxs) const
void mergeDenseParts(std::vector< tss::Cluster2D > &group) const
void splitHitsNaive(const tss::Cluster2D &inp, std::vector< const tss::Hit2D * > &trackHits, std::vector< const tss::Hit2D * > &emHits) const
tss::Cluster2D selectRing(const tss::Cluster2D &inp, TVector2 center) const
void reconfigure(const fhicl::ParameterSet &p)
bool Cl2InsideCl1(tss::Cluster2D &cl1, tss::Cluster2D &cl2) const
auto end(FixedBins< T, C > const &) noexcept
std::vector< tss::Cluster2D > run(tss::Cluster2D &inp) const
tss::Cluster2D buildSegment(tss::Cluster2D &inp, TVector2 center, TVector2 end) const
Segmentation2D(const fhicl::ParameterSet &p)
void tagDenseEnds(std::vector< tss::Cluster2D > &group) const
tss::SimpleClustering fSimpleClustering
void splitHits(const std::vector< tss::Cluster2D > &inp, std::vector< const tss::Hit2D * > &trackHits, std::vector< const tss::Hit2D * > &emHits) const