Public Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
const char * | classname () const |
bool | decay () |
bool | declareSpecialSettings (const std::vector< std::string >) |
bool | declareStableParticles (const std::vector< int > &pdgIds) |
void | finalizeEvent () |
bool | generatePartonsAndHadronize () |
std::unique_ptr< GenLumiInfoHeader > | getGenLumiInfoHeader () const override |
bool | hadronize () |
Herwig7Hadronizer (const edm::ParameterSet ¶ms) | |
bool | initializeForExternalPartons () |
bool | initializeForInternalPartons () |
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
bool | readSettings (int) |
bool | residualDecay () |
void | statistics () |
~Herwig7Hadronizer () override | |
Public Member Functions inherited from Herwig7Interface | |
Herwig7Interface (const edm::ParameterSet ¶ms) | |
void | setPEGRandomEngine (CLHEP::HepRandomEngine *) |
~Herwig7Interface () noexcept | |
Public Member Functions inherited from gen::BaseHadronizer | |
BaseHadronizer (edm::ParameterSet const &ps) | |
void | cleanLHE () |
void | generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine, unsigned int ncpu) |
edm::Event & | getEDMEvent () const |
std::unique_ptr< HepMC::GenEvent > | getGenEvent () |
std::unique_ptr< HepMC3::GenEvent > | getGenEvent3 () |
std::unique_ptr< GenEventInfoProduct > | getGenEventInfo () |
std::unique_ptr< GenEventInfoProduct3 > | getGenEventInfo3 () |
GenRunInfoProduct & | getGenRunInfo () |
std::unique_ptr< lhef::LHEEvent > | getLHEEvent () |
const std::shared_ptr< lhef::LHERunInfo > & | getLHERunInfo () const |
unsigned int | getVHepMC () |
const std::string & | gridpackPath () const |
int | randomIndex () const |
const std::string & | randomInitConfigDescription () const |
void | randomizeIndex (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine) |
void | resetEvent (std::unique_ptr< HepMC::GenEvent > event) |
void | resetEvent3 (std::unique_ptr< HepMC3::GenEvent > event3) |
void | resetEventInfo (std::unique_ptr< GenEventInfoProduct > eventInfo) |
void | resetEventInfo3 (std::unique_ptr< GenEventInfoProduct3 > eventInfo) |
virtual bool | select (HepMC::GenEvent *) const |
void | setEDMEvent (edm::Event &event) |
void | setLHEEvent (std::unique_ptr< lhef::LHEEvent > event) |
void | setLHERunInfo (std::unique_ptr< lhef::LHERunInfo > runInfo) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
std::vector< std::string > const & | sharedResources () const |
virtual | ~BaseHadronizer () noexcept(false) |
Private Member Functions | |
void | doSetRandomEngine (CLHEP::HepRandomEngine *v) override |
Private Attributes | |
unsigned int | currentLumiBlock = 0 |
unsigned int | eventsToPrint |
unsigned int | firstLumiBlock = 0 |
const std::string | handlerDirectory_ |
bool | haveEvt = false |
edm::ParameterSet | paramSettings |
std::shared_ptr< lhef::LHEProxy > | proxy_ |
const std::string | runFileName |
ThePEG::EventPtr | thepegEvent |
Additional Inherited Members | |
Public Attributes inherited from Herwig7Interface | |
ThePEG::EGPtr | eg_ |
Protected Member Functions inherited from Herwig7Interface | |
void | callHerwigGenerator () |
void | createInputFile (const edm::ParameterSet ¶ms) |
void | flushRandomNumberGenerator () |
bool | initGenerator () |
void | initRepository (const edm::ParameterSet ¶ms) |
Protected Member Functions inherited from gen::BaseHadronizer | |
std::unique_ptr< HepMC::GenEvent > & | event () |
std::unique_ptr< HepMC3::GenEvent > & | event3 () |
std::unique_ptr< GenEventInfoProduct > & | eventInfo () |
std::unique_ptr< GenEventInfoProduct3 > & | eventInfo3 () |
lhef::LHEEvent * | lheEvent () |
lhef::LHERunInfo * | lheRunInfo () |
GenRunInfoProduct & | runInfo () |
Static Protected Member Functions inherited from Herwig7Interface | |
static std::auto_ptr< HepMC::GenEvent > | convert (const ThePEG::EventPtr &event) |
static double | pthat (const ThePEG::EventPtr &event) |
Protected Attributes inherited from Herwig7Interface | |
std::shared_ptr< Herwig::HerwigUIProvider > | HwUI_ |
std::auto_ptr< HepMC::IO_BaseClass > | iobc_ |
Protected Attributes inherited from gen::BaseHadronizer | |
unsigned int | ivhepmc = 2 |
std::string | lheFile_ |
int | randomIndex_ |
Definition at line 36 of file Herwig7Hadronizer.cc.
Herwig7Hadronizer::Herwig7Hadronizer | ( | const edm::ParameterSet & | params | ) |
Definition at line 77 of file Herwig7Hadronizer.cc.
References Herwig7Interface::initRepository(), paramSettings, and muonDTDigis_cfi::pset.
|
override |
Definition at line 87 of file Herwig7Hadronizer.cc.
void Herwig7Hadronizer::beginLuminosityBlock | ( | edm::LuminosityBlock const & | , |
edm::EventSetup const & | |||
) |
|
inline |
Definition at line 55 of file Herwig7Hadronizer.cc.
bool Herwig7Hadronizer::decay | ( | ) |
Definition at line 207 of file Herwig7Hadronizer.cc.
|
inline |
Definition at line 45 of file Herwig7Hadronizer.cc.
bool Herwig7Hadronizer::declareStableParticles | ( | const std::vector< int > & | pdgIds | ) |
Definition at line 119 of file Herwig7Hadronizer.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 61 of file Herwig7Hadronizer.cc.
References Herwig7Interface::setPEGRandomEngine(), and findQualityFiles::v.
void Herwig7Hadronizer::finalizeEvent | ( | ) |
Definition at line 192 of file Herwig7Hadronizer.cc.
References gen::BaseHadronizer::event(), gen::BaseHadronizer::eventInfo(), eventsToPrint, Herwig7Interface::iobc_, Herwig7Interface::pthat(), and thepegEvent.
bool Herwig7Hadronizer::generatePartonsAndHadronize | ( | ) |
Definition at line 128 of file Herwig7Hadronizer.cc.
References Herwig7Interface::convert(), Herwig7Interface::eg_, gen::BaseHadronizer::event(), cppFunctionSkipper::exception, and thepegEvent.
|
overridevirtual |
Reimplemented from gen::BaseHadronizer.
Definition at line 211 of file Herwig7Hadronizer.cc.
References genWeightsTable_cfi::genLumiInfoHeader, and thepegEvent.
bool Herwig7Hadronizer::hadronize | ( | ) |
Definition at line 153 of file Herwig7Hadronizer.cc.
References Herwig7Interface::convert(), Herwig7Interface::eg_, gen::BaseHadronizer::event(), lhef::LHEEvent::evtnum(), cppFunctionSkipper::exception, haveEvt, gen::BaseHadronizer::lheEvent(), and thepegEvent.
bool Herwig7Hadronizer::initializeForExternalPartons | ( | ) |
Definition at line 104 of file Herwig7Hadronizer.cc.
References currentLumiBlock, beamvalidation::exit(), firstLumiBlock, Herwig7Interface::initGenerator(), Herwig7Interface::initRepository(), paramSettings, and runFileName.
bool Herwig7Hadronizer::initializeForInternalPartons | ( | ) |
Definition at line 89 of file Herwig7Hadronizer.cc.
References currentLumiBlock, beamvalidation::exit(), firstLumiBlock, Herwig7Interface::initGenerator(), Herwig7Interface::initRepository(), paramSettings, and runFileName.
void Herwig7Hadronizer::randomizeIndex | ( | edm::LuminosityBlock const & | lumi, |
CLHEP::HepRandomEngine * | rengine | ||
) |
Definition at line 230 of file Herwig7Hadronizer.cc.
References currentLumiBlock, and firstLumiBlock.
|
inline |
Definition at line 41 of file Herwig7Hadronizer.cc.
bool Herwig7Hadronizer::residualDecay | ( | ) |
Definition at line 209 of file Herwig7Hadronizer.cc.
void Herwig7Hadronizer::statistics | ( | ) |
Definition at line 121 of file Herwig7Hadronizer.cc.
References Herwig7Interface::eg_, gen::BaseHadronizer::runInfo(), and GenRunInfoProduct::setInternalXSec().
|
private |
Definition at line 74 of file Herwig7Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and randomizeIndex().
|
private |
Definition at line 63 of file Herwig7Hadronizer.cc.
Referenced by finalizeEvent().
|
private |
Definition at line 73 of file Herwig7Hadronizer.cc.
Referenced by initializeForExternalPartons(), initializeForInternalPartons(), and randomizeIndex().
|
private |
Definition at line 69 of file Herwig7Hadronizer.cc.
|
private |
Definition at line 66 of file Herwig7Hadronizer.cc.
Referenced by hadronize().
|
private |
Definition at line 70 of file Herwig7Hadronizer.cc.
Referenced by Herwig7Hadronizer(), initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 68 of file Herwig7Hadronizer.cc.
|
private |
Definition at line 71 of file Herwig7Hadronizer.cc.
Referenced by initializeForExternalPartons(), and initializeForInternalPartons().
|
private |
Definition at line 65 of file Herwig7Hadronizer.cc.
Referenced by finalizeEvent(), generatePartonsAndHadronize(), getGenLumiInfoHeader(), and hadronize().