EIC 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> // for string
13 
14 // forward declarations
15 class PHCompositeNode;
17 class PHG4HitContainer;
19 class TrkrHitTruthAssoc;
20 
21 //class SvtxHitMap;
22 //class PHG4CellContainer;
23 
28 
30 {
31  public:
32  PHSiliconTruthTrackSeeding(const std::string& name = "PHSiliconTruthTrackSeeding");
33 
34  unsigned int get_min_clusters_per_track() const
35  {
37  }
38 
39  void set_min_clusters_per_track(unsigned int minClustersPerTrack)
40  {
41  _min_clusters_per_track = minClustersPerTrack;
42  }
43 
44  void set_min_layer(unsigned int minLayer)
45  {
46  _min_layer = minLayer;
47  }
48 
49  void set_max_layer(unsigned int maxLayer)
50  {
51  _max_layer = maxLayer;
52  }
53 
55  double get_min_momentum() const
56  {
57  return _min_momentum;
58  }
59 
61  void set_min_momentum(double m)
62  {
63  _min_momentum = m;
64  }
65 
66  protected:
67  int Setup(PHCompositeNode* topNode) override;
68 
69  int Process(PHCompositeNode* topNode) override;
70 
71  int End() override;
72 
73  private:
75  int GetNodes(PHCompositeNode* topNode);
76 
78 
83 
86 
87  unsigned int _min_clusters_per_track = 2;
88  unsigned int _min_layer = 0;
89  unsigned int _max_layer = 6;
90 
92  double _min_momentum = 50e-3;
93 };
94 
95 #endif