Public Member Functions | |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string >) |
bool | declareStableParticles (const std::vector< int > &pdgIds) |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
bool | hadronize () |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
ThePEGHadronizer (const edm::ParameterSet ¶ms) | |
virtual | ~ThePEGHadronizer () |
Public Member Functions inherited from ThePEGInterface | |
void | setPEGRandomEngine (CLHEP::HepRandomEngine *) |
ThePEGInterface (const edm::ParameterSet ¶ms) | |
virtual | ~ThePEGInterface () |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
void | cleanLHE () |
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
edm::Event & | getEDMEvent () const |
HepMC::GenEvent * | getGenEvent () |
GenEventInfoProduct * | getGenEventInfo () |
virtual GenLumiInfoHeader * | getGenLumiInfoHeader () const |
GenRunInfoProduct & | getGenRunInfo () |
const boost::shared_ptr < lhef::LHERunInfo > & | getLHERunInfo () const |
const std::string & | gridpackPath () const |
int | randomIndex () const |
const std::string & | randomInitConfigDescription () const |
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
void | resetEvent (HepMC::GenEvent *event) |
void | resetEventInfo (GenEventInfoProduct *eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (lhef::LHEEvent *event) |
void | setLHERunInfo (lhef::LHERunInfo *runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
~BaseHadronizer () | |
Private Member Functions | |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
Private Attributes | |
unsigned int | eventsToPrint |
const std::string | handlerDirectory_ |
boost::shared_ptr< lhef::LHEProxy > | proxy_ |
ThePEG::EventPtr | thepegEvent |
Additional Inherited Members | |
Protected Member Functions inherited from ThePEGInterface | |
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 |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::auto_ptr< HepMC::GenEvent > & | event () |
std::auto_ptr < GenEventInfoProduct > & | eventInfo () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Static Protected Member Functions inherited from ThePEGInterface | |
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 inherited from ThePEGInterface | |
ThePEG::EGPtr | eg_ |
std::auto_ptr < HepMC::IO_BaseClass > | iobc_ |
Protected Attributes inherited from gen::BaseHadronizer | |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 30 of file ThePEGHadronizer.cc.
ThePEGHadronizer::ThePEGHadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 63 of file ThePEGHadronizer.cc.
References ThePEGInterface::initRepository().
|
virtual |
Definition at line 73 of file ThePEGHadronizer.cc.
|
inline |
Definition at line 49 of file ThePEGHadronizer.cc.
bool ThePEGHadronizer::decay | ( | ) |
Definition at line 219 of file ThePEGHadronizer.cc.
|
inline |
Definition at line 39 of file ThePEGHadronizer.cc.
bool ThePEGHadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 101 of file ThePEGHadronizer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 53 of file ThePEGHadronizer.cc.
References ThePEGInterface::setPEGRandomEngine().
void ThePEGHadronizer::finalizeEvent | ( | ) |
Definition at line 197 of file ThePEGHadronizer.cc.
References ThePEGInterface::clearAuxiliary(), gen::BaseHadronizer::event(), gen::BaseHadronizer::eventInfo(), eventsToPrint, ThePEGInterface::fillAuxiliary(), ThePEGInterface::iobc_, ThePEGInterface::pthat(), and thepegEvent.
bool ThePEGHadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 113 of file ThePEGHadronizer.cc.
References ThePEGInterface::convert(), ThePEGInterface::eg_, gen::BaseHadronizer::event(), cppFunctionSkipper::exception, ThePEGInterface::flushRandomNumberGenerator(), and thepegEvent.
bool ThePEGHadronizer::hadronize | ( | ) |
Definition at line 143 of file ThePEGHadronizer.cc.
References ThePEGInterface::clearAuxiliary(), ThePEGInterface::convert(), lhef::LHEEvent::count(), ThePEGInterface::eg_, gen::BaseHadronizer::event(), cppFunctionSkipper::exception, ThePEGInterface::fillAuxiliary(), lhef::LHEEvent::fillPdfInfo(), ThePEGInterface::flushRandomNumberGenerator(), lhef::LHEEvent::getHEPEUP(), lhef::LHERunInfo::kAccepted, lhef::LHERunInfo::kSelected, gen::BaseHadronizer::lheEvent(), proxy_, thepegEvent, and lhef::HEPEUP::XWGTUP.
bool ThePEGHadronizer::initializeForExternalPartons | ( | ) |
Definition at line 83 of file ThePEGHadronizer.cc.
References lhef::LHEProxy::create(), gen::BaseHadronizer::getLHERunInfo(), handlerDirectory_, ThePEGInterface::initGenerator(), proxy_, and contentValuesCheck::ss.
bool ThePEGHadronizer::initializeForInternalPartons | ( | ) |
|
inline |
Definition at line 35 of file ThePEGHadronizer.cc.
bool ThePEGHadronizer::residualDecay | ( | ) |
Definition at line 224 of file ThePEGHadronizer.cc.
void ThePEGHadronizer::statistics | ( | ) |
Definition at line 106 of file ThePEGHadronizer.cc.
References ThePEGInterface::eg_, gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 55 of file ThePEGHadronizer.cc.
Referenced by finalizeEvent().
|
private |
Definition at line 60 of file ThePEGHadronizer.cc.
Referenced by initializeForExternalPartons().
|
private |
Definition at line 59 of file ThePEGHadronizer.cc.
Referenced by hadronize(), and initializeForExternalPartons().
|
private |
Definition at line 57 of file ThePEGHadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), and hadronize().