#include <Herwig7Interface.h>
Public Member Functions | |
Herwig7Interface (const edm::ParameterSet ¶ms) | |
void | setPEGRandomEngine (CLHEP::HepRandomEngine *) |
~Herwig7Interface () | |
Public Attributes | |
ThePEG::EGPtr | eg_ |
Protected Member Functions | |
void | callHerwigGenerator () |
void | createInputFile (const edm::ParameterSet ¶ms) |
void | flushRandomNumberGenerator () |
bool | initGenerator () |
void | initRepository (const edm::ParameterSet ¶ms) |
Static Protected Member Functions | |
static std::unique_ptr< HepMC::GenEvent > | convert (const ThePEG::EventPtr &event) |
static double | pthat (const ThePEG::EventPtr &event) |
Protected Attributes | |
Herwig::HerwigUIProvider * | HwUI_ |
std::unique_ptr< HepMC::IO_BaseClass > | iobc_ |
Private Attributes | |
const std::string | dataLocation_ |
std::string | dumpConfig_ |
const std::string | generator_ |
boost::shared_ptr< ThePEG::RandomEngineGlue::Proxy > | randomEngineGlueProxy_ |
const std::string | run_ |
const unsigned int | skipEvents_ |
Marco A. Harrendorf marco Dominik Beutel .har rendo rf@c ern.c hdomin ik.b eutel @cer n.ch
Definition at line 43 of file Herwig7Interface.h.
Herwig7Interface::Herwig7Interface | ( | const edm::ParameterSet & | params | ) |
Definition at line 52 of file Herwig7Interface.cc.
References dumpConfig_, edm::ParameterSet::getUntrackedParameter(), iobc_, MillePedeFileConverter_cfg::out, and estimatePileup_makeJSON::trunc.
Herwig7Interface::~Herwig7Interface | ( | ) |
|
protected |
Function calls Herwig event generator via API
According to the run mode different steps of event generation are done
Definition at line 157 of file Herwig7Interface.cc.
References MillePedeFileConverter_cfg::e, eg_, dqm::qstatus::ERROR, cppFunctionSkipper::exception, Exception, HwUI_, init, Herwig::HerwigUIProvider::quitWithHelp(), and Herwig::HerwigUIProvider::runMode().
Referenced by initGenerator(), and initRepository().
|
staticprotected |
Definition at line 240 of file Herwig7Interface.cc.
References fileCollector::convert().
Referenced by Herwig7Hadronizer::generatePartonsAndHadronize().
|
protected |
Definition at line 272 of file Herwig7Interface.cc.
References gen::ParameterCollector::begin(), dumpConfig_, gen::ParameterCollector::end(), generator_, edm::ParameterSet::getParameter(), randomEngineGlueProxy_, and run_.
Referenced by initRepository().
|
protected |
Definition at line 228 of file Herwig7Interface.cc.
Referenced by Herwig7Hadronizer::generatePartonsAndHadronize(), and initGenerator().
|
protected |
Definition at line 201 of file Herwig7Interface.cc.
References callHerwigGenerator(), eg_, flushRandomNumberGenerator(), HwUI_, mps_fire::i, Herwig::HerwigUIProvider::runMode(), and skipEvents_.
Referenced by Herwig7Hadronizer::initializeForInternalPartons().
|
protected |
Definition at line 87 of file Herwig7Interface.cc.
References callHerwigGenerator(), createInputFile(), dumpConfig_, edm::ParameterSet::getUntrackedParameter(), HwUI_, run_, Herwig::HerwigUIProvider::runMode(), Herwig::HerwigUIProvider::setRunMode(), AlCaHLTBitMon_QueryRunRegistry::string, and create_public_lumi_plots::transform.
Referenced by Herwig7Hadronizer::Herwig7Hadronizer(), and Herwig7Hadronizer::initializeForInternalPartons().
|
staticprotected |
Definition at line 250 of file Herwig7Interface.cc.
Referenced by Herwig7Hadronizer::finalizeEvent().
void Herwig7Interface::setPEGRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 78 of file Herwig7Interface.cc.
References randomEngineGlueProxy_, and ThePEG::RandomEngineGlue::setRandomEngine().
|
private |
Definition at line 88 of file Herwig7Interface.h.
|
private |
Definition at line 92 of file Herwig7Interface.h.
Referenced by createInputFile(), Herwig7Interface(), and initRepository().
ThePEG::EGPtr Herwig7Interface::eg_ |
Definition at line 50 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), Herwig7Hadronizer::generatePartonsAndHadronize(), initGenerator(), Herwig7Hadronizer::statistics(), and ~Herwig7Interface().
|
private |
Definition at line 89 of file Herwig7Interface.h.
Referenced by createInputFile().
|
protected |
Definition at line 69 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), initGenerator(), and initRepository().
|
protected |
Definition at line 66 of file Herwig7Interface.h.
Referenced by Herwig7Hadronizer::finalizeEvent(), and Herwig7Interface().
|
private |
Definition at line 86 of file Herwig7Interface.h.
Referenced by createInputFile(), and setPEGRandomEngine().
|
private |
Definition at line 90 of file Herwig7Interface.h.
Referenced by createInputFile(), and initRepository().
|
private |
Definition at line 93 of file Herwig7Interface.h.
Referenced by initGenerator().