Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:13

0001 // Tell emacs that this is a C++ source
0002 // -*- C++ -*-.
0003 #ifndef G4MVTX_PHG4EICMVTXSTEPPINGACTION_H
0004 #define G4MVTX_PHG4EICMVTXSTEPPINGACTION_H
0005 
0006 #include <g4main/PHG4SteppingAction.h>
0007 
0008 class G4Step;
0009 class PHCompositeNode;
0010 class PHG4EICMvtxDetector;
0011 class PHG4Hit;
0012 class PHG4HitContainer;
0013 class PHG4Shower;
0014 
0015 class PHG4EICMvtxSteppingAction : public PHG4SteppingAction
0016 {
0017  public:
0018   //! constructor
0019   PHG4EICMvtxSteppingAction(PHG4EICMvtxDetector *);
0020 
0021   //! destroctor
0022   ~PHG4EICMvtxSteppingAction() override;
0023 
0024   //! stepping action
0025   bool UserSteppingAction(const G4Step *, bool) override;
0026 
0027   //! reimplemented from base class
0028   void SetInterfacePointers(PHCompositeNode *) override;
0029 
0030  private:
0031   //! pointer to the detector
0032   PHG4EICMvtxDetector *m_Detector;
0033 
0034   //! pointer to hit container
0035   PHG4HitContainer *m_HitContainer;
0036   PHG4HitContainer *m_AbsorberhitContainer;
0037   PHG4Hit *m_Hit;
0038   PHG4Shower *m_SaveShower;
0039 };
0040 
0041 #endif  // G4MVTX_PHG4VMVTXSTEPPINGACTION_EIC_H