ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4TRDSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4TRDSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4TRDSTEPPINGACTION_H
4 #define G4DETECTORS_PHG4TRDSTEPPINGACTION_H
5 
7 
8 #include <string>
9 
10 class G4Step;
11 class G4VPhysicalVolume;
12 class PHCompositeNode;
13 class PHG4TRDDetector;
14 class PHG4TRDSubsystem;
15 class PHG4Hit;
16 class PHG4HitContainer;
17 class PHG4Shower;
18 class PHParameters;
19 
21 {
22  public:
24  // PHG4TRDSteppingAction(PHG4TRDSubsystem *subsys, PHG4TRDDetector *detector, const PHParameters *parameters);
26 
28  ~PHG4TRDSteppingAction() override;
29 
31  bool UserSteppingAction(const G4Step *, bool) override;
32 
34  void SetInterfacePointers(PHCompositeNode *) override;
35 
36  // needed for hit position crosschecks, if this volume is inside
37  // another volume the absolut hit coordinates in our G4Hits and
38  // the local coordinates differ, so checking against our place in z
39  // goes wrong
40  //bool hasMotherSubsystem() const;
41 
42  //void HitNodeName(const std::string &name) {m_HitNodeName = name;}
43 
44  private:
46  //PHG4TRDSubsystem *m_Subsystem;
50 
57 
60 
67  double m_Zmin;
68  double m_Zmax;
69  //double m_EdepSum;
70  //std::string m_HitNodeName;
71 };
72 
73 #endif