9 #ifndef Segmentation2D_h 10 #define Segmentation2D_h 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;
65 void tagDenseEnds(std::vector< tss::Cluster2D > & group)
const;
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
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
void splitHits(const std::vector< tss::Cluster2D > &inp, std::vector< const tss::Hit2D * > &trackHits, std::vector< const tss::Hit2D * > &emHits) const