Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4BbcSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4BbcSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4BBCSTEPPINGACTION_H
4 #define G4DETECTORS_PHG4BBCSTEPPINGACTION_H
5 
7 
8 #include <string> // for string
9 
10 class G4Step;
11 class G4VPhysicalVolume;
12 class PHCompositeNode;
13 class PHG4BbcDetector;
14 class PHG4Hit;
15 class PHG4HitContainer;
16 class PHParameters;
17 
19 {
20  public:
23 
25  ~PHG4BbcSteppingAction() override;
26 
28  bool UserSteppingAction(const G4Step*, bool) override;
29 
31  void SetInterfacePointers(PHCompositeNode*) override;
32 
33  void SetHitNodeName(const std::string& type, const std::string& name) override;
34 
35  private:
38 
42  const PHParameters* m_Params = nullptr;
43  PHG4Hit* m_Hit = nullptr;
45 
48 
49  int m_SaveTrackId = -1;
52  int m_ActiveFlag = 0;
53  int m_BlackHoleFlag = 0;
54  int m_SupportFlag = 0;
55  double m_EdepSum = 0.;
56  double m_EionSum = 0.;
57  double m_PathLen = 0.;
58 
61 };
62 
63 #endif // G4DETECTORS_PHG4BBCSTEPPINGACTION_H