1#ifndef BIASING_UTILITY_STEPPRINTER_H
2#define BIASING_UTILITY_STEPPRINTER_H
8#include "SimCore/UserAction.h"
37 void stepping(
const G4Step* step)
override;
40 std::vector<simcore::TYPE>
getTypes()
override {
41 return {simcore::TYPE::STEPPING};
47 std::string processName_{
"UNDEFINED"};
49 std::unordered_map<int, int> trackParents_{};
Class which implements the user tracking action.
User stepping action used to print the details of a step.
std::vector< simcore::TYPE > getTypes() override
Retrieve the type of actions this class defines.
virtual ~StepPrinter()=default
Destructor.
int trackID_
The track ID to filter on.
void stepping(const G4Step *step) override
Stepping action called when a step is taken during tracking of a particle.
Class encapsulating parameters for configuring a processor.
Interface that defines a user action.