File indexing completed on 2025-08-05 08:17:43
0001
0002
0003 #ifndef G4DETECTORS_PHG4CEMCTESTBEAMSTEPPINGACTION_H
0004 #define G4DETECTORS_PHG4CEMCTESTBEAMSTEPPINGACTION_H
0005
0006 #include <g4main/PHG4SteppingAction.h>
0007
0008 class G4Step;
0009 class PHCompositeNode;
0010 class PHG4CEmcTestBeamDetector;
0011 class PHG4Hit;
0012 class PHG4HitContainer;
0013
0014 class PHG4CEmcTestBeamSteppingAction : public PHG4SteppingAction
0015 {
0016 public:
0017
0018 explicit PHG4CEmcTestBeamSteppingAction(PHG4CEmcTestBeamDetector*);
0019
0020
0021 ~PHG4CEmcTestBeamSteppingAction() override
0022 {
0023 }
0024
0025
0026 bool UserSteppingAction(const G4Step*, bool) override;
0027
0028
0029 void SetInterfacePointers(PHCompositeNode*) override;
0030
0031 private:
0032
0033 PHG4CEmcTestBeamDetector* detector_;
0034
0035
0036 PHG4HitContainer* hits_;
0037 PHG4HitContainer* absorberhits_;
0038 PHG4Hit* hit;
0039 };
0040
0041 #endif