ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTrackCleaner.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHTrackCleaner.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 
10 #ifndef PHTRACKCLEANER_H
11 #define PHTRACKCLEANER_H
12 
13 #include <fun4all/SubsysReco.h>
14 
15 #include <string>
16 #include <vector>
17 #include <map>
18 
19 class PHCompositeNode;
20 class SvtxTrack;
21 class SvtxTrackMap;
22 class TrkrCluster;
23 class TpcSeedTrackMap;
24 
25 class PHTrackCleaner : public SubsysReco
26 {
27  public:
28 
29  PHTrackCleaner(const std::string &name = "PHTrackCleaner");
30 
31  ~PHTrackCleaner() override;
32 
33  int InitRun(PHCompositeNode *topNode) override;
34  int process_event(PHCompositeNode *topNode) override;
35  int End(PHCompositeNode *topNode) override;
36 
37  private:
38 
39  int GetNodes(PHCompositeNode* topNode);
40  void findGhostTracks();
41 
43 SvtxTrack *_track{nullptr};
44 
46 
47  unsigned int min_clusters = 20;
48 
49 };
50 
51 #endif // PHTRACKCLEANER_H