CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
Herwig6Hadronizer Class Reference
Inheritance diagram for Herwig6Hadronizer:
gen::BaseHadronizer gen::Herwig6Instance gen::FortranInstance

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 ()
 
 Herwig6Hadronizer (const edm::ParameterSet &params)
 
bool initialize (const lhef::HEPRUP *heprup)
 
bool initializeForExternalPartons ()
 
bool initializeForInternalPartons ()
 
bool readSettings (int)
 
bool residualDecay ()
 
void setSLHAFromHeader (const std::vector< std::string > &lines)
 
void statistics ()
 
 ~Herwig6Hadronizer ()
 
- Public Member Functions inherited from gen::BaseHadronizer
 BaseHadronizer (edm::ParameterSet const &ps)
 
void cleanLHE ()
 
void generateLHE (edm::LuminosityBlock const &lumi, CLHEP::HepRandomEngine *rengine)
 
edm::EventgetEDMEvent () const
 
HepMC::GenEvent * getGenEvent ()
 
GenEventInfoProductgetGenEventInfo ()
 
virtual GenLumiInfoHeadergetGenLumiInfoHeader () const
 
GenRunInfoProductgetGenRunInfo ()
 
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 ()
 
- Public Member Functions inherited from gen::Herwig6Instance
bool callWithTimeout (unsigned int secs, void(*fn)())
 
bool give (const std::string &line)
 
 Herwig6Instance ()
 
void openParticleSpecFile (const std::string fileName)
 
void setHerwigRandomEngine (CLHEP::HepRandomEngine *v)
 
virtual ~Herwig6Instance ()
 
- Public Member Functions inherited from gen::FortranInstance
void call (void(&fn)())
 
template<typename T >
T call (T(&fn)())
 
template<typename A >
void call (void(&fn)(A), A a)
 
template<typename T , typename A >
T call (T(&fn)(A), A a)
 
template<typename A1 , typename A2 >
void call (void(&fn)(A1, A2), A1 a1, A2 a2)
 
template<typename T , typename A1 , typename A2 >
T call (T(&fn)(A1, A2), A1 a1, A2 a2)
 
virtual void enter ()
 
 FortranInstance ()
 
virtual void leave ()
 
virtual bool upVeto ()
 
virtual ~FortranInstance ()
 

Private Member Functions

void clear ()
 
virtual void doSetRandomEngine (CLHEP::HepRandomEngine *v) override
 
virtual std::vector
< std::string > const & 
doSharedResources () const override
 
int pythiaStatusCode (const HepMC::GenParticle *p) const
 
void pythiaStatusCodes ()
 
virtual void upEvnt () override
 
virtual void upInit () override
 

Private Attributes

double comEnergy
 
HepMC::IO_HERWIG conv
 
bool doMatching
 
bool doMPInteraction
 
bool emulatePythiaStatusCodes
 
bool externalPartons
 
bool fConvertToPDG
 
int hepmcVerbosity
 
int herwigVerbosity
 
bool inclusiveMatching
 
double matchingScale
 
int maxEventsToPrint
 
bool needClear
 
int nMatch
 
int numTrials
 
gen::ParameterCollector parameters
 
std::string particleSpecFileName
 
bool printCards
 
bool readMCatNLOfile
 
bool readParticleSpecFile
 
bool useJimmy
 

Static Private Attributes

static const std::vector
< std::string > 
theSharedResources
 

Additional Inherited Members

- Static Public Member Functions inherited from gen::FortranInstance
template<typename T >
static TgetInstance ()
 
- Static Public Attributes inherited from gen::FortranInstance
static const std::string kFortranInstance = "FortranInstance"
 
- Protected Member Functions inherited from gen::BaseHadronizer
std::auto_ptr< HepMC::GenEvent > & event ()
 
std::auto_ptr
< GenEventInfoProduct > & 
eventInfo ()
 
lhef::LHEEventlheEvent ()
 
lhef::LHERunInfolheRunInfo ()
 
GenRunInfoProductrunInfo ()
 
- Protected Member Functions inherited from gen::Herwig6Instance
virtual bool hwwarn (const std::string &fn, int code)
 
- Protected Attributes inherited from gen::BaseHadronizer
std::string lheFile_
 
int randomIndex_
 

Detailed Description

Definition at line 85 of file Herwig6Hadronizer.cc.

