1 #ifndef gen_PomwigHadronizer_h 2 #define gen_PomwigHadronizer_h 10 #include <HepMC/IO_HERWIG.h> 16 class HepRandomEngine;
27 bool readSettings(
int );
28 bool initializeForInternalPartons();
29 bool initializeForExternalPartons();
31 bool declareStableParticles(
const std::vector<int> &pdgIds);
35 bool generatePartonsAndHadronize();
41 const char *
classname()
const {
return "PomwigHadronizer"; }
45 void doSetRandomEngine(CLHEP::HepRandomEngine*
v)
override;
46 std::vector<std::string>
const&
doSharedResources()
const override {
return theSharedResources; }
49 bool initializeDPDF();
std::vector< std::string > const & doSharedResources() const override
gen::ParameterCollector parameters
static const std::vector< std::string > theSharedResources
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
const char * classname() const
bool declareSpecialSettings(const std::vector< std::string > &)
double survivalProbability