Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4EPDSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4EPDSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 /* vim: set sw=2 ft=cpp: */
4 
5 #ifndef G4EPD_PHG4EPDSTEPPINGACTION_H
6 #define G4EPD_PHG4EPDSTEPPINGACTION_H
7 
9 
10 #include <Geant4/G4StepStatus.hh>
11 
12 #include <string>
13 
14 class G4Step;
15 class PHCompositeNode;
16 class PHG4EPDDetector;
17 class PHG4Hit;
18 class PHG4HitContainer;
19 class PHParameters;
20 
22 {
23  public:
25  ~PHG4EPDSteppingAction() override;
26 
27  bool UserSteppingAction(const G4Step*, bool) override;
28 
29  void SetInterfacePointers(PHCompositeNode*) override;
30 
31  void SetHitNodeName(const std::string& type, const std::string& name) override;
32 
33  private:
35 
38  PHG4Hit* m_Hit = nullptr;
39 
40  G4StepStatus m_SavePostStepStatus = G4StepStatus::fUndefined;
41 
44 };
45 
46 #endif /* G4EPD_PHG4EPSTEPPINGACTION_H */