EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4EPDSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4EPDSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 /* vim: set sw=2 ft=cpp: */
4 
5 #ifndef G4EPD_PHG4EPDSUBSYSTEM_H
6 #define G4EPD_PHG4EPDSUBSYSTEM_H
7 
9 
10 #include <string>
11 
12 class PHCompositeNode;
13 class PHG4Detector;
14 class PHG4DisplayAction;
15 class PHG4EPDDetector;
16 class PHG4SteppingAction;
17 
19 {
20  public:
21  PHG4EPDSubsystem(std::string const& name);
22  ~PHG4EPDSubsystem() override;
23 
27  int InitRunSubsystem(PHCompositeNode* node) override;
28 
31  int process_event(PHCompositeNode*) override;
32 
33  PHG4Detector* GetDetector() const override;
34  PHG4SteppingAction* GetSteppingAction() const override { return m_SteppingAction; };
35  PHG4DisplayAction* GetDisplayAction() const override { return m_DisplayAction; }
36 
37  private:
38  void SetDefaultParameters() override;
39 
43 
47 
49 
51 
52  std::string m_HitNodeName;
53  std::string m_SupportNodeName;
54 };
55 
56 #endif /* G4EPD_PHG4EPDSUBSYSTEM_H */