EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TpcEndCapSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4TpcEndCapSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef PHG4TPCENDCAPSTEPPINGACTION_H
4 #define PHG4TPCENDCAPSTEPPINGACTION_H
5 
7 
8 #include <string> // for string
9 
11 
12 class G4Step;
13 class G4VPhysicalVolume;
14 class PHCompositeNode;
15 class PHG4Hit;
16 class PHG4HitContainer;
17 class PHParameters;
18 
20 {
21  public:
24 
27 
29  bool UserSteppingAction(const G4Step*, bool) override;
30 
32  void SetInterfacePointers(PHCompositeNode*) override;
33 
34  void SetHitNodeName(const std::string& type, const std::string& name) override;
35 
36  private:
39  const PHParameters* m_Params = nullptr;
42  PHG4Hit* m_Hit = nullptr;
44  G4VPhysicalVolume* m_SaveVolPre = nullptr;
45  G4VPhysicalVolume* m_SaveVolPost = nullptr;
46 
47  int m_SaveTrackId = -1;
50  int m_ActiveFlag = 0;
51  int m_BlackHoleFlag = 0;
52  double m_EdepSum = 0.;
53  double m_EionSum = 0.;
54 
55  std::string m_HitNodeName;
56 };
57 
58 #endif // PHG4TPCENDCAPSTEPPINGACTION_H