Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4PSTOFSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4PSTOFSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4PSTOFSTEPPINGACTION_H
4 #define G4DETECTORS_PHG4PSTOFSTEPPINGACTION_H
5 
7 
8 class G4Step;
10 class PHCompositeNode;
11 class PHG4PSTOFDetector;
12 class PHG4Hit;
13 class PHG4HitContainer;
15 
17 {
18  public:
21 
23  ~PHG4PSTOFSteppingAction() override;
24 
26  bool UserSteppingAction(const G4Step*, bool) override;
27 
29  void SetInterfacePointers(PHCompositeNode*) override;
30 
31  private:
35  PHG4HitContainer* hits_ = nullptr;
36  PHG4Hit* hit = nullptr;
38 
41  int savetrackid = -1;
44  double edepsum = 0.;
45  double eionsum = 0.;
46 };
47 
48 #endif // PHG4PSTOFSteppingAction_h__