Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackContainerCombiner.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackContainerCombiner.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef TRACKCONTAINERCOMBINER_H
4 #define TRACKCONTAINERCOMBINER_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <string>
9 
10 class TrackSeedContainer;
11 class SvtxTrackMap;
12 class PHCompositeNode;
13 
15 {
16  public:
17 
18  TrackContainerCombiner(const std::string &name = "TrackContainerCombiner");
19 
20  ~TrackContainerCombiner() override;
21 
22  int InitRun(PHCompositeNode *topNode) override;
23  int process_event(PHCompositeNode*) override;
24  int End(PHCompositeNode*) override;
25 
28 
29  private:
30  void mergeSeeds();
31  int getNodes(PHCompositeNode *topNode);
32  std::string m_newContainerName = "SiliconTrackSeedContainer";
33  std::string m_oldContainerName = "SiliconTrackSeedContainerIt1";
34  bool m_seedContainer = true;
37 };
38 
39 #endif // TRACKCONTAINERCOMBINER_H