HoughSeedFinderAlg class. More...
#include <HoughSeedFinderAlg.h>
Classes | |
class | AccumulatorBin |
struct | SortBinIndexList |
class | SortHoughClusterList |
Public Member Functions | |
HoughSeedFinderAlg (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
virtual | ~HoughSeedFinderAlg () |
Destructor. More... | |
virtual void | reconfigure (fhicl::ParameterSet const &pset) |
a handler for the case where the algorithm control parameters are to be reset More... | |
virtual bool | findTrackSeeds (reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, SeedHitPairListPairVec &seedHitPairVec) const |
Given the list of hits this will search for candidate Seed objects and return them. More... | |
virtual bool | findTrackHits (reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, reco::HitPairListPtrList &hitPairListPtrList) const |
Given the list of hits this will return the sets of hits which belong on the same line. More... | |
HoughSeedFinderAlg (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
bool | findTrackSeeds (reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, SeedHitPairListPairVec &seedHitPairVec) const override |
Given the list of hits this will search for candidate Seed objects and return them. More... | |
bool | findTrackHits (reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, reco::HitPairListPtrList &hitPairListPtrList) const |
Given the list of hits this will return the sets of hits which belong on the same line. More... | |
Private Types | |
typedef std::pair< int, int > | BinIndex |
typedef std::map< BinIndex, AccumulatorBin > | RhoThetaAccumulatorBinMap |
typedef std::list< BinIndex > | HoughCluster |
typedef std::list< HoughCluster > | HoughClusterList |
typedef std::pair< int, int > | BinIndex |
typedef std::map< BinIndex, AccumulatorBin > | RhoThetaAccumulatorBinMap |
typedef std::list< BinIndex > | HoughCluster |
typedef std::list< HoughCluster > | HoughClusterList |
Private Member Functions | |
void | findHitGaps (reco::HitPairListPtr &inputHitList, reco::HitPairListPtr &outputList) const |
Using Principal Components Axis, look for gaps in a list of 3D hits. More... | |
void | HoughRegionQuery (BinIndex &curBin, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, HoughCluster &neighborPts, size_t threshold) const |
void | expandHoughCluster (BinIndex &curBin, HoughCluster &neighborPts, HoughCluster &houghCluster, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, size_t threshold) const |
void | findHoughClusters (const reco::HitPairListPtr &inputHits, reco::PrincipalComponents &pca, int &nLoops, RhoThetaAccumulatorBinMap &rhoThetaMap, HoughClusterList &clusterList) const |
bool | buildSeed (reco::HitPairListPtr &seed3DHits, SeedHitPairListPair &seedHitPair) const |
Given a list of candidate "seed" 3D hits, build the seed and get associated unique 2D hits. More... | |
void | LineFit2DHits (std::set< const reco::ClusterHit2D * > &hitList, double XOrigin, TVector3 &Pos, TVector3 &Dir, double &ChiDOF) const |
void | findHitGaps (reco::HitPairListPtr &inputHitList, reco::HitPairListPtr &outputList) const |
Using Principal Components Axis, look for gaps in a list of 3D hits. More... | |
void | HoughRegionQuery (BinIndex &curBin, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, HoughCluster &neighborPts, size_t threshold) const |
void | expandHoughCluster (BinIndex &curBin, HoughCluster &neighborPts, HoughCluster &houghCluster, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, size_t threshold) const |
void | findHoughClusters (const reco::HitPairListPtr &inputHits, reco::PrincipalComponents &pca, int &nLoops, RhoThetaAccumulatorBinMap &rhoThetaMap, HoughClusterList &clusterList) const |
bool | buildSeed (reco::HitPairListPtr &seed3DHits, SeedHitPairListPair &seedHitPair) const |
Given a list of candidate "seed" 3D hits, build the seed and get associated unique 2D hits. More... | |
void | LineFit2DHits (std::set< const reco::ClusterHit2D * > &hitList, double XOrigin, TVector3 &Pos, TVector3 &Dir, double &ChiDOF) const |
Private Attributes | |
size_t | m_minimum3DHits |
int | m_thetaBins |
int | m_rhoBins |
size_t | m_hiThresholdMin |
double | m_hiThresholdFrac |
double | m_loThresholdFrac |
size_t | m_numSeed2DHits |
double | m_numAveDocas |
int | m_numSkippedHits |
int | m_maxLoopsPerCluster |
double | m_maximumGap |
geo::Geometry * | m_geometry |
PrincipalComponentsAlg | m_pcaAlg |
bool | m_displayHist |
std::vector< std::unique_ptr< TCanvas > > | m_Canvases |
Graphical trace canvases. More... | |
std::vector< TVirtualPad * > | m_Pads |
View pads in current canvas. More... | |
geo::Geometry const * | m_geometry |
HoughSeedFinderAlg class.
Definition at line 31 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 73 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 82 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 79 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 88 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 80 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 89 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 78 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 87 of file HoughSeedFinderAlg.h.
lar_cluster3d::HoughSeedFinderAlg::HoughSeedFinderAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
Definition at line 49 of file HoughSeedFinderAlg.cxx.
|
virtual |
lar_cluster3d::HoughSeedFinderAlg::HoughSeedFinderAlg | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
pset |
|
private |
Given a list of candidate "seed" 3D hits, build the seed and get associated unique 2D hits.
|
private |
Given a list of candidate "seed" 3D hits, build the seed and get associated unique 2D hits.
Definition at line 552 of file HoughSeedFinderAlg.cxx.
|
private |
|
private |
The workhorse routine for a DBScan like clustering routine to identify peak bins in Hough Space
The workhorse routine for a DBScan like clustering routine to identify peak bins in Hough Space
Definition at line 228 of file HoughSeedFinderAlg.cxx.
|
private |
Using Principal Components Axis, look for gaps in a list of 3D hits.
inputHitList | - input list of 3D hits to check |
pca | - Principal Components Axis to use |
hitListList | - output list of hit lists which are gap free |
|
private |
Using Principal Components Axis, look for gaps in a list of 3D hits.
inputHitList | - input list of 3D hits to check |
pca | - Principal Components Axis to use |
hitListList | - output list of hit lists which are gap free |
Definition at line 306 of file HoughSeedFinderAlg.cxx.
|
private |
|
private |
Definition at line 374 of file HoughSeedFinderAlg.cxx.
bool lar_cluster3d::HoughSeedFinderAlg::findTrackHits | ( | reco::HitPairListPtr & | hitPairListPtr, |
reco::PrincipalComponents & | inputPCA, | ||
reco::HitPairListPtrList & | hitPairListPtrList | ||
) | const |
Given the list of hits this will return the sets of hits which belong on the same line.
|
virtual |
Given the list of hits this will return the sets of hits which belong on the same line.
Definition at line 872 of file HoughSeedFinderAlg.cxx.
|
overridevirtual |
Given the list of hits this will search for candidate Seed objects and return them.
Implements lar_cluster3d::SeedFinderAlgBase.
|
virtual |
Given the list of hits this will search for candidate Seed objects and return them.
Implements lar_cluster3d::SeedFinderAlgBase.
Definition at line 676 of file HoughSeedFinderAlg.cxx.
|
private |
|
private |
Does a query of nearest neighbors to look for matching bins
Does a query of nearest neighbors to look for matching bins
Definition at line 192 of file HoughSeedFinderAlg.cxx.
|
private |
|
private |
Definition at line 989 of file HoughSeedFinderAlg.cxx.
|
virtual |
a handler for the case where the algorithm control parameters are to be reset
Implements lar_cluster3d::SeedFinderAlgBase.
Definition at line 78 of file HoughSeedFinderAlg.cxx.
|
mutableprivate |
Graphical trace canvases.
Definition at line 130 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 129 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 122 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 124 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 116 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 115 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 117 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 122 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 121 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 112 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 119 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 118 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 120 of file HoughSeedFinderAlg.h.
|
mutableprivate |
View pads in current canvas.
Definition at line 131 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 127 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 114 of file HoughSeedFinderAlg.h.
|
private |
Definition at line 113 of file HoughSeedFinderAlg.h.