ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHGenFitTrackProjection.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHGenFitTrackProjection.h
1 
7 #ifndef G4HOUGH_PHGENFITTRACKPROJECTION_H
8 #define G4HOUGH_PHGENFITTRACKPROJECTION_H
9 
11 
12 #include <fun4all/SubsysReco.h>
13 
14 // std includes
15 #include <vector>
16 #include <string>
17 
18 // forward declarations
19 class PHCompositeNode;
20 
21 namespace PHGenFit {
22  class Fitter;
23 }
24 
30 {
31 
32  public:
33 
34  PHGenFitTrackProjection(const std::string &name = "PHGenFitTrackProjection", const int pid_guess = 211);
36 
37  int Init(PHCompositeNode *topNode) override;
38  int InitRun(PHCompositeNode *topNode) override;
39  int process_event(PHCompositeNode *topNode) override;
40  int End(PHCompositeNode *topNode) override;
41 
42  int get_pid_guess() const {
43  return _pid_guess;
44  }
45 
46  void set_pid_guess(int pidGuess) {
47  _pid_guess = pidGuess;
48  }
49 
50  void use_poscalib_cemc_clusters(bool calib) {
51  _use_poscalib_cemc = calib;
52  }
53 
54  private:
55 
58 
59  bool _use_poscalib_cemc = false;
60 
62  std::vector<SvtxTrack::CAL_LAYER> _cal_types;
63  std::vector<std::string> _cal_names;
64  std::vector<float> _cal_radii;
65 };
66 
67 #endif // __PHGENFITTRACKPROJECTION_H__