9 #ifndef Segmentation2D_h 10 #define Segmentation2D_h 28 , fDenseVtxRadius(1.0)
29 , fDenseHitRadius(5.0)
40 void splitHits(
const std::vector<tss::Cluster2D>& inp,
41 std::vector<const tss::Hit2D*>& trackHits,
42 std::vector<const tss::Hit2D*>& emHits)
const;
45 std::vector<const tss::Hit2D*>& trackHits,
46 std::vector<const tss::Hit2D*>& emHits)
const;
48 void splitHitsNaive(
const std::vector<tss::Cluster2D>& inp,
49 std::vector<const tss::Hit2D*>& trackHits,
50 std::vector<const tss::Hit2D*>& emHits)
const;
52 int mergeClusters(std::vector<tss::Cluster2D>& group,
const std::vector<size_t>& idxs)
const;
56 std::vector<tss::Cluster2D>& result,
57 std::vector<TVector2>& centers)
const;
62 void tagDenseEnds(std::vector<tss::Cluster2D>& group)
const;
63 void mergeDenseParts(std::vector<tss::Cluster2D>& group)
const;
Trivial, collect hits "touching" each other (next wire or consecutive ticks), plus Cluster2D class to...
decltype(auto) constexpr end(T &&obj)
ADL-aware version of std::end.
Segmentation2D(const fhicl::ParameterSet &p)
tss::SimpleClustering fSimpleClustering