ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ECCEFastPIDReco.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ECCEFastPIDReco.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef ECCEFASTPIDRECO_H
4 #define ECCEFASTPIDRECO_H
5 
6 #include <fun4all/SubsysReco.h>
7 
9 
10 #include <string>
11 
12 class PHCompositeNode;
13 class ECCEFastPIDMap;
14 class SvtxTrackMap;
17 class PHG4HitContainer;
18 
19 class ECCEFastPIDReco : public SubsysReco {
20 public:
22  const std::string &name = "ECCEFastPIDReco");
23 
24  virtual ~ECCEFastPIDReco();
25 
31  int Init(PHCompositeNode *topNode) override;
32 
38  int InitRun(PHCompositeNode *topNode) override;
39 
43  int process_event(PHCompositeNode *topNode) override;
44 
46  int End(PHCompositeNode *topNode) override;
47 
48  void setTrackmapNodeName(const std::string &name) {
50  }
51 
52  void setEICPIDParticleMapNodeName(const std::string &name) {
54  }
55 
56  void setMatchG4Hit(const std::string &g4hit_node_name) {
57  m_matchG4Hit = true;
58  m_G4HitNodeName = g4hit_node_name;
59  }
60 
61 private:
62  bool m_matchG4Hit = false;
63 
64  std::string m_G4HitNodeName = "Uninitialized";
65 
68 
69  std::string m_TrackmapNodeName = "TrackMap";
70  std::string m_EICPIDParticleMapNodeName = "EICPIDParticleMap";
71 
76 };
77 
78 #endif // ECCEFASTPIDRECO_H