#include <Segmentation2D.h>
Public Member Functions | |
Segmentation2D (const fhicl::ParameterSet &p) | |
void | reconfigure (const fhicl::ParameterSet &p) |
std::vector< tss::Cluster2D > | run (tss::Cluster2D &inp) const |
void | splitHits (const std::vector< tss::Cluster2D > &inp, std::vector< const tss::Hit2D * > &trackHits, std::vector< const tss::Hit2D * > &emHits) const |
void | splitHitsNaive (const tss::Cluster2D &inp, std::vector< const tss::Hit2D * > &trackHits, std::vector< const tss::Hit2D * > &emHits) const |
void | splitHitsNaive (const std::vector< tss::Cluster2D > &inp, std::vector< const tss::Hit2D * > &trackHits, std::vector< const tss::Hit2D * > &emHits) const |
int | mergeClusters (std::vector< tss::Cluster2D > &group, const std::vector< size_t > &idxs) const |
Private Member Functions | |
void | run (tss::Cluster2D &inp, std::vector< tss::Cluster2D > &result, std::vector< TVector2 > ¢ers) const |
tss::Cluster2D | buildSegment (tss::Cluster2D &inp, TVector2 center, TVector2 end) const |
tss::Cluster2D | selectRing (const tss::Cluster2D &inp, TVector2 center) const |
void | tagDenseEnds (std::vector< tss::Cluster2D > &group) const |
void | mergeDenseParts (std::vector< tss::Cluster2D > &group) const |
bool | Cl2InsideCl1 (tss::Cluster2D &cl1, tss::Cluster2D &cl2) const |
Private Attributes | |
tss::SimpleClustering | fSimpleClustering |
double | fRadiusMin |
double | fRadiusMax |
double | fMaxLineDist |
double | fDenseVtxRadius |
double | fDenseHitRadius |
size_t | fDenseMinN |
size_t | fDenseMinH |
Definition at line 21 of file Segmentation2D.h.
|
inline |
Definition at line 25 of file Segmentation2D.h.
|
private |
Definition at line 107 of file Segmentation2D.cxx.
|
private |
Definition at line 462 of file Segmentation2D.cxx.
int tss::Segmentation2D::mergeClusters | ( | std::vector< tss::Cluster2D > & | group, |
const std::vector< size_t > & | idxs | ||
) | const |
Definition at line 330 of file Segmentation2D.cxx.
|
private |
Definition at line 234 of file Segmentation2D.cxx.
void tss::Segmentation2D::reconfigure | ( | const fhicl::ParameterSet & | p | ) |
Definition at line 15 of file Segmentation2D.cxx.
std::vector< tss::Cluster2D > tss::Segmentation2D::run | ( | tss::Cluster2D & | inp | ) | const |
Definition at line 28 of file Segmentation2D.cxx.
|
private |
Definition at line 53 of file Segmentation2D.cxx.
|
private |
Definition at line 166 of file Segmentation2D.cxx.
void tss::Segmentation2D::splitHits | ( | const std::vector< tss::Cluster2D > & | inp, |
std::vector< const tss::Hit2D * > & | trackHits, | ||
std::vector< const tss::Hit2D * > & | emHits | ||
) | const |
Definition at line 360 of file Segmentation2D.cxx.
void tss::Segmentation2D::splitHitsNaive | ( | const tss::Cluster2D & | inp, |
std::vector< const tss::Hit2D * > & | trackHits, | ||
std::vector< const tss::Hit2D * > & | emHits | ||
) | const |
Definition at line 386 of file Segmentation2D.cxx.
void tss::Segmentation2D::splitHitsNaive | ( | const std::vector< tss::Cluster2D > & | inp, |
std::vector< const tss::Hit2D * > & | trackHits, | ||
std::vector< const tss::Hit2D * > & | emHits | ||
) | const |
Definition at line 418 of file Segmentation2D.cxx.
|
private |
Definition at line 182 of file Segmentation2D.cxx.
|
private |
Definition at line 75 of file Segmentation2D.h.
|
private |
Definition at line 76 of file Segmentation2D.h.
|
private |
Definition at line 76 of file Segmentation2D.h.
|
private |
Definition at line 75 of file Segmentation2D.h.
|
private |
Definition at line 73 of file Segmentation2D.h.
|
private |
Definition at line 72 of file Segmentation2D.h.
|
private |
Definition at line 72 of file Segmentation2D.h.
|
private |
Definition at line 70 of file Segmentation2D.h.