File indexing completed on 2025-08-06 08:22:08
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013 #ifndef G4CALOPROTOTYPE_PHG4SPACALPROTOTYPESTEPPINGACTION_H
0014 #define G4CALOPROTOTYPE_PHG4SPACALPROTOTYPESTEPPINGACTION_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 PHG4SpacalPrototypeDetector;
0024
0025 class PHG4SpacalPrototypeSteppingAction : public PHG4SteppingAction
0026 {
0027
0028 public:
0029
0030
0031 explicit PHG4SpacalPrototypeSteppingAction(PHG4SpacalPrototypeDetector*);
0032
0033
0034 virtual
0035 ~PHG4SpacalPrototypeSteppingAction()
0036 {
0037 }
0038
0039
0040 virtual bool
0041 UserSteppingAction(const G4Step*, bool);
0042
0043
0044 virtual void
0045 SetInterfacePointers(PHCompositeNode*);
0046
0047 double
0048 get_zmin();
0049
0050 double
0051 get_zmax();
0052 private:
0053
0054
0055 PHG4SpacalPrototypeDetector* detector_;
0056
0057
0058 PHG4HitContainer * hits_;
0059 PHG4HitContainer * absorberhits_;
0060 PHG4Hit *hit;
0061 PHG4HitContainer *savehitcontainer;
0062 PHG4Shower *saveshower;
0063 };
0064
0065 #endif