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