EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4FPbScSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4FPbScSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4FPBSCSUBSYSTEM_H
4 #define G4DETECTORS_PHG4FPBSCSUBSYSTEM_H
5 
6 #include <g4main/PHG4Subsystem.h>
7 
8 #include <string> // for string
9 
10 class PHCompositeNode;
11 class PHG4Detector;
12 class PHG4FPbScDetector;
13 class PHG4EventAction;
14 class PHG4SteppingAction;
15 
17 {
18  public:
20  PHG4FPbScSubsystem(const std::string& name = "FPBSC");
21 
23  virtual ~PHG4FPbScSubsystem(void)
24  {
25  }
26 
28 
33  int Init(PHCompositeNode*);
34 
36 
41 
43  virtual PHG4Detector* GetDetector(void) const;
44  virtual PHG4SteppingAction* GetSteppingAction(void) const;
45 
47 
48  void set_Place(double x, double y, double z)
49  {
50  x_position = x;
51  y_position = y;
52  z_position = z;
53  }
54 
55  private:
57 
59 
61 
64 
65  double x_position;
66  double y_position;
67  double z_position;
68 };
69 
70 #endif