#include <Herwig7Interface.h>
Public Member Functions | |
Herwig7Interface (const edm::ParameterSet ¶ms) | |
void | setPEGRandomEngine (CLHEP::HepRandomEngine *) |
~Herwig7Interface () noexcept | |
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 | |
std::shared_ptr< Herwig::HerwigUIProvider > | HwUI_ |
std::unique_ptr< HepMC::IO_BaseClass > | iobc_ |
Private Attributes | |
const std::string | dataLocation_ |
std::string | dumpConfig_ |
const std::string | generator_ |
CLHEP::HepRandomEngine * | randomEngine |
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 46 of file Herwig7Interface.h.
Herwig7Interface::Herwig7Interface | ( | const edm::ParameterSet & | params | ) |
Definition at line 54 of file Herwig7Interface.cc.
References dumpConfig_, edm::ParameterSet::getUntrackedParameter(), iobc_, MillePedeFileConverter_cfg::out, and estimatePileup_makeJSON::trunc.
|
noexcept |
|
protected |
Function calls Herwig event generator via API
According to the run mode different steps of event generation are done
Definition at line 161 of file Herwig7Interface.cc.
References MillePedeFileConverter_cfg::e, eg_, dqm::qstatus::ERROR, cppFunctionSkipper::exception, Exception, HwUI_, init, and randomEngine.
Referenced by initGenerator(), and initRepository().
|
staticprotected |
Definition at line 246 of file Herwig7Interface.cc.
References fileCollector::convert().
Referenced by Herwig7Hadronizer::generatePartonsAndHadronize().
|
protected |
Definition at line 278 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 234 of file Herwig7Interface.cc.
Referenced by initGenerator().
|
protected |
Definition at line 207 of file Herwig7Interface.cc.
References callHerwigGenerator(), eg_, flushRandomNumberGenerator(), HwUI_, mps_fire::i, and skipEvents_.
Referenced by Herwig7Hadronizer::initializeForInternalPartons().
|
protected |
Definition at line 91 of file Herwig7Interface.cc.
References callHerwigGenerator(), createInputFile(), dumpConfig_, edm::ParameterSet::getUntrackedParameter(), HwUI_, run_, AlCaHLTBitMon_QueryRunRegistry::string, and create_public_lumi_plots::transform.
Referenced by Herwig7Hadronizer::Herwig7Hadronizer(), and Herwig7Hadronizer::initializeForInternalPartons().
|
staticprotected |
Definition at line 256 of file Herwig7Interface.cc.
Referenced by Herwig7Hadronizer::finalizeEvent().
void Herwig7Interface::setPEGRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 80 of file Herwig7Interface.cc.
References randomEngine, randomEngineGlueProxy_, ThePEG::RandomEngineGlue::setRandomEngine(), and findQualityFiles::v.
|
private |
Definition at line 91 of file Herwig7Interface.h.
|
private |
Definition at line 95 of file Herwig7Interface.h.
Referenced by createInputFile(), Herwig7Interface(), and initRepository().
ThePEG::EGPtr Herwig7Interface::eg_ |
Definition at line 53 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), Herwig7Hadronizer::generatePartonsAndHadronize(), initGenerator(), Herwig7Hadronizer::statistics(), and ~Herwig7Interface().
|
private |
Definition at line 92 of file Herwig7Interface.h.
Referenced by createInputFile().
|
protected |
Definition at line 72 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), initGenerator(), and initRepository().
|
protected |
Definition at line 69 of file Herwig7Interface.h.
Referenced by Herwig7Hadronizer::finalizeEvent(), and Herwig7Interface().
|
private |
Definition at line 97 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), and setPEGRandomEngine().
|
private |
Definition at line 89 of file Herwig7Interface.h.
Referenced by createInputFile(), and setPEGRandomEngine().
|
private |
Definition at line 93 of file Herwig7Interface.h.
Referenced by createInputFile(), and initRepository().
|
private |
Definition at line 96 of file Herwig7Interface.h.
Referenced by initGenerator().