EpIC 1.1.0
Monte Carlo generator for exclusive processes
|
Container to store general configuration of generator. More...
#include <GeneralConfiguration.h>
Public Member Functions | |
GeneralConfiguration () | |
GeneralConfiguration (size_t nEvents, const std::string &histogramFilePath) | |
GeneralConfiguration (const GeneralConfiguration &other) | |
virtual | ~GeneralConfiguration () |
virtual std::string | toString () const |
size_t | getNEvents () const |
void | setNEvents (size_t nEvents) |
const std::string & | getHistogramFilePath () const |
void | setHistogramFilePath (const std::string &histogramFilePath) |
Static Public Member Functions | |
static GeneralConfiguration | fromTask (const MonteCarloTask &task) |
Container to store general configuration of generator.
This class acts as a container to store general configuration of generator, like number of events to be generated.
EPIC::GeneralConfiguration::GeneralConfiguration | ( | ) |
Default constructor.
EPIC::GeneralConfiguration::GeneralConfiguration | ( | size_t | nEvents, |
const std::string & | histogramFilePath | ||
) |
Assignment constructor.
EPIC::GeneralConfiguration::GeneralConfiguration | ( | const GeneralConfiguration & | other | ) |
Copy constructor.
|
virtual |
Destructor.
|
static |
Build from task.
const std::string & EPIC::GeneralConfiguration::getHistogramFilePath | ( | ) | const |
Get path to file storing debugging histograms.
size_t EPIC::GeneralConfiguration::getNEvents | ( | ) | const |
Get number of events.
void EPIC::GeneralConfiguration::setHistogramFilePath | ( | const std::string & | histogramFilePath | ) |
Set path to file storing debugging histograms.
void EPIC::GeneralConfiguration::setNEvents | ( | size_t | nEvents | ) |
Set number of events.