ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcClusterCleaner.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TpcClusterCleaner.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 
10 #ifndef TPCCLUSTERCLEANER_H
11 #define TPCCLUSTERCLEANER_H
12 
13 #include <fun4all/SubsysReco.h>
14 
15 #include <string>
16 #include <vector>
17 
18 class PHCompositeNode;
19 class TrkrCluster;
22 
24 {
25  public:
26 
27  TpcClusterCleaner(const std::string &name = "TpcClusterCleaner");
28 
29  ~TpcClusterCleaner() override;
30 
31  int InitRun(PHCompositeNode *topNode) override;
32  int process_event(PHCompositeNode *topNode) override;
33  int End(PHCompositeNode *topNode) override;
34 
37 
40 
41  private:
42 
43  void rotate_error(double erphi, double ez, double phi, double error[][3]);
44 
45  int GetNodes(PHCompositeNode* topNode);
48 
49  double _rphi_error_low_cut = 0.01;
50  double _rphi_error_high_cut = 0.1; // made large enough to not matter for now
51 
52  double _new_rphi_error = 0.05;
53  double _new_z_error = 0.1;
54 };
55 
56 #endif // TPCCLUSTERCLEANER_H