ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4HcalSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4HcalSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef G4DETECTORS_PHG4HCALSTEPPINGACTION_H
4 #define G4DETECTORS_PHG4HCALSTEPPINGACTION_H
5 
7 
8 #include <cmath>
9 
10 class G4Step;
11 class PHCompositeNode;
12 class PHG4HcalDetector;
13 class PHG4Hit;
14 class PHG4HitContainer;
15 class PHG4Shower;
16 
18 {
19  public:
22 
24  ~PHG4HcalSteppingAction() override;
25 
27  bool UserSteppingAction(const G4Step*, bool) override;
28 
30  void SetInterfacePointers(PHCompositeNode*) override;
31 
32  void set_zmin(const float z) { zmin = z; }
33  void set_zmax(const float z) { zmax = z; }
34 
35  void SetLightScintModel(const bool b = true)
36  {
38  }
39 
40  private:
43 
48  PHG4Hit* m_Hit = nullptr;
50  float zmin = NAN;
51  float zmax = NAN;
52 
53  bool light_scint_model_ = true;
54 };
55 
56 #endif // PHG4VHcalSteppingAction_h