CMergeHelper.h
Go to the documentation of this file.
1 /**
2  * \file CMergeHelper.h
3  *
4  * \ingroup CMToolApp
5  *
6  * \brief Class def header for a class CMergeHelper
7  *
8  * @author kazuhiro
9  */
10 
11 /** \addtogroup CMToolApp
12 
13  @{*/
14 #ifndef CMERGEHELPER_H
15 #define CMERGEHELPER_H
16 
19 class TFile;
20 
21 namespace cmtool {
22  /**
23  \class CMergeHelper
24  User defined class CMergeHelper ... these comments are used to generate
25  doxygen documentation!
26  */
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
38  size() const
39  {
40  return _mgr_v.size();
41  }
42 
43  const CMergeBookKeeper&
44  GetResult() const
45  {
46  return _bk;
47  }
48 
49  const std::vector<::cluster::ClusterParamsAlg>& GetClusters() const;
50 
51  protected:
52  std::vector<::cmtool::CMergeManager> _mgr_v;
53 
55  };
56 }
57 
58 #endif
59 /** @} */ // end of doxygen group
struct vector vector
Class def header for a class CMergeBookKeeper.
void SetAnaFile(TFile *fout)
size_t size() const
Definition: CMergeHelper.h:38
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:44
std::vector<::cmtool::CMergeManager > _mgr_v
Definition: CMergeHelper.h:52
CMergeManager & GetManager(size_t mgr_id)
Definition: CMergeHelper.cxx:8
CMergeBookKeeper _bk
Definition: CMergeHelper.h:54
Class def header for a class CMergeManager.