File indexing completed on 2025-08-05 08:17:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef G4DETECTORS_PHG4GDMLSUBSYSTEM_H
0014 #define G4DETECTORS_PHG4GDMLSUBSYSTEM_H
0015
0016 #include "PHG4DetectorSubsystem.h"
0017
0018 #include <string>
0019
0020 class PHCompositeNode;
0021 class PHG4GDMLDetector;
0022 class PHG4Detector;
0023 class PHG4SteppingAction;
0024
0025
0026
0027
0028 class PHG4GDMLSubsystem : public PHG4DetectorSubsystem
0029 {
0030 public:
0031 explicit PHG4GDMLSubsystem(const std::string& name);
0032 ~PHG4GDMLSubsystem() override;
0033
0034
0035
0036
0037
0038
0039 int InitRunSubsystem(PHCompositeNode*) override;
0040
0041
0042
0043
0044
0045
0046 int process_event(PHCompositeNode*) override;
0047
0048
0049 void Print(const std::string& what = "ALL") const override;
0050
0051
0052 PHG4Detector* GetDetector(void) const override;
0053 PHG4SteppingAction* GetSteppingAction(void) const override { return nullptr; }
0054
0055 private:
0056 void SetDefaultParameters() override;
0057
0058
0059
0060 PHG4GDMLDetector* m_Detector = nullptr;
0061 };
0062
0063 #endif