LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CMergeHelper.h
Go to the documentation of this file.
1 
14 #ifndef CMERGEHELPER_H
15 #define CMERGEHELPER_H
16 
19 class TFile;
20 
21 namespace cmtool {
27  class CMergeHelper {
28 
29  public:
30  CMergeManager& GetManager(size_t mgr_id);
31 
32  void SetAnaFile(TFile* fout);
33 
34  void Process(util::GeometryUtilities const& gser,
35  const std::vector<std::vector<::util::PxHit>>& clusters);
36 
37  size_t size() const { return _mgr_v.size(); }
38 
39  const CMergeBookKeeper& GetResult() const { return _bk; }
40 
41  const std::vector<::cluster::ClusterParamsAlg>& GetClusters() const;
42 
43  protected:
44  std::vector<::cmtool::CMergeManager> _mgr_v;
45 
47  };
48 }
49 
50 #endif
51  // end of doxygen group
Class def header for a class CMergeBookKeeper.
void SetAnaFile(TFile *fout)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:289
size_t size() const
Definition: CMergeHelper.h:37
void Process(util::GeometryUtilities const &gser, const std::vector< std::vector<::util::PxHit >> &clusters)
const std::vector<::cluster::ClusterParamsAlg > & GetClusters() const
const CMergeBookKeeper & GetResult() const
Definition: CMergeHelper.h:39
std::vector<::cmtool::CMergeManager > _mgr_v
Definition: CMergeHelper.h:44
CMergeManager & GetManager(size_t mgr_id)
Definition: CMergeHelper.cxx:7
CMergeBookKeeper _bk
Definition: CMergeHelper.h:46
Class def header for a class CMergeManager.