EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4LmonSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4LmonSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4LMONSUBSYSTEM_H
4 #define G4LMONSUBSYSTEM_H
5 
6 #include <g4main/PHG4Subsystem.h>
7 
8 #include <string>
9 
10 class PHCompositeNode;
11 class PHG4Detector;
12 class G4LmonDetector;
13 class PHG4SteppingAction;
14 class RootOut;
15 class PHG4EventAction;
16 
28 {
29  public:
31  G4LmonSubsystem(const std::string& name = "LMon");
32 
34  virtual ~G4LmonSubsystem(){}
35 
41  virtual int Init(PHCompositeNode*);
42 
44 
48  virtual int process_event(PHCompositeNode*);
49 
51  PHG4Detector* GetDetector() const;
52 
54 
57  virtual void Print(const std::string& what = "ALL") const;
58  void SetFileName(const std::string &fname) {m_rootname = fname;}
59  private:
60 
62 
64 
66 
70  std::string m_rootname;
71 };
72 
73 #endif // G4LMONSUBSYSTEM_H