#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::auto_ptr< HepMC::GenEvent > | convert (const ThePEG::EventPtr &event) |
static double | pthat (const ThePEG::EventPtr &event) |
Protected Attributes | |
std::shared_ptr< Herwig::HerwigUIProvider > | HwUI_ |
std::auto_ptr< HepMC::IO_BaseClass > | iobc_ |
Private Attributes | |
const std::string | dataLocation_ |
std::string | dumpConfig_ |
const std::string | generator_ |
CLHEP::HepRandomEngine * | randomEngine |
std::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 41 of file Herwig7Interface.h.
Herwig7Interface::Herwig7Interface | ( | const edm::ParameterSet & | params | ) |
Definition at line 50 of file Herwig7Interface.cc.
References dumpConfig_, iobc_, MillePedeFileConverter_cfg::out, muonDTDigis_cfi::pset, and pileupReCalc_HLTpaths::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 139 of file Herwig7Interface.cc.
References newFWLiteAna::build, MillePedeFileConverter_cfg::e, eg_, dqm::qstatus::ERROR, cppFunctionSkipper::exception, Exception, HwUI_, init, randomEngine, and readEcalDQMStatus::read.
Referenced by initGenerator(), and initRepository().
|
staticprotected |
Definition at line 226 of file Herwig7Interface.cc.
References fileCollector::convert().
Referenced by Herwig7Hadronizer::generatePartonsAndHadronize().
|
protected |
Definition at line 246 of file Herwig7Interface.cc.
References gen::ParameterCollector::begin(), DYToll01234Jets_5f_LO_MLM_Madgraph_Herwig_13TeV_cff::configFiles, dumpConfig_, gen::ParameterCollector::end(), generator_, muonDTDigis_cfi::pset, randomEngineGlueProxy_, run_, and contentValuesCheck::ss.
Referenced by initRepository().
|
protected |
|
protected |
Definition at line 190 of file Herwig7Interface.cc.
References callHerwigGenerator(), eg_, flushRandomNumberGenerator(), HwUI_, mps_fire::i, and skipEvents_.
Referenced by Herwig7Hadronizer::initializeForInternalPartons().
|
protected |
Definition at line 83 of file Herwig7Interface.cc.
References callHerwigGenerator(), createInputFile(), dumpConfig_, HwUI_, muonDTDigis_cfi::pset, run_, AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetIdTransform::transform().
Referenced by Herwig7Hadronizer::Herwig7Hadronizer(), and Herwig7Hadronizer::initializeForInternalPartons().
|
staticprotected |
Definition at line 230 of file Herwig7Interface.cc.
References GeV, and createJobs::tmp.
Referenced by Herwig7Hadronizer::finalizeEvent().
void Herwig7Interface::setPEGRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 74 of file Herwig7Interface.cc.
References randomEngine, randomEngineGlueProxy_, ThePEG::RandomEngineGlue::setRandomEngine(), and findQualityFiles::v.
Referenced by Herwig7Hadronizer::doSetRandomEngine().
|
private |
Definition at line 77 of file Herwig7Interface.h.
|
private |
Definition at line 81 of file Herwig7Interface.h.
Referenced by createInputFile(), Herwig7Interface(), and initRepository().
ThePEG::EGPtr Herwig7Interface::eg_ |
Definition at line 48 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), Herwig7Hadronizer::generatePartonsAndHadronize(), initGenerator(), Herwig7Hadronizer::statistics(), and ~Herwig7Interface().
|
private |
Definition at line 78 of file Herwig7Interface.h.
Referenced by createInputFile().
|
protected |
Definition at line 62 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), initGenerator(), and initRepository().
|
protected |
Definition at line 59 of file Herwig7Interface.h.
Referenced by Herwig7Hadronizer::finalizeEvent(), and Herwig7Interface().
|
private |
Definition at line 83 of file Herwig7Interface.h.
Referenced by callHerwigGenerator(), and setPEGRandomEngine().
|
private |
Definition at line 75 of file Herwig7Interface.h.
Referenced by createInputFile(), and setPEGRandomEngine().
|
private |
Definition at line 79 of file Herwig7Interface.h.
Referenced by createInputFile(), and initRepository().
|
private |
Definition at line 82 of file Herwig7Interface.h.
Referenced by initGenerator().