1#ifndef BIASING_PHOTONUCLEARPRODUCTSFILTER_H
2#define BIASING_PHOTONUCLEARPRODUCTSFILTER_H
12#include "Framework/Configure/Parameters.h"
51 void stepping(
const G4Step* step)
override;
54 std::vector<simcore::TYPE>
getTypes()
override {
55 return {simcore::TYPE::STEPPING};
File holding UserAction prototype and supporting macro.
User action used to filter out photo-nuclear events that don't see the photo-nuclear gamma produce sp...
std::vector< int > products_pdg_id_
Container to hold the PDG IDs of products of interest.
~PhotoNuclearProductsFilter()
Destructor.
void stepping(const G4Step *step) override
Callback that allows a user to take some actions at the end of a step.
std::vector< simcore::TYPE > getTypes() override
Retrieve the type of actions this class defines.
PhotoNuclearProductsFilter(const std::string &name, framework::config::Parameters ¶meters)
Constructor.
Class encapsulating parameters for configuring a processor.
Interface that defines a user action.