1#ifndef BIASING_UTILITY_DECAYCHILDRENKEEPER_H
2#define BIASING_UTILITY_DECAYCHILDRENKEEPER_H
12#include "SimCore/UserAction.h"
61 std::vector<simcore::TYPE>
getTypes()
override {
62 return {simcore::TYPE::TRACKING};
Filter to keep tracks that are the products of certain particle's decays.
std::vector< simcore::TYPE > getTypes() override
Retrieve the type of actions this class defines.
std::vector< int > parents_
The PDG IDs for which to keep decay children.
void PostUserTrackingAction(const G4Track *track) override
Method called when a track is done being processed.
~DecayChildrenKeeper()
Destructor.
Class encapsulating parameters for configuring a processor.
Interface that defines a user action.