ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4ForwardHcalSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4ForwardHcalSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4FORWARDHCALSTEPPINGACTION_H
4 #define G4DETECTORS_PHG4FORWARDHCALSTEPPINGACTION_H
5 
7 
8 #include <Geant4/G4TouchableHandle.hh>
9 
10 class G4Step;
11 class G4VPhysicalVolume;
12 class PHCompositeNode;
14 class PHG4Hit;
15 class PHG4HitContainer;
16 class PHG4Shower;
17 class PHParameters;
18 
20 {
22  public:
25 
28 
30  bool UserSteppingAction(const G4Step*, bool) override;
31 
33  void SetInterfacePointers(PHCompositeNode*) override;
34 
35  void SetHitNodeName(const std::string& nam) { m_HitNodeName = nam; }
36  void SetAbsorberNodeName(const std::string& nam) { m_AbsorberNodeName = nam; }
37  void SetSupportNodeName(const std::string& nam) { m_SupportNodeName = nam; }
38 
39  private:
42 
48  PHG4Hit* m_Hit = nullptr;
50 
51  int m_ActiveFlag = 0;
54  int m_BlackHoleFlag = 0;
55 
56  std::string m_HitNodeName;
57  std::string m_AbsorberNodeName;
58  std::string m_SupportNodeName;
59 };
60 
61 #endif // G4DETECTORS_PHG4FORWARDHCALSTEPPINGACTION_H