ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4ZDCSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4ZDCSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_H
4 #define G4DETECTORS_PHG4FORWARDECALSUBSYSTEM_H
5 
7 
8 #include <string> // for string
9 
10 class PHCompositeNode;
11 class PHG4Detector;
12 class PHG4DisplayAction;
13 class PHG4ZDCDetector;
14 class PHG4SteppingAction;
15 
17 {
18  public:
21  explicit PHG4ZDCSubsystem(const std::string& name, const int layer);
22 
25  ~PHG4ZDCSubsystem() override;
26 
30  int InitRunSubsystem(PHCompositeNode*) override;
31 
34  int process_event(PHCompositeNode*) override;
35 
38  PHG4Detector* GetDetector() const override;
40 
41  PHG4DisplayAction* GetDisplayAction() const override { return m_DisplayAction; }
42 
43  private:
44  void SetDefaultParameters() override;
45 
49 
53 
55 
57 
58  std::string m_HitNodeName;
59  std::string m_AbsorberNodeName;
60  std::string m_SupportNodeName;
61 };
62 
63 #endif