1#ifndef BIASING_ECALPROCESSFILTER_H
2#define BIASING_ECALPROCESSFILTER_H
12#include "SimCore/UserAction.h"
17#include "Framework/Configure/Parameters.h"
41 void stepping(
const G4Step* step)
override;
52 const G4Track* aTrack,
53 const G4ClassificationOfNewTrack& currentTrackClass)
override;
56 std::vector<simcore::TYPE>
getTypes()
override {
57 return {simcore::TYPE::STACKING, simcore::TYPE::STEPPING};
68 enableLogging(
"EcalProcessFilter")
Base classes for all user event processing components to extend.
User action plugin that filters events that don't see a hard brem from the target undergo a photo-nuc...
std::vector< simcore::TYPE > getTypes() override
Retrieve the type of actions this class defines.
G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack, const G4ClassificationOfNewTrack ¤tTrackClass) override
Classify a new track which postpones track processing.
void stepping(const G4Step *step) override
Method called after each simulation step.
std::string process_
Process to filter.
~EcalProcessFilter()
Destructor.
G4Track * currentTrack_
Pointer to the current track being processed.
Class encapsulating parameters for configuring a processor.
Interface that defines a user action.