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 Types | Private Member Functions | Private Attributes | Static Private Attributes
Pythia8Hadronizer Class Reference
Inheritance diagram for Pythia8Hadronizer:
gen::Py8InterfaceBase gen::BaseHadronizer

Public Member Functions

const char * classname () const override
 
void finalizeEvent () override
 
bool generatePartonsAndHadronize () override
 
GenLumiInfoHeadergetGenLumiInfoHeader () const override
 
bool hadronize ()
 
bool initializeForExternalPartons ()
 
bool initializeForInternalPartons () override
 
 Pythia8Hadronizer (const edm::ParameterSet &params)
 
virtual bool residualDecay ()
 
void statistics () override
 
 ~Pythia8Hadronizer ()
 
- Public Member Functions inherited from gen::Py8InterfaceBase
bool decay ()
 
bool declareSpecialSettings (const std::vector< std::string > &)
 
bool declareStableParticles (const std::vector< int > &)
 
void p8SetRandomEngine (CLHEP::HepRandomEngine *v)
 
 Py8InterfaceBase (edm::ParameterSet const &ps)
 
P8RndmEnginerandomEngine ()
 
bool readSettings (int)
 
 ~Py8InterfaceBase ()
 
- 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 ()
 
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 ()
 

Private Types

enum  { PP, PPbar, ElectronPositron }
 

Private Member Functions

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

Private Attributes

double comEnergy
 Center-of-Mass energy. More...
 
vector< float > DJR
 
int EV1_emittedMode
 
int EV1_maxVetoCount
 
bool EV1_MPIvetoOn
 
int EV1_nFinal
 
int EV1_pTdefMode
 
int EV1_pTempMode
 
int EV1_pThardMode
 
bool EV1_vetoOn
 
double fBeam1PZ
 
double fBeam2PZ
 
std::auto_ptr< PowhegHooks > fEmissionVetoHook
 
std::auto_ptr< EmissionVetoHook1fEmissionVetoHook1
 
int fInitialState
 
std::auto_ptr< JetMatchingHookfJetMatchingHook
 
std::auto_ptr
< Pythia8::JetMatchingMadgraph > 
fJetMatchingPy8InternalHook
 
std::auto_ptr
< Pythia8::amcnlo_unitarised_interface > 
fMergingHook
 
std::auto_ptr< MultiUserHookfMultiUserHook
 
std::auto_ptr
< ResonanceDecayFilterHook
fResonanceDecayFilterHook
 
std::auto_ptr< UserHooks > fReweightPtHatRapUserHook
 
std::auto_ptr< UserHooks > fReweightRapUserHook
 
std::auto_ptr< UserHooks > fReweightUserHook
 
std::vector< std::string > fSortedWeightKeys
 
std::auto_ptr< LHAupLesHoucheslhaUP
 
std::string LHEInputFileName
 
int nFSRveto
 
int nISRveto
 
int nME
 
int nMEFiltered
 

Static Private Attributes

static const std::vector
< std::string > 
p8SharedResources = { edm::SharedResourceNames::kPythia8 }
 

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::Py8InterfaceBase
HepMC::IO_AsciiParticles * ascii_io
 
std::auto_ptr< EvtGenDecays > evtgenDecays
 
std::string evtgenDecFile
 
std::string evtgenPdlFile
 
std::vector< std::string > evtgenUserFiles
 
std::auto_ptr< Pythia8::Pythia > fDecayer
 
std::auto_ptr< Pythia8::Pythia > fMasterGen
 
edm::ParameterSet fParameters
 
unsigned int maxEventsToPrint
 
bool pythiaHepMCVerbosity
 
bool pythiaHepMCVerbosityParticles
 
unsigned int pythiaPylistVerbosity
 
std::string slhafile_
 
HepMC::Pythia8ToHepMC toHepMC
 
bool useEvtGen
 
- Protected Attributes inherited from gen::BaseHadronizer
std::string lheFile_
 
int randomIndex_
 

Detailed Description

Definition at line 65 of file Pythia8Hadronizer.cc.

Member Enumeration Documentation

anonymous enum
private
Enumerator
PP 
PPbar 
ElectronPositron 

Definition at line 99 of file Pythia8Hadronizer.cc.

Constructor & Destructor Documentation

Pythia8Hadronizer::Pythia8Hadronizer ( const edm::ParameterSet params)

Definition at line 152 of file Pythia8Hadronizer.cc.

Pythia8Hadronizer::~Pythia8Hadronizer ( )

Definition at line 280 of file Pythia8Hadronizer.cc.

Member Function Documentation

const char* Pythia8Hadronizer::classname ( ) const
inlineoverridevirtual

Implements gen::Py8InterfaceBase.

Definition at line 84 of file Pythia8Hadronizer.cc.

virtual void Pythia8Hadronizer::doSetRandomEngine ( CLHEP::HepRandomEngine *  v)
inlineoverrideprivatevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 90 of file Pythia8Hadronizer.cc.

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

Reimplemented from gen::BaseHadronizer.

Definition at line 91 of file Pythia8Hadronizer.cc.

void Pythia8Hadronizer::finalizeEvent ( )
overridevirtual

Implements gen::Py8InterfaceBase.

