8#ifndef BIASING_TARGETENPROCESSFILTER_H
9#define BIASING_TARGETENPROCESSFILTER_H
14#include "SimCore/UserAction.h"
37 void stepping(
const G4Step* step)
override;
45 std::vector<simcore::TYPE>
getTypes()
override {
46 return {simcore::TYPE::EVENT, simcore::TYPE::STEPPING};
void EndOfEventAction(const G4Event *) override
End of event action.
bool reactionOccurred_
Flag indicating if the reaction of intereset occurred.
std::string volumeName_
The volume name of the LDMX target.
void stepping(const G4Step *step) override
Implementmthe stepping action which performs the target volume biasing.
double recoilEnergyThreshold_
Energy that the recoil electron must not surpass.
~TargetENProcessFilter()
Destructor.
std::string process_
Process to filter on.
std::vector< simcore::TYPE > getTypes() override
Retrieve the type of actions this class defines.
Class encapsulating parameters for configuring a processor.
Interface that defines a user action.