Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHSiliconTruthTrackSeeding.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHSiliconTruthTrackSeeding.h
1 
7 #ifndef TRACKRECO_PHSILICONTRUTHTRACKSEEDING_H
8 #define TRACKRECO_PHSILICONTRUTHTRACKSEEDING_H
9 
10 #include "PHTrackSeeding.h"
11 
12 #include <string>
13 
14 // forward declarations
15 class PHCompositeNode;
17 class PHG4HitContainer;
19 class TrkrHitTruthAssoc;
20 
21 
26 
28 {
29  public:
30  PHSiliconTruthTrackSeeding(const std::string& name = "PHSiliconTruthTrackSeeding");
31 
32  unsigned int get_min_clusters_per_track() const
33  {
35  }
36 
37  void set_min_clusters_per_track(unsigned int minClustersPerTrack)
38  {
39  _min_clusters_per_track = minClustersPerTrack;
40  }
41 
42  void set_min_layer(unsigned int minLayer)
43  {
44  _min_layer = minLayer;
45  }
46 
47  void set_max_layer(unsigned int maxLayer)
48  {
49  _max_layer = maxLayer;
50  }
51 
53  double get_min_momentum() const
54  {
55  return _min_momentum;
56  }
57 
59  void set_min_momentum(double m)
60  {
61  _min_momentum = m;
62  }
63 
64  protected:
65  int Setup(PHCompositeNode* topNode) override;
66 
67  int Process(PHCompositeNode* topNode) override;
68 
69  int End() override;
70 
71  private:
73  int GetNodes(PHCompositeNode* topNode);
74 
76 
81 
84 
85  unsigned int _min_clusters_per_track = 2;
86  unsigned int _min_layer = 0;
87  unsigned int _max_layer = 6;
88 
90  double _min_momentum = 50e-3;
91 };
92 
93 #endif