MARLEY (Model of Argon Reaction Low Energy Yields)  v1.2.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
Public Member Functions | List of all members
marley::EventProcessor Class Referenceabstract

Abstract base class for entities that take a marley::Event as input and possibly modify it. More...

#include <EventProcessor.hh>

Inheritance diagram for marley::EventProcessor:
marley::NucleusDecayer marley::ProjectileDirectionRotator

Public Member Functions

virtual void process_event (marley::Event &ev, marley::Generator &gen)=0
 Processes an input MARLEY Event object. More...
 

Detailed Description

Abstract base class for entities that take a marley::Event as input and possibly modify it.

Member Function Documentation

◆ process_event()

virtual void marley::EventProcessor::process_event ( marley::Event ev,
marley::Generator gen 
)
pure virtual

Processes an input MARLEY Event object.

Parameters
[in,out]evThe Event object to be processed
[in]genIf needed, the Generator object to use during processing (e.g., for obtaining random numbers)

Implemented in marley::NucleusDecayer, and marley::ProjectileDirectionRotator.


The documentation for this class was generated from the following file: