ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTpcDeltaZCorrection.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHTpcDeltaZCorrection.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 
10 #ifndef TRACKRECO_PHTPCDELTAZCORRECTION_H
11 #define TRACKRECO_PHTPCDELTAZCORRECTION_H
12 
13 #include <fun4all/SubsysReco.h>
14 #include <phparameter/PHParameterInterface.h>
16 #include <trackbase/TrkrDefs.h>
17 
18 class SvtxTrackMap;
20 
22 {
23  public:
24 
26  PHTpcDeltaZCorrection(const std::string &name = "PHTpcDeltaZCorrection");
27 
29  ~PHTpcDeltaZCorrection() override = default;
30 
31  int InitRun(PHCompositeNode *topNode) override;
32  int process_event(PHCompositeNode *topNode) override;
33  int End(PHCompositeNode *topNode) override;
34  void SetDefaultParameters() override;
35 
36  private:
37 
40 
42  void process_tracks();
43 
45  void process_track( unsigned int, SvtxTrack* );
46 
49 
52 
55 
58 
61 
63 
64  std::set<TrkrDefs::cluskey> m_corrected_clusters;
65 
67 
68  double m_bz_const = 1.4; // Tesla
69 
71  double m_drift_velocity = NAN;
72 
73 };
74 
75 #endif // PHTpcDeltaZCorrection_H