9 #ifndef Segmentation2D_h 10 #define Segmentation2D_h 35 const std::vector< tss::Cluster2D > & inp,
36 std::vector< const tss::Hit2D* > & trackHits,
37 std::vector< const tss::Hit2D* > & emHits)
const;
41 std::vector< const tss::Hit2D* > & trackHits,
42 std::vector< const tss::Hit2D* > & emHits)
const;
45 const std::vector< tss::Cluster2D > & inp,
46 std::vector< const tss::Hit2D* > & trackHits,
47 std::vector< const tss::Hit2D* > & emHits)
const;
50 std::vector< tss::Cluster2D > & group,
51 const std::vector< size_t > & idxs)
const;
57 std::vector< tss::Cluster2D > & result,
58 std::vector< TVector2 > & centers)
const;
63 void tagDenseEnds(std::vector< tss::Cluster2D > & group)
const;
int mergeClusters(std::vector< tss::Cluster2D > &group, const std::vector< size_t > &idxs) const
Trivial, collect hits "touching" each other (next wire or consecutive ticks), plus Cluster2D class to...
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
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
std::vector< evd::details::RawDigitInfo_t >::const_iterator end(RawDigitCacheDataClass const &cache)
void splitHits(const std::vector< tss::Cluster2D > &inp, std::vector< const tss::Hit2D * > &trackHits, std::vector< const tss::Hit2D * > &emHits) const