10 #ifndef CLUSTERMERGEHELPER_H 11 #define CLUSTERMERGEHELPER_H 72 const std::vector<cluster::ClusterParamsAlg>&
GetMergedCPAN()
const;
77 std::vector<recob::Cluster> &out_clusters,
std::vector< std::vector< art::Ptr< recob::Hit > > > fInputClusters
Input clusters in terms of a vector of art::Ptr<recob::Hit> collection.
Declaration of signal hit object.
void SetClusters(const std::vector< std::vector< util::PxHit > > &clusters)
Internal method to transfer input cluster information in the right format to CMergeManager.
Cluster finding and building.
ClusterMergeHelper()
Default constructor with fhicl parameters.
const std::vector< std::vector< art::Ptr< recob::Hit > > > & GetMergedClusterHits() const
Utility method to retrieve merged clusters in terms of a vector of art::Ptr<recob::Hit> ...
void AppendResult(art::EDProducer &ed, art::Event &ev, std::vector< recob::Cluster > &out_clusters, art::Assns< recob::Cluster, recob::Hit > &assns) const
Utility method to append result set to user's data product storage.
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void Process()
Function to execute CMergeManager::Process()
std::vector< std::vector< art::Ptr< recob::Hit > > > fOutputClusters
Output clusters in terms of a vector of art::Ptr<recob::Hit> collection.
::util::GeometryUtilities fGeoU
GeometryUtilities.
Declaration of cluster object.
::cmtool::CMergeManager & GetManager()
A method to retrieve Manager.
Utility object to perform functions of association.
const std::vector< cluster::ClusterParamsAlg > & GetMergedCPAN() const
Utility method to retrieve merged clusters in terms of a vector of CPAN.
void SetClusters(const std::vector< std::vector< art::Ptr< recob::Hit > > > &clusters)
Utility method to set cluster input information to CMergeManager from LArSoft data product (vector of...
::cmtool::CMergeManager fMgr
CMergeManager instance.
virtual ~ClusterMergeHelper()
Default destructor.
Class def header for a class CMergeManager.
art framework interface to geometry description