|
LDMX Software
|
Public Member Functions | |
| TargetENProcessFilter (const std::string &name, framework::config::Parameters ¶meters) | |
| Class constructor. | |
| ~TargetENProcessFilter () | |
| Destructor. | |
| void | stepping (const G4Step *step) override |
| Implementmthe stepping action which performs the target volume biasing. | |
| void | EndOfEventAction (const G4Event *) override |
| End of event action. | |
| std::vector< simcore::TYPE > | getTypes () override |
| Retrieve the type of actions this class defines. | |
Public Member Functions inherited from simcore::UserAction | |
| UserAction (const std::string &name, framework::config::Parameters ¶meters) | |
| Constructor. | |
| DECLARE_FACTORY (UserAction, std::shared_ptr< UserAction >, const std::string &, framework::config::Parameters &) | |
| factory for user actions | |
| virtual | ~UserAction ()=default |
| Destructor. | |
| virtual void | BeginOfEventAction (const G4Event *) |
| Method called at the beginning of every event. | |
| virtual void | BeginOfRunAction (const G4Run *) |
| Method called at the beginning of a run. | |
| virtual void | EndOfRunAction (const G4Run *) |
| Method called at the end of a run. | |
| virtual void | PreUserTrackingAction (const G4Track *) |
| Method called before the UserTrackingAction. | |
| virtual void | PostUserTrackingAction (const G4Track *) |
| Method called after the UserTrackingAction. | |
| virtual G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *, const G4ClassificationOfNewTrack &cl) |
| Method called when a track is updated. | |
| virtual void | NewStage () |
| Method called at the beginning of a new stage. | |
| virtual void | PrepareNewEvent () |
| Method called at the beginning of a new event. | |
Private Attributes | |
| bool | reaction_occurred_ {false} |
| Flag indicating if the reaction of intereset occurred. | |
| double | recoil_energy_threshold_ {1500} |
| Energy that the recoil electron must not surpass. | |
| std::string | process_ {"electronNuclear"} |
| Process to filter on. | |
Additional Inherited Members | |
Protected Member Functions inherited from simcore::UserAction | |
| UserEventInformation * | getEventInfo () const |
| Get a handle to the event information. | |
| const std::map< int, ldmx::SimParticle > & | getCurrentParticleMap () const |
| Get the current particle map. | |
Protected Attributes inherited from simcore::UserAction | |
| std::string | name_ {""} |
| Name of the UserAction. | |
| framework::config::Parameters | parameters_ |
| The set of parameters used to configure this class. | |
| mutable::framework::logging::logger | the_log_ |
the logging channel user actions can use ldmx_log with | |
Definition at line 27 of file TargetENProcessFilter.h.
| biasing::TargetENProcessFilter::TargetENProcessFilter | ( | const std::string & | name, |
| framework::config::Parameters & | parameters ) |
Class constructor.
Definition at line 24 of file TargetENProcessFilter.cxx.
References framework::config::Parameters::get(), and recoil_energy_threshold_.
| biasing::TargetENProcessFilter::~TargetENProcessFilter | ( | ) |
|
overridevirtual |
End of event action.
Reimplemented from simcore::UserAction.
Definition at line 102 of file TargetENProcessFilter.cxx.
References reaction_occurred_.
|
inlineoverridevirtual |
Retrieve the type of actions this class defines.
Implements simcore::UserAction.
Definition at line 50 of file TargetENProcessFilter.h.
|
overridevirtual |
Implementmthe stepping action which performs the target volume biasing.
| step | The Geant4 step. |
Reimplemented from simcore::UserAction.
Definition at line 32 of file TargetENProcessFilter.cxx.
References process_, reaction_occurred_, and recoil_energy_threshold_.
|
private |
Process to filter on.
Definition at line 62 of file TargetENProcessFilter.h.
Referenced by stepping().
|
private |
Flag indicating if the reaction of intereset occurred.
Definition at line 56 of file TargetENProcessFilter.h.
Referenced by EndOfEventAction(), and stepping().
|
private |
Energy that the recoil electron must not surpass.
Definition at line 59 of file TargetENProcessFilter.h.
Referenced by stepping(), and TargetENProcessFilter().