Commit 53a87c99 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

DepositionGenerator: also use step hook

parent 6f3fab8a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -16,7 +16,8 @@

#include "core/config/Configuration.hpp"

#include "../DepositionGeant4/SetTrackInfoUserHookG4.hpp"
#include "modules/DepositionGeant4/SetTrackInfoUserHookG4.hpp"
#include "modules/DepositionGeant4/StepInfoUserHookG4.hpp"

namespace allpix {
    class PrimariesReader;
@@ -43,6 +44,9 @@ namespace allpix {

            // tracker hook
            SetUserAction(new SetTrackInfoUserHookG4());

            // step hook
            SetUserAction(new StepInfoUserHookG4());
        };

    private: