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
gen::PomwigHadronizer Class Reference

#include <PomwigHadronizer.h>

Inheritance diagram for gen::PomwigHadronizer:
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 ()
 
bool initializeForExternalPartons ()
 
bool initializeForInternalPartons ()
 
 PomwigHadronizer (const edm::ParameterSet &params)
 
bool readSettings (int)
 
bool residualDecay ()
 
void statistics ()
 
 ~PomwigHadronizer ()
 
- 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 void upEvnt ()
 
virtual void upInit ()
 
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
 
bool initializeDPDF ()
 

Private Attributes

double comEnergy
 
HepMC::IO_HERWIG conv
 
int diffTopology
 
bool doMPInteraction
 
bool doPDGConvert
 
int h1fit
 
int hepmcVerbosity
 
int herwigVerbosity
 
int maxEventsToPrint
 
bool needClear
 
int numTrials
 
gen::ParameterCollector parameters
 
bool printCards
 
double survivalProbability
 
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 21 of file PomwigHadronizer.h.

Constructor & Destructor Documentation

gen::PomwigHadronizer::PomwigHadronizer ( const edm::ParameterSet params)

Definition at line 94 of file PomwigHadronizer.cc.

gen::PomwigHadronizer::~PomwigHadronizer ( )

Definition at line 115 of file PomwigHadronizer.cc.

Member Function Documentation

const char* gen::PomwigHadronizer::classname ( ) const
inline

Definition at line 41 of file PomwigHadronizer.h.

41 { return "PomwigHadronizer"; }
void gen::PomwigHadronizer::clear ( void  )
private

Definition at line 125 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::decay ( )

Definition at line 358 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::declareSpecialSettings ( const std::vector< std::string > &  )
inline

Definition at line 32 of file PomwigHadronizer.h.

32 { return true; }
bool gen::PomwigHadronizer::declareStableParticles ( const std::vector< int > &  pdgIds)

Definition at line 289 of file PomwigHadronizer.cc.

void gen::PomwigHadronizer::doSetRandomEngine ( CLHEP::HepRandomEngine *  v)
overrideprivatevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 120 of file PomwigHadronizer.cc.

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

Reimplemented from gen::BaseHadronizer.

Definition at line 46 of file PomwigHadronizer.h.

References theSharedResources.

46 { return theSharedResources; }
static const std::vector< std::string > theSharedResources
void gen::PomwigHadronizer::finalizeEvent ( )

Definition at line 349 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::generatePartonsAndHadronize ( )

Definition at line 314 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::hadronize ( )

Definition at line 309 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::initializeDPDF ( )
private

Definition at line 243 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::initializeForExternalPartons ( )

Definition at line 138 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::initializeForInternalPartons ( )

Definition at line 229 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::readSettings ( int  )

Definition at line 143 of file PomwigHadronizer.cc.

bool gen::PomwigHadronizer::residualDecay ( )

Definition at line 389 of file PomwigHadronizer.cc.

void gen::PomwigHadronizer::statistics ( )

Definition at line 298 of file PomwigHadronizer.cc.

Member Data Documentation

double gen::PomwigHadronizer::comEnergy
private

Definition at line 61 of file PomwigHadronizer.h.

HepMC::IO_HERWIG gen::PomwigHadronizer::conv
private

Definition at line 72 of file PomwigHadronizer.h.

int gen::PomwigHadronizer::diffTopology
private

Definition at line 63 of file PomwigHadronizer.h.

bool gen::PomwigHadronizer::doMPInteraction
private

Definition at line 67 of file PomwigHadronizer.h.

bool gen::PomwigHadronizer::doPDGConvert
private

Definition at line 70 of file PomwigHadronizer.h.

int gen::PomwigHadronizer::h1fit
private

Definition at line 64 of file PomwigHadronizer.h.

int gen::PomwigHadronizer::hepmcVerbosity
private

Definition at line 57 of file PomwigHadronizer.h.

int gen::PomwigHadronizer::herwigVerbosity
private

Definition at line 56 of file PomwigHadronizer.h.

int gen::PomwigHadronizer::maxEventsToPrint
private

Definition at line 58 of file PomwigHadronizer.h.

bool gen::PomwigHadronizer::needClear
private

Definition at line 53 of file PomwigHadronizer.h.

int gen::PomwigHadronizer::numTrials
private

Definition at line 68 of file PomwigHadronizer.h.

gen::ParameterCollector gen::PomwigHadronizer::parameters
private

Definition at line 55 of file PomwigHadronizer.h.

bool gen::PomwigHadronizer::printCards
private

Definition at line 59 of file PomwigHadronizer.h.

double gen::PomwigHadronizer::survivalProbability
private

Definition at line 62 of file PomwigHadronizer.h.

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

Definition at line 66 of file PomwigHadronizer.h.