Analysis Software
Documentation for sPHENIX simulation 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;
21 
23 {
24  public:
25 
26  TpcClusterCleaner(const std::string &name = "TpcClusterCleaner");
27 
28  ~TpcClusterCleaner() override;
29 
30  int InitRun(PHCompositeNode *topNode) override;
31  int process_event(PHCompositeNode *topNode) override;
32  int End(PHCompositeNode *topNode) override;
33 
36 
39 
40  private:
41 
42  void rotate_error(double erphi, double ez, double phi, double error[][3]);
43 
44  int GetNodes(PHCompositeNode* topNode);
46 
47  double _rphi_error_low_cut = 0.01;
48  double _rphi_error_high_cut = 0.1; // made large enough to not matter for now
49 
50  double _new_rphi_error = 0.05;
51  double _new_z_error = 0.1;
52 };
53 
54 #endif // TPCCLUSTERCLEANER_H