#include <ThePEGInterface.h>
Public Member Functions | |
void | setPEGRandomEngine (CLHEP::HepRandomEngine *) |
ThePEGInterface (const edm::ParameterSet ¶ms) | |
virtual | ~ThePEGInterface () |
Protected Member Functions | |
std::string | dataFile (const std::string &fileName) const |
std::string | dataFile (const edm::ParameterSet &pset, const std::string ¶mName) const |
void | flushRandomNumberGenerator () |
void | initGenerator () |
void | initRepository (const edm::ParameterSet ¶ms) const |
Static Protected Member Functions | |
static void | clearAuxiliary (HepMC::GenEvent *hepmc, HepMC::PdfInfo *pdf) |
static std::auto_ptr < HepMC::GenEvent > | convert (const ThePEG::EventPtr &event) |
static void | fillAuxiliary (HepMC::GenEvent *hepmc, HepMC::PdfInfo *pdf, const ThePEG::EventPtr &event) |
static double | pthat (const ThePEG::EventPtr &event) |
Protected Attributes | |
ThePEG::EGPtr | eg_ |
std::auto_ptr < HepMC::IO_BaseClass > | iobc_ |
Private Attributes | |
const std::string | dataLocation_ |
const std::string | dumpConfig_ |
const std::string | generator_ |
boost::shared_ptr < ThePEG::RandomEngineGlue::Proxy > | randomEngineGlueProxy_ |
const std::string | run_ |
const unsigned int | skipEvents_ |
Oliver Oberst obers Fred-Markus Stober t@ek p.uni -kar lsruh e.destobe r@ek p.uni -kar lsruh e.de
Definition at line 31 of file ThePEGInterface.h.
ThePEGInterface::ThePEGInterface | ( | const edm::ParameterSet & | params | ) |
Definition at line 47 of file ThePEGInterface.cc.
References dumpConfig_, edm::ParameterSet::getUntrackedParameter(), iobc_, GenerateHcalLaserBadRunList::out, and estimatePileup_makeJSON::trunc.
|
virtual |
|
staticprotected |
Definition at line 223 of file ThePEGInterface.cc.
Referenced by ThePEGHadronizer::finalizeEvent(), and ThePEGHadronizer::hadronize().
|
staticprotected |
Definition at line 216 of file ThePEGInterface.cc.
References fileCollector::convert().
Referenced by ThePEGHadronizer::generatePartonsAndHadronize(), and ThePEGHadronizer::hadronize().
|
protected |
Referenced by initRepository().
|
protected |
|
staticprotected |
Definition at line 242 of file ThePEGInterface.cc.
References GeV, pileupReCalc_HLTpaths::scale, funct::sqr(), mathSSE::sqrt(), and findQualityFiles::v.
Referenced by ThePEGHadronizer::finalizeEvent(), and ThePEGHadronizer::hadronize().
|
protected |
Definition at line 205 of file ThePEGInterface.cc.
References ThePEG::RandomEngineGlue::flush(), and randomEngineGlueProxy_.
Referenced by ThePEGHadronizer::generatePartonsAndHadronize(), ThePEGHadronizer::hadronize(), and initGenerator().
|
protected |
Definition at line 184 of file ThePEGInterface.cc.
References eg_, Exception, flushRandomNumberGenerator(), generator_, i, run_, skipEvents_, and tmp.
Referenced by ThePEGHadronizer::initializeForExternalPartons(), and ThePEGHadronizer::initializeForInternalPartons().
|
protected |
Definition at line 99 of file ThePEGInterface.cc.
References gen::ParameterCollector::begin(), ecal_dqm_sourceclient-live_cfg::cerr, dataFile(), dumpConfig_, gen::ParameterCollector::end(), generator_, edm::ParameterSet::getParameter(), load(), GenerateHcalLaserBadRunList::out, randomEngineGlueProxy_, SiPixelLorentzAngle_cfi::read, run_, and contentValuesCheck::ss.
Referenced by ThePEGHadronizer::ThePEGHadronizer().
|
staticprotected |
Definition at line 320 of file ThePEGInterface.cc.
References GeV, min(), and tmp.
Referenced by ThePEGHadronizer::finalizeEvent().
void ThePEGInterface::setPEGRandomEngine | ( | CLHEP::HepRandomEngine * | v | ) |
Definition at line 73 of file ThePEGInterface.cc.
References randomEngineGlueProxy_, and ThePEG::RandomEngineGlue::setRandomEngine().
Referenced by ThePEGHadronizer::doSetRandomEngine().
|
private |
Definition at line 64 of file ThePEGInterface.h.
|
private |
Definition at line 67 of file ThePEGInterface.h.
Referenced by initRepository(), and ThePEGInterface().
|
protected |
Definition at line 57 of file ThePEGInterface.h.
Referenced by ThePEGHadronizer::generatePartonsAndHadronize(), ThePEGHadronizer::hadronize(), initGenerator(), ThePEGHadronizer::statistics(), and ~ThePEGInterface().
|
private |
Definition at line 65 of file ThePEGInterface.h.
Referenced by initGenerator(), and initRepository().
|
protected |
Definition at line 58 of file ThePEGInterface.h.
Referenced by ThePEGHadronizer::finalizeEvent(), and ThePEGInterface().
|
private |
Definition at line 62 of file ThePEGInterface.h.
Referenced by flushRandomNumberGenerator(), initRepository(), and setPEGRandomEngine().
|
private |
Definition at line 66 of file ThePEGInterface.h.
Referenced by initGenerator(), and initRepository().
|
private |
Definition at line 68 of file ThePEGInterface.h.
Referenced by initGenerator().