#include <HerwigUIProvider.h>
Public Member Functions | |
const std::vector< std::string > & | appendReadDirectories () const override |
std::ostream & | errStream () const override |
Return the standard err stream to be used. More... | |
HerwigUIProvider (const edm::ParameterSet &pset, std::string inputFileName, RunMode::Mode) | |
Constructor from the arguments provided by CMSSW. More... | |
std::string | inputfile () const override |
Name of the file to be read. More... | |
std::istream & | inStream () const override |
Return the standard in stream to be used. More... | |
std::string | integrationList () const override |
int | jobs () const override |
unsigned int | jobSize () const override |
unsigned int | maxJobs () const override |
long | N () const override |
std::ostream & | outStream () const override |
Return the standard out stream to be used. More... | |
const std::vector< std::string > & | prependReadDirectories () const override |
void | quit () const override |
void | quitWithHelp () const override |
std::string | repository () const override |
Repository name to operate on. More... | |
bool | resume () const override |
Try to resume execution from an earlier interrupted run. More... | |
RunMode::Mode | runMode () const override |
Requested Herwig run mode. More... | |
int | seed () const override |
void | setRunMode (RunMode::Mode runMode, const edm::ParameterSet &pset, std::string inputFile="") |
void | setSeed (long seed) |
std::string | setupfile () const override |
Name of the setup file to be read, to modify the repository. More... | |
std::string | tag () const override |
A user-defined tag to append to the run name. More... | |
bool | tics () const override |
Require verbose progress markers. More... | |
~HerwigUIProvider () override | |
Destructor to leave a clean ThePEG::Repository behind. More... | |
Private Attributes | |
std::vector< std::string > | appendReadDirectories_ |
std::string | inputfile_ |
std::string | integrationList_ |
int | jobs_ |
unsigned int | jobsize_ |
unsigned int | maxjobs_ |
long | nEvents_ |
std::vector< std::string > | prependReadDirectories_ |
std::string | repository_ |
bool | resume_ |
RunMode::Mode | runMode_ |
int | seed_ |
std::string | setupfile_ |
std::string | tag_ |
bool | tics_ |
HerwigUIProvider is an implementation of the HerwigUI interface getting its input from CMSSW configs.
Definition at line 18 of file HerwigUIProvider.h.
Herwig::HerwigUIProvider::HerwigUIProvider | ( | const edm::ParameterSet & | pset, |
std::string | inputFileName, | ||
RunMode::Mode | runMode | ||
) |
Constructor from the arguments provided by CMSSW.
Definition at line 31 of file HerwigUIProvider.cc.
References appendReadDirectories_, dqm::qstatus::ERROR, mps_fire::i, integrationList_, jobs_, jobsize_, maxjobs_, nEvents_, prependReadDirectories_, muonDTDigis_cfi::pset, repository_, gen::ParameterCollector::resolve(), resume_, runMode_, seed_, setupfile_, AlCaHLTBitMon_QueryRunRegistry::string, tag_, and tics_.
|
override |
Destructor to leave a clean ThePEG::Repository behind.
Definition at line 29 of file HerwigUIProvider.cc.
References edm::cleanup().
|
inlineoverride |
Definition at line 52 of file HerwigUIProvider.h.
References appendReadDirectories_.
|
inlineoverride |
Return the standard err stream to be used.
Definition at line 68 of file HerwigUIProvider.h.
References EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr.
|
inlineoverride |
Name of the file to be read.
Definition at line 40 of file HerwigUIProvider.h.
References inputfile_.
|
inlineoverride |
Return the standard in stream to be used.
Definition at line 71 of file HerwigUIProvider.h.
|
inlineoverride |
Definition at line 48 of file HerwigUIProvider.h.
References integrationList_.
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
Return the standard out stream to be used.
Definition at line 65 of file HerwigUIProvider.h.
References gather_cfg::cout.
|
inlineoverride |
Definition at line 50 of file HerwigUIProvider.h.
References prependReadDirectories_.
|
override |
Definition at line 24 of file HerwigUIProvider.cc.
References edm::cleanup().
Referenced by quitWithHelp().
|
override |
|
inlineoverride |
Repository name to operate on.
Definition at line 43 of file HerwigUIProvider.h.
References repository_.
|
inlineoverride |
Try to resume execution from an earlier interrupted run.
Definition at line 31 of file HerwigUIProvider.h.
References resume_.
|
inlineoverride |
Requested Herwig run mode.
Definition at line 27 of file HerwigUIProvider.h.
References runMode_.
Referenced by setRunMode().
|
inlineoverride |
void Herwig::HerwigUIProvider::setRunMode | ( | RunMode::Mode | runMode, |
const edm::ParameterSet & | pset, | ||
std::string | inputFile = "" |
||
) |
Change run mode of Herwig Additionally pass the name of the new input file
Function sets jobsize_ and maxjobs_ accordingly to the run modes.
Definition at line 149 of file HerwigUIProvider.cc.
References dtResolutionTest_cfi::inputFile, inputfile_, jobsize_, maxjobs_, muonDTDigis_cfi::pset, runMode(), and runMode_.
|
inline |
Definition at line 28 of file HerwigUIProvider.h.
|
inlineoverride |
Name of the setup file to be read, to modify the repository.
Definition at line 46 of file HerwigUIProvider.h.
References setupfile_.
|
inlineoverride |
A user-defined tag to append to the run name.
Definition at line 37 of file HerwigUIProvider.h.
References tag_.
|
inlineoverride |
Require verbose progress markers.
Definition at line 34 of file HerwigUIProvider.h.
References tics_.
|
private |
Definition at line 95 of file HerwigUIProvider.h.
Referenced by appendReadDirectories(), and HerwigUIProvider().
|
private |
Definition at line 88 of file HerwigUIProvider.h.
Referenced by inputfile(), and setRunMode().
|
private |
Definition at line 92 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and integrationList().
|
private |
Definition at line 99 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and jobs().
|
private |
Definition at line 100 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), jobSize(), and setRunMode().
|
private |
Definition at line 101 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), maxJobs(), and setRunMode().
|
private |
Definition at line 97 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and N().
|
private |
Definition at line 94 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and prependReadDirectories().
|
private |
Definition at line 89 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and repository().
|
private |
Definition at line 84 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and resume().
|
private |
Definition at line 82 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), runMode(), and setRunMode().
|
private |
Definition at line 98 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), seed(), and setSeed().
|
private |
Definition at line 90 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and setupfile().
|
private |
Definition at line 86 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and tag().
|
private |
Definition at line 85 of file HerwigUIProvider.h.
Referenced by HerwigUIProvider(), and tics().