From 5e8f56e4f238c560968ab3ca119dc51e09b902ba Mon Sep 17 00:00:00 2001 From: Yessica Dominguez <yessicadomin@gmail.com> Date: Tue, 6 Jun 2023 20:57:38 +0000 Subject: [PATCH] Upload New File --- CODE/stepping.hh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CODE/stepping.hh diff --git a/CODE/stepping.hh b/CODE/stepping.hh new file mode 100644 index 0000000..2ef2691 --- /dev/null +++ b/CODE/stepping.hh @@ -0,0 +1,22 @@ +#ifndef STEPPING_HH +#define STEPPING_HH + +#include "G4UserSteppingAction.hh" +#include "G4ThreeVector.hh" + +class MySteppingAction : public G4UserSteppingAction +{ +public: + MySteppingAction(); + virtual ~MySteppingAction(); + + virtual void UserSteppingAction(const G4Step* step); + + void SetStartPosition(const G4ThreeVector& position); + +private: + G4ThreeVector startPosition; +}; + +#endif // MYSTEPPINGACTION_H + -- GitLab