MARLEY (Model of Argon Reaction Low Energy Yields) v2.0.0
A Monte Carlo event generator for tens-of-MeV neutrino interactions
Loading...
Searching...
No Matches
marley::EventProcessor Class Referenceabstract

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

#include <EventProcessor.hh>

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

Public Member Functions

virtual void process_event (HepMC3::GenEvent &ev, marley::Generator &gen)=0
 Processes an input GenEvent object.
 

Detailed Description

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

Definition at line 30 of file EventProcessor.hh.

Constructor & Destructor Documentation

◆ EventProcessor()

marley::EventProcessor::EventProcessor ( )
inline

Definition at line 34 of file EventProcessor.hh.

34{}

Member Function Documentation

◆ process_event()

virtual void marley::EventProcessor::process_event ( HepMC3::GenEvent & ev,
marley::Generator & gen )
pure virtual

Processes an input GenEvent object.

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

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


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