EpIC 1.1.0
Monte Carlo generator for exclusive processes
|
Definition of module for generation of events from a given distribution. More...
#include <EventGeneratorModule.h>
Public Member Functions | |
EventGeneratorModule (const std::string &className) | |
EventGeneratorModule (const EventGeneratorModule &other) | |
virtual | ~EventGeneratorModule () |
virtual void | configure (const ElemUtils::Parameters ¶meters) |
virtual bool | runTest () const |
virtual void | initialise (const std::vector< KinematicRange > &kinematicRanges, const EventGeneratorInterface &service)=0 |
virtual std::pair< std::vector< double >, double > | generateEvent ()=0 |
virtual std::pair< double, double > | getIntegral ()=0 |
const std::string & | getInitStatePath () const |
void | setInitStatePath (const std::string &initStatePath) |
Public Member Functions inherited from EPIC::EpicModuleObject | |
virtual | ~EpicModuleObject () |
virtual bool | runTest () const =0 |
size_t | getSeed () const |
Protected Member Functions | |
virtual void | initModule () |
virtual void | isModuleWellConfigured () |
Protected Member Functions inherited from EPIC::EpicModuleObject | |
EpicModuleObject (const std::string &className, PARTONS::ChannelType::Type channelType) | |
EpicModuleObject (const EpicModuleObject &other) | |
Protected Attributes | |
std::string | m_initStatePath |
Path to file to either load (if exist) or save (if not) initial state of generator. | |
Protected Attributes inherited from EPIC::EpicModuleObject | |
size_t | m_seed |
Random seed. | |
Definition of module for generation of events from a given distribution.
This class provides a definition of modules used to generate events from given distributions.
EPIC::EventGeneratorModule::EventGeneratorModule | ( | const std::string & | className | ) |
Constructor.
EPIC::EventGeneratorModule::EventGeneratorModule | ( | const EventGeneratorModule & | other | ) |
Copy constructor.
|
virtual |
Destructor.
|
pure virtual |
Generate event.
Implemented in EPIC::EventGeneratorFOAM.
const std::string & EPIC::EventGeneratorModule::getInitStatePath | ( | ) | const |
Get path to state file.
|
pure virtual |
Get integral over distribution and integrated error.
Implemented in EPIC::EventGeneratorFOAM.
|
pure virtual |
Initialize.
Implemented in EPIC::EventGeneratorFOAM.
|
virtual |
Definition of test.
Implements EPIC::EpicModuleObject.
void EPIC::EventGeneratorModule::setInitStatePath | ( | const std::string & | initStatePath | ) |
Set path to state file.