Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHSiliconSeedMerger.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHSiliconSeedMerger.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef PHSILICONSEEDMERGER_H
4 #define PHSILICONSEEDMERGER_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <string>
9 #include <vector>
10 #include <algorithm>
11 
12 class PHCompositeNode;
13 class TrackSeedContainer;
14 
16 {
17  public:
18 
19  PHSiliconSeedMerger(const std::string &name = "PHSiliconSeedMerger");
20 
21  virtual ~PHSiliconSeedMerger();
22 
23  int Init(PHCompositeNode *topNode) override;
24  int InitRun(PHCompositeNode *topNode) override;
25  int process_event(PHCompositeNode *topNode) override;
26  int ResetEvent(PHCompositeNode *topNode) override;
27  int End(PHCompositeNode *topNode) override;
28 
30  void clusterOverlap(const int nclusters) { m_clusterOverlap = nclusters; }
31  void searchIntt() { m_mvtxOnly = false; }
32 
33  private:
34 
35  int getNodes(PHCompositeNode *topNode);
36 
38  std::string m_trackMapName = "SiliconTrackSeedContainer";
40  bool m_mvtxOnly = true;
41 };
42 
43 #endif // PHSILICONSEEDMERGER_H