EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4Example02Subsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4Example02Subsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4EXAMPLE02SUBSYSTEM_H
4 #define G4EXAMPLE02SUBSYSTEM_H
5 
7 
8 #include <string>
9 
10 class PHCompositeNode;
11 class PHG4Detector;
13 class PHG4SteppingAction;
14 
26 {
27  public:
29  G4Example02Subsystem(const std::string& name = "Example02");
30 
32  virtual ~G4Example02Subsystem() {}
33 
39  virtual int InitRunSubsystem(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:
56  // \brief Set default parameter values
57  void SetDefaultParameters();
58 
60 
62 
64 
66 };
67 
68 #endif // G4EXAMPLE02SUBSYSTEM_H