CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes
gen::Pythia6Hadronizer Class Reference

#include <Pythia6Hadronizer.h>

Inheritance diagram for gen::Pythia6Hadronizer:
gen::BaseHadronizer

Public Member Functions

const char * classname () const
 
bool decay ()
 
bool declareSpecialSettings (const std::vector< std::string > &)
 
bool declareStableParticles (const std::vector< int > &)
 
void finalizeEvent ()
 
bool generatePartonsAndHadronize ()
 
bool hadronize ()
 
bool initializeForExternalPartons ()
 
bool initializeForInternalPartons ()
 
 Pythia6Hadronizer (edm::ParameterSet const &ps)
 
bool readSettings (int)
 
bool residualDecay ()
 
void statistics ()
 
 ~Pythia6Hadronizer ()
 
- 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 ()
 

Static Public Member Functions

static JetMatchinggetJetMatching ()
 

Private Types

enum  {
  PP, PPbar, ElectronPositron, ElectronProton,
  PositronProton
}
 

Private Member Functions

virtual void doSetRandomEngine (CLHEP::HepRandomEngine *v) override
 
virtual std::vector
< std::string > const & 
doSharedResources () const override
 
void fillTmpStorage ()
 
void flushTmpStorage ()
 
void imposeProperTime ()
 

Private Attributes

double fBeam1PZ
 
double fBeam2PZ
 
double fCOMEnergy
 
bool fConvertToPDG
 
bool fDisplayPythiaBanner
 
bool fDisplayPythiaCards
 
bool fGluinoHadronsEnabled
 
bool fHepMCVerbosity
 
bool fImposeProperTime
 
int fInitialState
 
unsigned int fMaxEventsToPrint
 
Pythia6ServicefPy6Service
 
unsigned int fPythiaListVerbosity
 
bool fStopHadronsEnabled
 

Static Private Attributes

static JetMatchingfJetMatching = 0
 
static const std::vector
< std::string > 
theSharedResources
 

Additional Inherited Members

- Protected Member Functions inherited from gen::BaseHadronizer
std::auto_ptr< HepMC::GenEvent > & event ()
 
std::auto_ptr
< GenEventInfoProduct > & 
eventInfo ()
 
lhef::LHEEventlheEvent ()
 
lhef::LHERunInfolheRunInfo ()
 
GenRunInfoProductrunInfo ()
 
- Protected Attributes inherited from gen::BaseHadronizer
std::string lheFile_
 
int randomIndex_
 

Detailed Description

Definition at line 42 of file Pythia6Hadronizer.h.

Member Enumeration Documentation

anonymous enum
private

Constructor & Destructor Documentation

gen::Pythia6Hadronizer::Pythia6Hadronizer ( edm::ParameterSet const &  ps)

Definition at line 104 of file Pythia6Hadronizer.cc.

gen::Pythia6Hadronizer::~Pythia6Hadronizer ( )

Definition at line 251 of file Pythia6Hadronizer.cc.

Member Function Documentation

const char * gen::Pythia6Hadronizer::classname ( ) const

Definition at line 1039 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::decay ( )

Definition at line 566 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::declareSpecialSettings ( const std::vector< std::string > &  settings)

Definition at line 912 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::declareStableParticles ( const std::vector< int > &  pdg)

Definition at line 890 of file Pythia6Hadronizer.cc.

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

Reimplemented from gen::BaseHadronizer.

Definition at line 257 of file Pythia6Hadronizer.cc.

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

Reimplemented from gen::BaseHadronizer.

Definition at line 73 of file Pythia6Hadronizer.h.

References theSharedResources.

73 { return theSharedResources; }
static const std::vector< std::string > theSharedResources
void gen::Pythia6Hadronizer::fillTmpStorage ( )
private

Definition at line 280 of file Pythia6Hadronizer.cc.

void gen::Pythia6Hadronizer::finalizeEvent ( )

Definition at line 299 of file Pythia6Hadronizer.cc.

void gen::Pythia6Hadronizer::flushTmpStorage ( )
private

Definition at line 262 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::generatePartonsAndHadronize ( )

Definition at line 444 of file Pythia6Hadronizer.cc.

static JetMatching* gen::Pythia6Hadronizer::getJetMatching ( )
inlinestatic

Definition at line 60 of file Pythia6Hadronizer.h.

References fJetMatching.

60 { return fJetMatching; }
static JetMatching * fJetMatching
bool gen::Pythia6Hadronizer::hadronize ( )

Definition at line 495 of file Pythia6Hadronizer.cc.

void gen::Pythia6Hadronizer::imposeProperTime ( )
private

Definition at line 955 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::initializeForExternalPartons ( )

Definition at line 764 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::initializeForInternalPartons ( )

Definition at line 818 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::readSettings ( int  key)

Definition at line 751 of file Pythia6Hadronizer.cc.

bool gen::Pythia6Hadronizer::residualDecay ( )

Definition at line 571 of file Pythia6Hadronizer.cc.

void gen::Pythia6Hadronizer::statistics ( )

Definition at line 1021 of file Pythia6Hadronizer.cc.

Member Data Documentation

double gen::Pythia6Hadronizer::fBeam1PZ
private

Definition at line 94 of file Pythia6Hadronizer.h.

double gen::Pythia6Hadronizer::fBeam2PZ
private

Definition at line 95 of file Pythia6Hadronizer.h.

double gen::Pythia6Hadronizer::fCOMEnergy
private

Definition at line 92 of file Pythia6Hadronizer.h.

bool gen::Pythia6Hadronizer::fConvertToPDG
private

Definition at line 119 of file Pythia6Hadronizer.h.

bool gen::Pythia6Hadronizer::fDisplayPythiaBanner
private

Definition at line 105 of file Pythia6Hadronizer.h.

bool gen::Pythia6Hadronizer::fDisplayPythiaCards
private

Definition at line 106 of file Pythia6Hadronizer.h.

bool gen::Pythia6Hadronizer::fGluinoHadronsEnabled
private

Definition at line 113 of file Pythia6Hadronizer.h.

bool gen::Pythia6Hadronizer::fHepMCVerbosity
private

Definition at line 99 of file Pythia6Hadronizer.h.

bool gen::Pythia6Hadronizer::fImposeProperTime
private

Definition at line 116 of file Pythia6Hadronizer.h.

int gen::Pythia6Hadronizer::fInitialState
private

Definition at line 91 of file Pythia6Hadronizer.h.

JetMatching * gen::Pythia6Hadronizer::fJetMatching = 0
staticprivate

Definition at line 97 of file Pythia6Hadronizer.h.

Referenced by getJetMatching().

unsigned int gen::Pythia6Hadronizer::fMaxEventsToPrint
private

Definition at line 100 of file Pythia6Hadronizer.h.

Pythia6Service* gen::Pythia6Hadronizer::fPy6Service
private

Definition at line 83 of file Pythia6Hadronizer.h.

unsigned int gen::Pythia6Hadronizer::fPythiaListVerbosity
private

Definition at line 104 of file Pythia6Hadronizer.h.

bool gen::Pythia6Hadronizer::fStopHadronsEnabled
private

Definition at line 112 of file Pythia6Hadronizer.h.

const std::vector< std::string > gen::Pythia6Hadronizer::theSharedResources
staticprivate