Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4BbcSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4BbcSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 // $Id$
4 
13 #ifndef G4DETECTORS_PHG4BBCSUBSYSTEM_H
14 #define G4DETECTORS_PHG4BBCSUBSYSTEM_H
15 
16 #include "PHG4DetectorSubsystem.h"
17 
18 #include <string>
19 
20 class PHCompositeNode;
21 class PHG4Detector;
22 class PHG4DisplayAction;
23 class PHG4BbcDetector;
24 class PHG4SteppingAction;
25 
38 {
39  public:
41  PHG4BbcSubsystem(const std::string& name = "BBC");
42 
44  ~PHG4BbcSubsystem(void) override;
45 
49  int InitRunSubsystem(PHCompositeNode*) override;
50 
52 
56  int process_event(PHCompositeNode*) override;
57 
59  PHG4Detector* GetDetector() const override;
60  PHG4SteppingAction* GetSteppingAction(void) const override { return m_SteppingAction; };
61  PHG4DisplayAction* GetDisplayAction() const override { return m_DisplayAction; }
62 
64  void Print(const std::string& what = "ALL") const override;
65 
66  protected:
67  // \brief Set default parameter values
68  void SetDefaultParameters() override;
69 
71 
73 
75 
77 
79 
81 
84 };
85 
86 #endif