ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4SectorSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4SectorSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4SECTORSUBSYSTEM_H
4 #define G4DETECTORS_PHG4SECTORSUBSYSTEM_H
5 
7 
8 #include <g4main/PHG4Subsystem.h>
9 
10 #include <string> // for string
11 
12 class PHCompositeNode;
13 class PHG4Detector;
14 class PHG4DisplayAction;
15 class PHG4SectorDetector;
16 class PHG4SteppingAction;
17 
19 {
20  public:
22  PHG4SectorSubsystem(const std::string& name = "Sector");
23 
25  ~PHG4SectorSubsystem() override;
26 
28 
33  int Init(PHCompositeNode*) override;
34 
36 
40  int process_event(PHCompositeNode*) override;
41 
44  GetDetector(void) const override;
45  PHG4SteppingAction* GetSteppingAction(void) const override { return m_SteppingAction; }
46 
47  PHG4DisplayAction* GetDisplayAction() const override { return m_DisplayAction; }
48 
49  void
50  SuperDetector(const std::string& name)
51  {
53  }
54 
58  {
59  return geom;
60  }
61 
63  void
65  {
66  geom = g;
67  }
68 
69  private:
71 
73 
75 
77 
79 
81 
82  std::string superdetector;
83 
85 };
86 
87 #endif