Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackContainerCombiner.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackContainerCombiner.cc
1 
3 
5 
10 
11 #include <phool/PHCompositeNode.h>
12 #include <phool/PHIODataNode.h>
13 #include <phool/PHNode.h> // for PHNode
14 #include <phool/PHNodeIterator.h>
15 #include <phool/PHObject.h> // for PHObject
16 #include <phool/getClass.h>
17 #include <phool/phool.h>
18 
19 //____________________________________________________________________________..
21  SubsysReco(name)
22 {
23 }
24 
25 //____________________________________________________________________________..
27 {
28 
29 }
30 
31 //____________________________________________________________________________..
33 {
34  int ret = getNodes(topNode);
35  return ret;
36 }
37 
38 //____________________________________________________________________________..
40 {
41  if(m_seedContainer)
42  {
43  if(Verbosity() > 1)
44  {
45  std::cout << "Seed container size to start " << m_newSeedContainer->size()
46  << std::endl;
47  }
48  mergeSeeds();
49  if (Verbosity() > 1)
50  {
51  std::cout << "Seed container size to finish " << m_newSeedContainer->size()
52  << std::endl;
53  }
54  }
55 
57 }
58 
60 {
61  for (const auto& seed : *m_oldSeedContainer)
62  {
63  if(!seed)
64  {
65  continue;
66  }
68  }
69 }
70 //____________________________________________________________________________..
72 {
74 }
75 
77 {
78  m_newSeedContainer = findNode::getClass<TrackSeedContainer>(topNode, m_newContainerName);
80  {
81  std::cout << PHWHERE << "No new track seed container, bailing" << std::endl;
83  }
84  m_oldSeedContainer = findNode::getClass<TrackSeedContainer>(topNode, m_oldContainerName);
85  if (!m_oldSeedContainer)
86  {
87  std::cout << PHWHERE << "No old track seed container, bailing" << std::endl;
89  }
90 
92 }