EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4MicromegasSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4MicromegasSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4MICROMEGAS_PHG4MICROMEGASSTEPPINGACTION_H
4 #define G4MICROMEGAS_PHG4MICROMEGASSTEPPINGACTION_H
5 
12 
13 #include <memory>
14 
16 
17 class G4Step;
18 class G4VPhysicalVolume;
19 class PHCompositeNode;
20 class PHG4Hit;
21 class PHG4HitContainer;
22 class PHParameters;
23 
25 {
26 
27  public:
28 
31 
33  bool UserSteppingAction(const G4Step*, bool) override;
34 
36  void SetInterfacePointers(PHCompositeNode*) override;
37 
38  private:
39 
42 
43  const PHParameters* m_Params = nullptr;
44 
47 
49  std::unique_ptr<PHG4Hit> m_hit;
50 
52  G4VPhysicalVolume* m_SaveVolPre = nullptr;
53  G4VPhysicalVolume* m_SaveVolPost = nullptr;
54 
55  int m_SaveTrackId = -1;
58  int m_ActiveFlag = 0;
59  int m_BlackHoleFlag = 0;
60  double m_EdepSum = 0;
61  double m_EionSum = 0;
62 };
63 
64 #endif // MICROMEGASSTEPPINGACTION_H