File indexing completed on 2025-08-05 08:18:14
0001
0002
0003 #ifndef G4MVTX_PHG4VMVTXSTEPPINGACTION_H
0004 #define G4MVTX_PHG4VMVTXSTEPPINGACTION_H
0005
0006 #include <g4main/PHG4SteppingAction.h>
0007
0008 class G4Step;
0009 class PHCompositeNode;
0010 class PHG4MvtxDetector;
0011 class PHG4Hit;
0012 class PHG4HitContainer;
0013 class PHG4Shower;
0014 class PHParametersContainer;
0015
0016 class PHG4MvtxSteppingAction : public PHG4SteppingAction
0017 {
0018 public:
0019
0020 PHG4MvtxSteppingAction(PHG4MvtxDetector *detector, PHParametersContainer *paramscont);
0021
0022
0023 ~PHG4MvtxSteppingAction() override;
0024
0025
0026 bool UserSteppingAction(const G4Step *, bool) override;
0027
0028
0029 void SetInterfacePointers(PHCompositeNode *) override;
0030
0031 void SetHitNodeName(const std::string &type, const std::string &name) override;
0032
0033 private:
0034
0035 PHG4MvtxDetector *m_Detector{nullptr};
0036
0037
0038 PHG4HitContainer *m_HitContainer{nullptr};
0039 PHG4HitContainer *m_SupportHitContainer{nullptr};
0040 PHG4HitContainer *m_SaveHitContainer{nullptr};
0041 PHG4Hit *m_Hit{nullptr};
0042 PHG4Shower *m_SaveShower{nullptr};
0043
0044 int m_SupportActiveFlag{0};
0045 int m_BlackHoleFlag{0};
0046
0047 std::string m_HitNodeName;
0048 std::string m_SupportNodeName;
0049 };
0050
0051 #endif