LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
ParallelHitsSeedFinderAlg.h
Go to the documentation of this file.
1 
7 #ifndef ParallelHitsSeedFinderAlg_h
8 #define ParallelHitsSeedFinderAlg_h
9 
10 // Framework Includes
11 #include "fhiclcpp/ParameterSet.h"
12 
15 
16 // LArSoft includes
19 
20 // ROOT includes
21 #include "TCanvas.h"
22 #include "TFrame.h"
23 #include "TH2D.h"
24 
25 //------------------------------------------------------------------------------------------------------------------------------------------
26 
27 namespace lar_cluster3d
28 {
29 
30 //typedef std::pair<recob::Seed, reco::HitPairListPtr> SeedHitListPair;
31 //typedef std::list<SeedHitListPair > SeedHitPairList;
32 
33 
38 {
39 public:
46 
51 
55  virtual void reconfigure(fhicl::ParameterSet const &pset);
56 
60  virtual bool findTrackSeeds(reco::HitPairListPtr& hitPairListPtr,
61  reco::PrincipalComponents& inputPCA,
62  SeedHitPairListPairVec& seedHitMap) const;
63 
64 private:
65 
66  geo::Geometry* m_geometry; // pointer to the Geometry service
67  // const detinfo::DetectorProperties* m_detector; // Pointer to the detector properties
68 
70  double m_gapDistance;
71  size_t m_numSeed2DHits;
72 
73  PrincipalComponentsAlg m_pcaAlg; // For running Principal Components Analysis
74 };
75 
76 } // namespace lar_cluster3d
77 #endif
std::vector< SeedHitPairListPair > SeedHitPairListPairVec
double m_gapDistance
Maximum allowed distance between hits.
virtual void reconfigure(fhicl::ParameterSet const &pset)
a handler for the case where the algorithm control parameters are to be reset
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:315
The geometry of one entire detector, as served by art.
Definition: Geometry.h:110
This header file defines the interface to a principal components analysis designed to be used within ...
size_t m_numSeed2DHits
Number 2D seed hits desired.
virtual bool findTrackSeeds(reco::HitPairListPtr &hitPairListPtr, reco::PrincipalComponents &inputPCA, SeedHitPairListPairVec &seedHitMap) const
Given the list of hits this will search for candidate Seed objects and return them.
art framework interface to geometry description