10 #ifndef CLUSTERMERGEHELPER_H
11 #define CLUSTERMERGEHELPER_H
19 #include "canvas/Persistency/Common/Assns.h"
20 #include "canvas/Persistency/Common/Ptr.h"
52 const art::Event&
evt,
53 const std::string& cluster_module_label);
62 const std::vector<cluster::ClusterParamsAlg>&
GetMergedCPAN()
const;
67 std::vector<recob::Cluster>& out_clusters,
68 art::Assns<recob::Cluster, recob::Hit>& assns)
const;
74 const std::vector<std::vector<util::PxHit>>& clusters)
void SetClusters(util::GeometryUtilities const &gser, const std::vector< std::vector< util::PxHit >> &clusters)
Internal method to transfer input cluster information in the right format to CMergeManager.
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.
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> ...
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
void AppendResult(util::GeometryUtilities const &gser, 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.
std::vector< std::vector< art::Ptr< recob::Hit > > > fOutputClusters
Output clusters in terms of a vector of art::Ptr<recob::Hit> collection.
void Process(util::GeometryUtilities const &gser)
Function to execute CMergeManager::Process()
::util::GeometryUtilities fGeoU
GeometryUtilities.
Declaration of cluster object.
::cmtool::CMergeManager & GetManager()
const std::vector< cluster::ClusterParamsAlg > & GetMergedCPAN() const
Utility method to retrieve merged clusters in terms of a vector of CPAN.
void SetClusters(util::GeometryUtilities const &gser, 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.
Class def header for a class CMergeManager.