All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ParallelHitsSeedFinderAlg.h
Go to the documentation of this file.
1 /**
2  * @file ParallelHitsSeedFinderAlg.h
3  *
4  * @brief This is an algorithm for finding recob::Seed objects in 3D clusters
5  *
6  */
7 #ifndef ParallelHitsSeedFinderAlg_h
8 #define ParallelHitsSeedFinderAlg_h
9 
10 // Framework Includes
11 namespace fhicl { class ParameterSet; }
12 
13 // LArSoft includes
17 
18 //------------------------------------------------------------------------------------------------------------------------------------------
19 
20 namespace lar_cluster3d {
21 
22  /**
23  * @brief ParallelHitsSeedFinderAlg class
24  */
26  public:
27  /**
28  * @brief Constructor
29  *
30  * @param pset
31  */
32  explicit ParallelHitsSeedFinderAlg(fhicl::ParameterSet const& pset);
33 
34  /**
35  * @brief Given the list of hits this will search for candidate Seed objects and return them
36  */
37  bool findTrackSeeds(reco::HitPairListPtr& hitPairListPtr,
38  reco::PrincipalComponents& inputPCA,
39  SeedHitPairListPairVec& seedHitMap) const override;
40 
41  private:
42  size_t m_maxNumEdgeHits; ///< Maximum number hits each end of PCA axis
43  double m_gapDistance; ///< Maximum allowed distance between hits
44  size_t m_numSeed2DHits; ///< Number 2D seed hits desired
45 
46  PrincipalComponentsAlg m_pcaAlg; // For running Principal Components Analysis
47  };
48 
49 } // namespace lar_cluster3d
50 #endif
double m_gapDistance
Maximum allowed distance between hits.
SeedFinderAlgBase class.
size_t m_maxNumEdgeHits
Maximum number hits each end of PCA axis.
This is intended to define an interface to all Seed finder algorithms employed by the 3D clustering...
ParallelHitsSeedFinderAlg(fhicl::ParameterSet const &pset)
Constructor.
std::list< const reco::ClusterHit3D * > HitPairListPtr
Definition: Cluster3D.h:334
This header file defines the interface to a principal components analysis designed to be used within ...
bool findTrackSeeds(reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, SeedHitPairListPairVec &seedHitMap) const override
Given the list of hits this will search for candidate Seed objects and return them.
std::vector< SeedHitPairListPair > SeedHitPairListPairVec
size_t m_numSeed2DHits
Number 2D seed hits desired.