Interface to the Herwig7 API.
More...
#include <Herwig7.h>
|
| | Herwig7API () |
| | Constructor.
|
| | ~Herwig7API () |
| | Destructor.
|
| Herwig::RunMode::Mode | runMode () const |
| | Requested Herwig run mode.
|
| virtual bool | resume () const |
| | Try to resume execution from an earlier interrupted run.
|
| virtual bool | tics () const |
| | Require verbose progress markers.
|
| virtual std::string | repository () const |
| | Repository name to operate on.
|
| virtual std::string | inputfile () const |
| | Name of the file to be read.
|
| void | inputfile (const std::string &inputfile) |
| virtual std::string | setupfile () const |
| | Name of the setup file to be read, to modify the repository.
|
| virtual std::string | tag () const |
| | A user-defined tag to append to the run name.
|
| virtual std::string | integrationList () const |
| | An identifier for the integration job to be handled.
|
| virtual const std::vector< std::string > & | prependReadDirectories () const |
| | Directories from which Herwig reads input files, will be prepended to the search path.
|
| virtual const std::vector< std::string > & | appendReadDirectories () const |
| | Directories from which Herwig reads input files, will be appended to the search path.
|
| virtual long | N () const |
| virtual int | seed () const |
| | The number of events to generate.
|
| void | seed (int seed) |
| | The seed to use.
|
| virtual int | jobs () const |
| virtual unsigned int | jobSize () const |
| | The number of jobs to fork.
|
| virtual unsigned int | maxJobs () const |
| | The number of subprocesses to integrate per integratoin job.
|
| virtual void | quitWithHelp () const |
| | The maximum number of integration jobs.
|
| virtual void | quit () const |
| | Bail out and be quiet.
|
| virtual std::ostream & | outStream () const |
| | Return the standard out stream to be used.
|
| virtual std::ostream & | errStream () const |
| | Return the standard err stream to be used.
|
| virtual std::istream & | inStream () const |
| | Return the standard in stream to be used.
|
Interface to the Herwig7 API.
Definition at line 24 of file Herwig7.h.
◆ Herwig7API()
| Herwig7API::Herwig7API |
( |
| ) |
|
|
inline |
◆ ~Herwig7API()
| Herwig7API::~Herwig7API |
( |
| ) |
|
|
inline |
◆ appendReadDirectories()
| virtual const std::vector< std::string > & Herwig7API::appendReadDirectories |
( |
| ) |
const |
|
inlinevirtual |
Directories from which Herwig reads input files, will be appended to the search path.
Definition at line 69 of file Herwig7.h.
std::vector< std::string > m_appendReadDirectories
◆ errStream()
| virtual std::ostream & Herwig7API::errStream |
( |
| ) |
const |
|
inlinevirtual |
Return the standard err stream to be used.
Definition at line 99 of file Herwig7.h.
◆ inputfile() [1/2]
| virtual std::string Herwig7API::inputfile |
( |
| ) |
const |
|
inlinevirtual |
◆ inputfile() [2/2]
| void Herwig7API::inputfile |
( |
const std::string & | inputfile | ) |
|
|
inline |
Definition at line 53 of file Herwig7.h.
virtual std::string inputfile() const
Name of the file to be read.
◆ inStream()
| virtual std::istream & Herwig7API::inStream |
( |
| ) |
const |
|
inlinevirtual |
Return the standard in stream to be used.
Definition at line 102 of file Herwig7.h.
◆ integrationList()
| virtual std::string Herwig7API::integrationList |
( |
| ) |
const |
|
inlinevirtual |
An identifier for the integration job to be handled.
Definition at line 62 of file Herwig7.h.
std::string m_integrationList
◆ jobs()
| virtual int Herwig7API::jobs |
( |
| ) |
const |
|
inlinevirtual |
◆ jobSize()
| virtual unsigned int Herwig7API::jobSize |
( |
| ) |
const |
|
inlinevirtual |
The number of jobs to fork.
Definition at line 78 of file Herwig7.h.
◆ maxJobs()
| virtual unsigned int Herwig7API::maxJobs |
( |
| ) |
const |
|
inlinevirtual |
The number of subprocesses to integrate per integratoin job.
Definition at line 79 of file Herwig7.h.
◆ N()
| virtual long Herwig7API::N |
( |
| ) |
const |
|
inlinevirtual |
◆ outStream()
| virtual std::ostream & Herwig7API::outStream |
( |
| ) |
const |
|
inlinevirtual |
Return the standard out stream to be used.
Definition at line 96 of file Herwig7.h.
◆ prependReadDirectories()
| virtual const std::vector< std::string > & Herwig7API::prependReadDirectories |
( |
| ) |
const |
|
inlinevirtual |
Directories from which Herwig reads input files, will be prepended to the search path.
Definition at line 66 of file Herwig7.h.
std::vector< std::string > m_prependReadDirectories
◆ quit()
| virtual void Herwig7API::quit |
( |
| ) |
const |
|
inlinevirtual |
Bail out and be quiet.
Definition at line 90 of file Herwig7.h.
90 {
91 ThePEG::Repository::cleanup();
92 std::abort();
93 }
◆ quitWithHelp()
| virtual void Herwig7API::quitWithHelp |
( |
| ) |
const |
|
inlinevirtual |
The maximum number of integration jobs.
Bail out and print usage information
Definition at line 82 of file Herwig7.h.
82 {
83 std::cerr << "=================================\n";
84 std::cerr << "HERE I CAN PUT SOME ERROR MESSAGE\n";
85 std::cerr << "=================================\n";
87 }
virtual void quit() const
Bail out and be quiet.
◆ repository()
| virtual std::string Herwig7API::repository |
( |
| ) |
const |
|
inlinevirtual |
Repository name to operate on.
Definition at line 49 of file Herwig7.h.
◆ resume()
| virtual bool Herwig7API::resume |
( |
| ) |
const |
|
inlinevirtual |
Try to resume execution from an earlier interrupted run.
Definition at line 42 of file Herwig7.h.
◆ runMode()
| Herwig::RunMode::Mode Herwig7API::runMode |
( |
| ) |
const |
|
inline |
Requested Herwig run mode.
Definition at line 39 of file Herwig7.h.
Herwig::RunMode::Mode m_runMode
◆ seed() [1/2]
| virtual int Herwig7API::seed |
( |
| ) |
const |
|
inlinevirtual |
The number of events to generate.
Definition at line 74 of file Herwig7.h.
◆ seed() [2/2]
| void Herwig7API::seed |
( |
int | seed | ) |
|
|
inline |
The seed to use.
Definition at line 75 of file Herwig7.h.
virtual int seed() const
The number of events to generate.
◆ setupfile()
| virtual std::string Herwig7API::setupfile |
( |
| ) |
const |
|
inlinevirtual |
Name of the setup file to be read, to modify the repository.
Definition at line 56 of file Herwig7.h.
◆ tag()
| virtual std::string Herwig7API::tag |
( |
| ) |
const |
|
inlinevirtual |
A user-defined tag to append to the run name.
Definition at line 59 of file Herwig7.h.
◆ tics()
| virtual bool Herwig7API::tics |
( |
| ) |
const |
|
inlinevirtual |
Require verbose progress markers.
Definition at line 45 of file Herwig7.h.
◆ m_appendReadDirectories
| std::vector<std::string> Herwig7API::m_appendReadDirectories |
|
private |
◆ m_inputfile
| std::string Herwig7API::m_inputfile |
|
private |
◆ m_integrationList
| std::string Herwig7API::m_integrationList |
|
private |
◆ m_jobs
| int Herwig7API::m_jobs {} |
|
private |
◆ m_jobsize
| unsigned int Herwig7API::m_jobsize {} |
|
private |
◆ m_maxjobs
| unsigned int Herwig7API::m_maxjobs {} |
|
private |
◆ m_prependReadDirectories
| std::vector<std::string> Herwig7API::m_prependReadDirectories |
|
private |
◆ m_repository
| std::string Herwig7API::m_repository |
|
private |
◆ m_runMode
| Herwig::RunMode::Mode Herwig7API::m_runMode {} |
|
private |
◆ m_seed
| int Herwig7API::m_seed {} |
|
private |
◆ m_setupfile
| std::string Herwig7API::m_setupfile |
|
private |
◆ m_tag
| std::string Herwig7API::m_tag |
|
private |
The documentation for this class was generated from the following file: