ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TpcSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4TpcSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4TPC_PHG4TPCSUBSYSTEM_H
4 #define G4TPC_PHG4TPCSUBSYSTEM_H
5 
7 
8 #include <string>
9 
10 class PHCompositeNode;
11 class PHG4Detector;
12 class PHG4DisplayAction;
13 class PHG4SteppingAction;
14 class PHG4TpcDetector;
15 
17 {
18  public:
20  PHG4TpcSubsystem(const std::string &name = "TPC", const int layer = 0);
21 
23  ~PHG4TpcSubsystem() override;
24 
31  int InitRunSubsystem(PHCompositeNode *) override;
32 
34 
38  int process_event(PHCompositeNode *) override;
39 
41  void Print(const std::string &what = "ALL") const override;
42 
44  PHG4Detector *GetDetector(void) const override;
45 
46  PHG4SteppingAction *GetSteppingAction(void) const override { return m_SteppingAction; }
47 
48  PHG4DisplayAction *GetDisplayAction() const override { return m_DisplayAction; }
49 
50  private:
51  void SetDefaultParameters() override;
52 
54 
56 
58 
60 
62 
64 
65  std::string m_HitNodeName;
66  std::string m_AbsorberNodeName;
67 };
68 
69 #endif