7 #ifndef HoughSeedFinderAlg_h 8 #define HoughSeedFinderAlg_h 16 #include "lardata/RecoObjects/Cluster3D.h" 86 typedef std::pair<int, int>
BinIndex;
91 void HoughRegionQuery(BinIndex& curBin, RhoThetaAccumulatorBinMap& rhoThetaAccumulatorBinMap, HoughCluster& neighborPts,
size_t threshold)
const;
94 HoughCluster& neighborPts,
95 HoughCluster& houghCluster,
96 RhoThetaAccumulatorBinMap& rhoThetaAccumulatorBinMap,
97 size_t threshold)
const;
102 RhoThetaAccumulatorBinMap& rhoThetaMap,
103 HoughClusterList& clusterList)
const;
110 void LineFit2DHits(std::set<const reco::ClusterHit2D*>& hitList,
double XOrigin, TVector3& Pos, TVector3& Dir,
double& ChiDOF)
const;
131 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.
virtual void reconfigure(fhicl::ParameterSet const &pset)
a handler for the case where the algorithm control parameters are to be reset
HoughSeedFinderAlg class.
HoughSeedFinderAlg(fhicl::ParameterSet const &pset)
Constructor.
std::list< HitPairListPtr > HitPairListPtrList
std::vector< TVirtualPad * > m_Pads
View pads in current canvas.
void findHoughClusters(const reco::HitPairListPtr &inputHits, reco::PrincipalComponents &pca, int &nLoops, RhoThetaAccumulatorBinMap &rhoThetaMap, HoughClusterList &clusterList) const
std::pair< recob::Seed, reco::HitPairListPtr > SeedHitPairListPair
art framework interface to geometry description
std::vector< std::unique_ptr< TCanvas > > m_Canvases
Graphical trace canvases.
void expandHoughCluster(BinIndex &curBin, HoughCluster &neighborPts, HoughCluster &houghCluster, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, size_t threshold) const
void HoughRegionQuery(BinIndex &curBin, RhoThetaAccumulatorBinMap &rhoThetaAccumulatorBinMap, HoughCluster &neighborPts, size_t threshold) const
std::list< HoughCluster > HoughClusterList
std::list< const reco::ClusterHit3D * > HitPairListPtr
PrincipalComponentsAlg m_pcaAlg
The geometry of one entire detector, as served by art.
geo::Geometry * m_geometry
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
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...
std::list< BinIndex > HoughCluster
virtual ~HoughSeedFinderAlg()
Destructor.
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.
std::vector< SeedHitPairListPair > SeedHitPairListPairVec
std::pair< int, int > BinIndex