#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 |
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 49 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 138 of file Herwig7Interface.cc.
References newFWLiteAna::build, MillePedeFileConverter_cfg::e, eg_, dqm::qstatus::ERROR, cppFunctionSkipper::exception, Exception, HwUI_, init, randomEngine, and fileinputsource_cfi::read.
Referenced by initGenerator(), and initRepository().
|
staticprotected |
Definition at line 225 of file Herwig7Interface.cc.
References convert().
Referenced by Herwig7Hadronizer::generatePartonsAndHadronize(), and Herwig7Hadronizer::hadronize().
|
protected |
Definition at line 245 of file Herwig7Interface.cc.
References gen::ParameterCollector::begin(), DYToLL_TuneCH3_13TeV_herwig7_cff::configFiles, dumpConfig_, gen::ParameterCollector::end(), generator_, muonDTDigis_cfi::pset, randomEngineGlueProxy_, run_, and contentValuesCheck::ss.
Referenced by initRepository().
|
protected |
Definition at line 214 of file Herwig7Interface.cc.
Referenced by initGenerator().
|
protected |
Definition at line 189 of file Herwig7Interface.cc.
References callHerwigGenerator(), eg_, flushRandomNumberGenerator(), HwUI_, mps_fire::i, and skipEvents_.
Referenced by Herwig7Hadronizer::initializeForExternalPartons(), and Herwig7Hadronizer::initializeForInternalPartons().
|
protected |
Definition at line 82 of file Herwig7Interface.cc.
References callHerwigGenerator(), createInputFile(), dumpConfig_, HwUI_, muonDTDigis_cfi::pset, run_, AlCaHLTBitMon_QueryRunRegistry::string, and HcalDetIdTransform::transform().
Referenced by Herwig7Hadronizer::Herwig7Hadronizer(), Herwig7Hadronizer::initializeForExternalPartons(), and Herwig7Hadronizer::initializeForInternalPartons().
|
staticprotected |
Definition at line 229 of file Herwig7Interface.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and createJobs::tmp.
Referenced by Herwig7Hadronizer::finalizeEvent().
void Herwig7Interface::setPEGRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 73 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(), Herwig7Hadronizer::hadronize(), 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().