Definition at line 777 of file Pythia8Hadronizer.cc.

bool Pythia8Hadronizer::generatePartonsAndHadronize ( )
overridevirtual

Implements gen::Py8InterfaceBase.

Definition at line 589 of file Pythia8Hadronizer.cc.

GenLumiInfoHeader * Pythia8Hadronizer::getGenLumiInfoHeader ( ) const
overridevirtual

Reimplemented from gen::BaseHadronizer.

Definition at line 822 of file Pythia8Hadronizer.cc.

bool Pythia8Hadronizer::hadronize ( )

Definition at line 660 of file Pythia8Hadronizer.cc.

bool Pythia8Hadronizer::initializeForExternalPartons ( )

Definition at line 440 of file Pythia8Hadronizer.cc.

bool Pythia8Hadronizer::initializeForInternalPartons ( )
overridevirtual

Implements gen::Py8InterfaceBase.

Definition at line 285 of file Pythia8Hadronizer.cc.

bool Pythia8Hadronizer::residualDecay ( )
virtual

Definition at line 728 of file Pythia8Hadronizer.cc.

void Pythia8Hadronizer::statistics ( )
overridevirtual

Reimplemented from gen::Py8InterfaceBase.

Definition at line 570 of file Pythia8Hadronizer.cc.

Member Data Documentation

double Pythia8Hadronizer::comEnergy
private

Center-of-Mass energy.

Definition at line 94 of file Pythia8Hadronizer.cc.

vector<float> Pythia8Hadronizer::DJR
private

Definition at line 139 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::EV1_emittedMode
private

Definition at line 133 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::EV1_maxVetoCount
private

Definition at line 130 of file Pythia8Hadronizer.cc.

bool Pythia8Hadronizer::EV1_MPIvetoOn
private

Definition at line 135 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::EV1_nFinal
private

Definition at line 128 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::EV1_pTdefMode
private

Definition at line 134 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::EV1_pTempMode
private

Definition at line 132 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::EV1_pThardMode
private

Definition at line 131 of file Pythia8Hadronizer.cc.

bool Pythia8Hadronizer::EV1_vetoOn
private

Definition at line 129 of file Pythia8Hadronizer.cc.

double Pythia8Hadronizer::fBeam1PZ
private

Definition at line 102 of file Pythia8Hadronizer.cc.

double Pythia8Hadronizer::fBeam2PZ
private

Definition at line 103 of file Pythia8Hadronizer.cc.

std::auto_ptr<PowhegHooks> Pythia8Hadronizer::fEmissionVetoHook
private

Definition at line 122 of file Pythia8Hadronizer.cc.

std::auto_ptr<EmissionVetoHook1> Pythia8Hadronizer::fEmissionVetoHook1
private

Definition at line 123 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::fInitialState
private

Definition at line 100 of file Pythia8Hadronizer.cc.

std::auto_ptr<JetMatchingHook> Pythia8Hadronizer::fJetMatchingHook
private

Definition at line 116 of file Pythia8Hadronizer.cc.

std::auto_ptr<Pythia8::JetMatchingMadgraph> Pythia8Hadronizer::fJetMatchingPy8InternalHook
private

Definition at line 117 of file Pythia8Hadronizer.cc.

std::auto_ptr<Pythia8::amcnlo_unitarised_interface> Pythia8Hadronizer::fMergingHook
private

Definition at line 118 of file Pythia8Hadronizer.cc.

std::auto_ptr<MultiUserHook> Pythia8Hadronizer::fMultiUserHook
private

Definition at line 106 of file Pythia8Hadronizer.cc.

std::auto_ptr<ResonanceDecayFilterHook> Pythia8Hadronizer::fResonanceDecayFilterHook
private

Definition at line 126 of file Pythia8Hadronizer.cc.

std::auto_ptr<UserHooks> Pythia8Hadronizer::fReweightPtHatRapUserHook
private

Definition at line 112 of file Pythia8Hadronizer.cc.

std::auto_ptr<UserHooks> Pythia8Hadronizer::fReweightRapUserHook
private

Definition at line 111 of file Pythia8Hadronizer.cc.

std::auto_ptr<UserHooks> Pythia8Hadronizer::fReweightUserHook
private

Definition at line 110 of file Pythia8Hadronizer.cc.

std::vector<std::string> Pythia8Hadronizer::fSortedWeightKeys
private

Definition at line 146 of file Pythia8Hadronizer.cc.

std::auto_ptr<LHAupLesHouches> Pythia8Hadronizer::lhaUP
private

Definition at line 97 of file Pythia8Hadronizer.cc.

std::string Pythia8Hadronizer::LHEInputFileName
private

Definition at line 96 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::nFSRveto
private

Definition at line 144 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::nISRveto
private

Definition at line 143 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::nME
private

Definition at line 140 of file Pythia8Hadronizer.cc.

int Pythia8Hadronizer::nMEFiltered
private

Definition at line 141 of file Pythia8Hadronizer.cc.

const std::vector< std::string > Pythia8Hadronizer::p8SharedResources = { edm::SharedResourceNames::kPythia8 }
staticprivate

Definition at line 137 of file Pythia8Hadronizer.cc.