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