Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4InttSteppingAction.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4InttSteppingAction.h
1 // Tell emacs that this is a C++ source
2 // This file is really -*- C++ -*-.
3 #ifndef G4INTT_PHG4INTTSTEPPINGACTION_H
4 #define G4INTT_PHG4INTTSTEPPINGACTION_H
5 
7 
8 #include <map>
9 #include <string>
10 #include <utility> // for pair
11 #include <vector>
12 
13 class G4Step;
14 class PHCompositeNode;
15 class PHG4InttDetector;
16 class PHG4Hit;
17 class PHG4HitContainer;
18 class PHG4Shower;
20 
22 {
23  public:
24  PHG4InttSteppingAction(PHG4InttDetector *, const PHParametersContainer *parameters, const std::pair<std::vector<std::pair<int, int>>::const_iterator, std::vector<std::pair<int, int>>::const_iterator> &layer_begin_end);
25 
26  ~PHG4InttSteppingAction() override;
27 
28  bool UserSteppingAction(const G4Step *, bool) override;
29 
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;
45 
46  std::map<int, int> m_InttToTrackerLayerMap;
47  std::map<int, int> m_LadderTypeMap;
48  std::map<int, double> m_StripYMap;
49  std::map<int, std::pair<double, double>> m_StripZMap;
50  std::map<int, int> m_nStripsPhiCell;
51  std::map<int, std::pair<int, int>> m_nStripsZSensor;
52 
53  std::map<int, int> m_IsActiveMap;
54  std::map<int, int> m_IsBlackHoleMap;
57 };
58 
59 #endif // G4INTT_PHG4INTTSTEPPINGACTION_H