Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Example01Subsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4Example01Subsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4EXAMPLE01SUBSYSTEM_H
4 #define G4EXAMPLE01SUBSYSTEM_H
5 
6 #include <g4main/PHG4Subsystem.h>
7 
8 #include <string>
9 
10 class PHCompositeNode;
11 class PHG4Detector;
13 class PHG4SteppingAction;
14 
26 {
27  public:
29  G4Example01Subsystem(const std::string& name = "Example01");
30 
32  virtual ~G4Example01Subsystem() {}
33 
39  virtual int Init(PHCompositeNode*);
40 
42 
46  virtual int process_event(PHCompositeNode*);
47 
49  virtual PHG4Detector* GetDetector() const;
50 
53  virtual void Print(const std::string& what = "ALL") const;
54 
55  private:
57 
59 
61 
63 };
64 
65 #endif // G4EXAMPLE01SUBSYSTEM_H