File indexing completed on 2025-08-06 08:22:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef G4CALOPROTOTYPE_PHG4SPACALPROTOTYPE4STEPPINGACTION_H
0014 #define G4CALOPROTOTYPE_PHG4SPACALPROTOTYPE4STEPPINGACTION_H
0015
0016 #include <g4main/PHG4SteppingAction.h>
0017
0018 class G4Step;
0019 class PHCompositeNode;
0020 class PHG4Hit;
0021 class PHG4HitContainer;
0022 class PHG4Shower;
0023 class PHG4SpacalPrototype4Detector;
0024
0025 class PHG4SpacalPrototype4SteppingAction : public PHG4SteppingAction
0026 {
0027 public:
0028
0029 explicit PHG4SpacalPrototype4SteppingAction(PHG4SpacalPrototype4Detector *);
0030
0031
0032 virtual ~PHG4SpacalPrototype4SteppingAction()
0033 {
0034 }
0035
0036
0037 virtual bool
0038 UserSteppingAction(const G4Step *, bool);
0039
0040
0041 virtual void
0042 SetInterfacePointers(PHCompositeNode *);
0043
0044 double
0045 get_zmin();
0046
0047 double
0048 get_zmax();
0049
0050 private:
0051
0052 PHG4SpacalPrototype4Detector *detector_;
0053
0054
0055 PHG4HitContainer *hits_;
0056 PHG4HitContainer *absorberhits_;
0057 PHG4Hit *hit;
0058 PHG4HitContainer *savehitcontainer;
0059 PHG4Shower *saveshower;
0060 };
0061
0062 #endif