Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TpcSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4TpcSteppingAction.h
1 #ifndef G4TPC_PHG4VTPCSTEPPINGACTION_H
2 #define G4TPC_PHG4VTPCSTEPPINGACTION_H
3 
5 
6 #include <string>
7 
8 class G4Step;
10 class PHCompositeNode;
11 class PHG4TpcDetector;
12 class PHG4Hit;
13 class PHG4HitContainer;
14 class PHG4Shower;
15 class PHParameters;
16 
18 {
19  public:
22 
24  ~PHG4TpcSteppingAction() override;
25 
27  bool UserSteppingAction(const G4Step *, bool) override;
28 
30  void SetInterfacePointers(PHCompositeNode *) override;
31 
32  void SetHitNodeName(const std::string &type, const std::string &name) override;
33 
34  private:
37 
41  PHG4Hit *m_Hit = nullptr;
42  const PHParameters *m_Params = nullptr;
44  PHG4Shower *m_Shower = nullptr;
47  int m_SaveTrackId = -1;
50  // since getting parameters is a map search we do not want to
51  // do this in every step, the parameters used are cached
52  // in the following variables
55 
58 };
59 
60 #endif // G4TPC_PHG4TPCSTEPPINGACTION_H