ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4BeamlineMagnetSubsystem.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4BeamlineMagnetSubsystem.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4BEAMLINEMAGNETSUBSYSTEM_H
4 #define G4DETECTORS_PHG4BEAMLINEMAGNETSUBSYSTEM_H
5 
7 
8 #include <string> // for string
9 
10 class PHCompositeNode;
12 class PHG4Detector;
13 
15 {
16 
17  public:
18 
20  PHG4BeamlineMagnetSubsystem( const std::string &name = "CYLINDER", const int layer = 0 );
21 
24  {}
25 
27 
32  int InitRunSubsystem(PHCompositeNode *) override;
33 
35 
39  int process_event(PHCompositeNode *) override;
40 
42  void Print(const std::string &what = "ALL") const override;
43 
45  PHG4Detector* GetDetector( void ) const override;
46 
47  private:
48  void SetDefaultParameters() override;
49 
51 
53 
54 };
55 
56 #endif