7 #ifndef HoughSeedFinderAlg_h 8 #define HoughSeedFinderAlg_h 75 typedef std::pair<int, int>
BinIndex;
81 RhoThetaAccumulatorBinMap& rhoThetaAccumulatorBinMap,
82 HoughCluster& neighborPts,
83 size_t threshold)
const;
86 HoughCluster& neighborPts,
87 HoughCluster& houghCluster,
88 RhoThetaAccumulatorBinMap& rhoThetaAccumulatorBinMap,
89 size_t threshold)
const;
93 RhoThetaAccumulatorBinMap& rhoThetaMap,
94 HoughClusterList& clusterList)
const;
101 void LineFit2DHits(std::set<const reco::ClusterHit2D*>& hitList,
105 double& ChiDOF)
const;
124 mutable std::vector<TVirtualPad*>
m_Pads;
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.
void findHoughClusters(const reco::HitPairListPtr &inputHits, reco::PrincipalComponents &pca, RhoThetaAccumulatorBinMap &rhoThetaMap, HoughClusterList &clusterList) const
std::vector< TVirtualPad * > m_Pads
View pads in current canvas.
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.
HoughSeedFinderAlg class.
HoughSeedFinderAlg(fhicl::ParameterSet const &pset)
Constructor.
std::list< HitPairListPtr > HitPairListPtrList
void expandHoughCluster(BinIndex &curBin, HoughCluster &neighborPts, HoughCluster &houghCluster, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, size_t threshold) const
This is intended to define an interface to all Seed finder algorithms employed by the 3D clustering...
void HoughRegionQuery(BinIndex &curBin, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, HoughCluster &neighborPts, size_t threshold) const
Interface for a class providing readout channel mapping to geometry.
std::list< HoughCluster > HoughClusterList
std::list< const reco::ClusterHit3D * > HitPairListPtr
PrincipalComponentsAlg m_pcaAlg
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...
std::map< BinIndex, AccumulatorBin > RhoThetaAccumulatorBinMap
This header file defines the interface to a principal components analysis designed to be used within ...
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...
std::list< BinIndex > HoughCluster
std::vector< SeedHitPairListPair > SeedHitPairListPairVec
std::pair< recob::Seed, reco::HitPairListPtr > SeedHitPairListPair
std::pair< int, int > BinIndex
std::vector< std::unique_ptr< TCanvas > > m_Canvases
Graphical trace canvases.
geo::WireReadoutGeom const * m_wireReadoutGeom