ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4SpacalSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4SpacalSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
11 #ifndef G4DETECTORS_PHG4SPACALSUBSYSTEM_H
12 #define G4DETECTORS_PHG4SPACALSUBSYSTEM_H
13 
14 #include "PHG4DetectorSubsystem.h"
15 
16 #include <string> // for string
17 
18 class PHCompositeNode;
19 class PHG4Detector;
20 class PHG4DisplayAction;
21 class PHG4SpacalDetector;
22 class PHG4SteppingAction;
23 
25 {
26  public:
28  PHG4SpacalSubsystem(const std::string &name = "PHG4SpacalSubsystem",
29  const int layer = 0);
30 
32  ~PHG4SpacalSubsystem() override;
33 
35 
41  int InitRunSubsystem(PHCompositeNode *) override;
42 
44 
48  int process_event(PHCompositeNode *) override;
49 
51  PHG4Detector *GetDetector() const override;
53 
54  PHG4DisplayAction *GetDisplayAction() const override { return m_DisplayAction; }
55 
56  void
57  Print(const std::string &what = "ALL") const override;
58 
59  void CosmicSetup(const int i) { m_CosmicSetupFlag = i; }
60  int CosmicSetup() const { return m_CosmicSetupFlag; }
61 
62  private:
63  void SetDefaultParameters() override;
64  // SpacalGeom_t _geom;
65 
67 
69 
71 
73 
75 
77 
79 };
80 
81 #endif