#include <ClusterMergeHelper.h>
Public Member Functions | |
::cmtool::CMergeManager & | GetManager () |
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 recob::Hit art::Ptr) More... | |
void | SetClusters (util::GeometryUtilities const &gser, const art::Event &evt, const std::string &cluster_module_label) |
Utility method to set cluster input information to CMerteManager from art::Event and cluster data product label. More... | |
void | Process (util::GeometryUtilities const &gser) |
Function to execute CMergeManager::Process() More... | |
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> More... | |
const std::vector < cluster::ClusterParamsAlg > & | GetMergedCPAN () const |
Utility method to retrieve merged clusters in terms of a vector of CPAN. More... | |
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. More... | |
Protected Member Functions | |
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. More... | |
Protected Attributes | |
::cmtool::CMergeManager | fMgr |
CMergeManager instance. More... | |
::util::GeometryUtilities | fGeoU |
GeometryUtilities. More... | |
std::vector< std::vector < art::Ptr< recob::Hit > > > | fInputClusters |
Input clusters in terms of a vector of art::Ptr<recob::Hit> collection. More... | |
std::vector< std::vector < art::Ptr< recob::Hit > > > | fOutputClusters |
Output clusters in terms of a vector of art::Ptr<recob::Hit> collection. More... | |
Definition at line 38 of file ClusterMergeHelper.h.
void cluster::ClusterMergeHelper::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.
Definition at line 151 of file ClusterMergeHelper.cxx.
|
inline |
Definition at line 41 of file ClusterMergeHelper.h.
const std::vector< std::vector< art::Ptr< recob::Hit > > > & cluster::ClusterMergeHelper::GetMergedClusterHits | ( | ) | const |
Utility method to retrieve merged clusters in terms of a vector of art::Ptr<recob::Hit>
Definition at line 124 of file ClusterMergeHelper.cxx.
const std::vector< cluster::ClusterParamsAlg > & cluster::ClusterMergeHelper::GetMergedCPAN | ( | ) | const |
Utility method to retrieve merged clusters in terms of a vector of CPAN.
Definition at line 138 of file ClusterMergeHelper.cxx.
void cluster::ClusterMergeHelper::Process | ( | util::GeometryUtilities const & | gser | ) |
Function to execute CMergeManager::Process()
Definition at line 90 of file ClusterMergeHelper.cxx.
void cluster::ClusterMergeHelper::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 recob::Hit art::Ptr)
Definition at line 24 of file ClusterMergeHelper.cxx.
void cluster::ClusterMergeHelper::SetClusters | ( | util::GeometryUtilities const & | gser, |
const art::Event & | evt, | ||
const std::string & | cluster_module_label | ||
) |
Utility method to set cluster input information to CMerteManager from art::Event and cluster data product label.
Definition at line 61 of file ClusterMergeHelper.cxx.
|
inlineprotected |
Internal method to transfer input cluster information in the right format to CMergeManager.
Definition at line 73 of file ClusterMergeHelper.h.
|
protected |
GeometryUtilities.
Definition at line 85 of file ClusterMergeHelper.h.
|
protected |
Input clusters in terms of a vector of art::Ptr<recob::Hit> collection.
Definition at line 88 of file ClusterMergeHelper.h.
|
protected |
CMergeManager instance.
Definition at line 82 of file ClusterMergeHelper.h.
|
protected |
Output clusters in terms of a vector of art::Ptr<recob::Hit> collection.
Definition at line 91 of file ClusterMergeHelper.h.