EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4BarrelEcalSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4BarrelEcalSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4PHG4BARRELECALSTEPPINGACTION_H
4 #define G4DETECTORS_PHG4PHG4BARRELECALSTEPPINGACTION_H
5 
7 
8 class G4Step;
9 class G4VPhysicalVolume;
10 class PHCompositeNode;
12 class PHG4Hit;
13 class PHG4HitContainer;
14 class PHG4Shower;
15 class PHParameters;
16 
18 {
20  public:
23 
26 
28  bool UserSteppingAction(const G4Step*, bool) override;
29  ;
30 
32  void SetInterfacePointers(PHCompositeNode*) override;
33 
34  void SetHitNodeName(const std::string& nam) { m_HitNodeName = nam; }
35  void SetAbsorberNodeName(const std::string& nam) { m_AbsorberNodeName = nam; }
36  void SetSupportNodeName(const std::string& nam) { m_SupportNodeName = nam; }
37 
38  private:
41 
47  PHG4Hit* m_Hit = nullptr;
49 
50  int m_ActiveFlag = 0;
52  //int m_SupportTruthFlag = 0;
53  int m_BlackHoleFlag = 0;
54 
55  std::string m_HitNodeName;
56  std::string m_AbsorberNodeName;
57  std::string m_SupportNodeName;
58 };
59 
60 #endif