Constructor & Destructor Documentation

Herwig6Hadronizer::Herwig6Hadronizer ( const edm::ParameterSet params)

Definition at line 169 of file Herwig6Hadronizer.cc.

Herwig6Hadronizer::~Herwig6Hadronizer ( )

Definition at line 199 of file Herwig6Hadronizer.cc.

Member Function Documentation

const char* Herwig6Hadronizer::classname ( ) const
inline

Definition at line 114 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::clear ( void  )
private

Definition at line 209 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::decay ( )

Definition at line 871 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::declareSpecialSettings ( const std::vector< std::string > &  )

Definition at line 664 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::declareStableParticles ( const std::vector< int > &  pdgIds)

Definition at line 634 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::doSetRandomEngine ( CLHEP::HepRandomEngine *  v)
overrideprivatevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 204 of file Herwig6Hadronizer.cc.

virtual std::vector<std::string> const& Herwig6Hadronizer::doSharedResources ( ) const
inlineoverrideprivatevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 119 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::finalizeEvent ( )

Definition at line 765 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::generatePartonsAndHadronize ( )
inline

Definition at line 108 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::hadronize ( )

Definition at line 685 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::initialize ( const lhef::HEPRUP heprup)

Definition at line 454 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::initializeForExternalPartons ( )
inline

Definition at line 100 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::initializeForInternalPartons ( )

Definition at line 435 of file Herwig6Hadronizer.cc.

int Herwig6Hadronizer::pythiaStatusCode ( const HepMC::GenParticle *  p) const
private

Definition at line 966 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::pythiaStatusCodes ( )
private

Definition at line 1052 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::readSettings ( int  key)

Definition at line 268 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::residualDecay ( )

Definition at line 918 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::setSLHAFromHeader ( const std::vector< std::string > &  lines)

Definition at line 222 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::statistics ( )

Definition at line 669 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::upEvnt ( )
overrideprivatevirtual

Reimplemented from gen::FortranInstance.

Definition at line 948 of file Herwig6Hadronizer.cc.

void Herwig6Hadronizer::upInit ( )
overrideprivatevirtual

Reimplemented from gen::FortranInstance.

Definition at line 923 of file Herwig6Hadronizer.cc.

Member Data Documentation

double Herwig6Hadronizer::comEnergy
private

Definition at line 141 of file Herwig6Hadronizer.cc.

HepMC::IO_HERWIG Herwig6Hadronizer::conv
private

Definition at line 131 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::doMatching
private

Definition at line 146 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::doMPInteraction
private

Definition at line 143 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::emulatePythiaStatusCodes
private

Definition at line 140 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::externalPartons
private

Definition at line 133 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::fConvertToPDG
private

Definition at line 145 of file Herwig6Hadronizer.cc.

int Herwig6Hadronizer::hepmcVerbosity
private

Definition at line 137 of file Herwig6Hadronizer.cc.

int Herwig6Hadronizer::herwigVerbosity
private

Definition at line 136 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::inclusiveMatching
private

Definition at line 147 of file Herwig6Hadronizer.cc.

double Herwig6Hadronizer::matchingScale
private

Definition at line 149 of file Herwig6Hadronizer.cc.

int Herwig6Hadronizer::maxEventsToPrint
private

Definition at line 138 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::needClear
private

Definition at line 132 of file Herwig6Hadronizer.cc.

int Herwig6Hadronizer::nMatch
private

Definition at line 148 of file Herwig6Hadronizer.cc.

int Herwig6Hadronizer::numTrials
private

Definition at line 144 of file Herwig6Hadronizer.cc.

gen::ParameterCollector Herwig6Hadronizer::parameters
private

Definition at line 135 of file Herwig6Hadronizer.cc.

std::string Herwig6Hadronizer::particleSpecFileName
private

Definition at line 154 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::printCards
private

Definition at line 139 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::readMCatNLOfile
private

Definition at line 151 of file Herwig6Hadronizer.cc.

bool Herwig6Hadronizer::readParticleSpecFile
private

Definition at line 155 of file Herwig6Hadronizer.cc.

const std::vector< std::string > Herwig6Hadronizer::theSharedResources
staticprivate
bool Herwig6Hadronizer::useJimmy
private

Definition at line 142 of file Herwig6Hadronizer.cc.