LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
CMergeHelper.h
Go to the documentation of this file.
1 
14 #ifndef CMERGEHELPER_H
15 #define CMERGEHELPER_H
16 
17 #include <iostream>
19 
20 namespace cmtool {
26  class CMergeHelper{
27 
28  public:
29 
32 
34  virtual ~CMergeHelper(){}
35 
36  CMergeManager& GetManager(size_t mgr_id);
37 
38  void SetAnaFile(TFile* fout);
39 
40  void Process(const std::vector<std::vector< ::util::PxHit> >& clusters);
41 
42  size_t size() const { return _mgr_v.size(); }
43 
44  const CMergeBookKeeper& GetResult() const { return _bk; }
45 
46  const std::vector< ::cluster::ClusterParamsAlg>& GetClusters() const;
47 
48  protected:
49 
50  std::vector< ::cmtool::CMergeManager> _mgr_v;
51 
53 
54  };
55 }
56 
57 #endif
58  // end of doxygen group
59 
CMergeHelper()
Default constructor.
Definition: CMergeHelper.h:31
void SetAnaFile(TFile *fout)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
size_t size() const
Definition: CMergeHelper.h:42
const std::vector< ::cluster::ClusterParamsAlg > & GetClusters() const
const CMergeBookKeeper & GetResult() const
Definition: CMergeHelper.h:44
std::vector< ::cmtool::CMergeManager > _mgr_v
Definition: CMergeHelper.h:50
virtual ~CMergeHelper()
Default destructor.
Definition: CMergeHelper.h:34
CMergeManager & GetManager(size_t mgr_id)
Definition: CMergeHelper.cxx:8
CMergeBookKeeper _bk
Definition: CMergeHelper.h:52
void Process(const std::vector< std::vector< ::util::PxHit > > &clusters)
Class def header for a class CMergeManager.