LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
ClusterParamsBuilder.h
Go to the documentation of this file.
1 
9 #ifndef ClusterParamsBuilder_h
10 #define ClusterParamsBuilder_h
11 
12 // Framework Includes
13 #include "fhiclcpp/ParameterSet.h"
14 
15 // LArSoft includes
18 
19 // Algorithm includes
21 
22 // std includes
23 #include <vector>
24 #include <list>
25 #include <set>
26 #include <map>
27 //------------------------------------------------------------------------------------------------------------------------------------------
28 
29 namespace lar_cluster3d
30 {
35 {
36 public:
43 
47  virtual ~ClusterParamsBuilder();
48 
49  void configure(const fhicl::ParameterSet&);
50 
61  void BuildClusterInfo(reco::ClusterParametersList& clusterParametersList) const;
62 
74  double minUniqueFrac = 0.,
75  double maxLostFrac=1.) const;
76 
77 private:
78 
80 
87 
88  PrincipalComponentsAlg m_pcaAlg; // For running Principal Components Analysis
89 };
90 
91 } // namespace lar_cluster3d
92 #endif
ClusterParamsBuilder(fhicl::ParameterSet const &pset)
Constructor.
Declaration of signal hit object.
void BuildClusterInfo(reco::ClusterParametersList &clusterParametersList) const
Given the results of running DBScan, format the clusters so that they can be easily transferred back ...
void removeUsedHitsFromMap(reco::ClusterParameters &, reco::HitPairListPtr &, reco::Hit2DToClusterMap &) const
void FillClusterParams(reco::ClusterParameters &, reco::Hit2DToClusterMap &, double minUniqueFrac=0., double maxLostFrac=1.) const
Fill the cluster parameters (expose to outside world for case of splitting/merging clusters) ...
size_t m_clusterMinHits
Data members to follow.
ClusterParamsBuilder class definiton.
std::list< const reco::ClusterHit3D * > HitPairListPtr
Definition: Cluster3D.h:315
This header file defines the interface to a principal components analysis designed to be used within ...
std::unordered_map< const reco::ClusterHit2D *, ClusterToHitPairSetMap > Hit2DToClusterMap
Definition: Cluster3D.h:437
void configure(const fhicl::ParameterSet &)
std::list< ClusterParameters > ClusterParametersList
Definition: Cluster3D.h:335