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 Member Functions | Private Attributes | Static Private Attributes
gen::EvtGenInterface Class Reference

#include <EvtGenInterface.h>

Inheritance diagram for gen::EvtGenInterface:
gen::EvtGenInterfaceBase

Public Member Functions

virtual HepMC::GenEvent * decay (HepMC::GenEvent *)
 
 EvtGenInterface (const edm::ParameterSet &)
 
virtual void init ()
 
virtual const std::vector< int > & operatesOnParticles ()
 
virtual void setRandomEngine (CLHEP::HepRandomEngine *v)
 
 ~EvtGenInterface ()
 
- Public Member Functions inherited from gen::EvtGenInterfaceBase
 EvtGenInterfaceBase ()
 
virtual void SetPhotosDecayRandomEngine (CLHEP::HepRandomEngine *decayRandomEngine)
 
virtual const std::vector
< std::string > & 
specialSettings ()
 
virtual ~EvtGenInterfaceBase ()
 

Static Public Member Functions

static double flat ()
 

Private Member Functions

bool addToHepMC (HepMC::GenParticle *partHep, const EvtId &idEvt, HepMC::GenEvent *theEvent, bool del_daug)
 
bool findLastinChain (HepMC::GenParticle *&p)
 
void go_through_daughters (EvtParticle *part)
 
bool hasnoDaughter (HepMC::GenParticle *p)
 
void SetDefault_m_PDGs ()
 
void update_particles (HepMC::GenParticle *partHep, HepMC::GenEvent *theEvent, HepMC::GenParticle *p)
 

Private Attributes

int BmixingOption = 1
 
std::vector< EvtId > forced_id
 
std::vector< int > forced_pdgids
 
edm::ParameterSetfPSet
 
std::vector< int > ignore_pdgids
 
EvtGen * m_EvtGen
 
std::map< int, float > polarizations
 
std::vector< int > polarize_ids
 
std::vector< double > polarize_pol
 
myEvtRandomEnginethe_engine
 

Static Private Attributes

static CLHEP::HepRandomEngine * fRandomEngine
 

Additional Inherited Members

- Protected Attributes inherited from gen::EvtGenInterfaceBase
std::vector< std::string > fSpecialSettings
 
std::vector< int > m_PDGs
 

Detailed Description

Definition at line 38 of file EvtGenInterface.h.

Constructor & Destructor Documentation

EvtGenInterface::EvtGenInterface ( const edm::ParameterSet pset)

Definition at line 54 of file EvtGenInterface.cc.

EvtGenInterface::~EvtGenInterface ( )

Definition at line 286 of file EvtGenInterface.cc.

Member Function Documentation

bool EvtGenInterface::addToHepMC ( HepMC::GenParticle *  partHep,
const EvtId &  idEvt,
HepMC::GenEvent *  theEvent,
bool  del_daug 
)
private

Definition at line 492 of file EvtGenInterface.cc.

HepMC::GenEvent * EvtGenInterface::decay ( HepMC::GenEvent *  evt)
virtual

Reimplemented from gen::EvtGenInterfaceBase.

Definition at line 414 of file EvtGenInterface.cc.

bool EvtGenInterface::findLastinChain ( HepMC::GenParticle *&  p)
private

Definition at line 579 of file EvtGenInterface.cc.

double EvtGenInterface::flat ( )
static

Definition at line 568 of file EvtGenInterface.cc.

void EvtGenInterface::go_through_daughters ( EvtParticle *  part)
private

Definition at line 603 of file EvtGenInterface.cc.

bool EvtGenInterface::hasnoDaughter ( HepMC::GenParticle *  p)
private

Definition at line 594 of file EvtGenInterface.cc.

void EvtGenInterface::init ( void  )
virtual

Reimplemented from gen::EvtGenInterfaceBase.

Definition at line 289 of file EvtGenInterface.cc.

virtual const std::vector<int>& gen::EvtGenInterface::operatesOnParticles ( )
inlinevirtual

Reimplemented from gen::EvtGenInterfaceBase.

Definition at line 45 of file EvtGenInterface.h.

References gen::EvtGenInterfaceBase::m_PDGs.

45 { return m_PDGs; }
void EvtGenInterface::SetDefault_m_PDGs ( )
private

Definition at line 59 of file EvtGenInterface.cc.

void EvtGenInterface::setRandomEngine ( CLHEP::HepRandomEngine *  v)
virtual

Implements gen::EvtGenInterfaceBase.

Definition at line 563 of file EvtGenInterface.cc.

void EvtGenInterface::update_particles ( HepMC::GenParticle *  partHep,
HepMC::GenEvent *  theEvent,
HepMC::GenParticle *  p 
)
private

Definition at line 541 of file EvtGenInterface.cc.

Member Data Documentation

int gen::EvtGenInterface::BmixingOption = 1
private

Definition at line 69 of file EvtGenInterface.h.

std::vector<EvtId> gen::EvtGenInterface::forced_id
private

Definition at line 60 of file EvtGenInterface.h.

std::vector<int> gen::EvtGenInterface::forced_pdgids
private

Definition at line 61 of file EvtGenInterface.h.

edm::ParameterSet* gen::EvtGenInterface::fPSet
private

Definition at line 70 of file EvtGenInterface.h.

CLHEP::HepRandomEngine * EvtGenInterface::fRandomEngine
staticprivate

Definition at line 72 of file EvtGenInterface.h.

std::vector<int> gen::EvtGenInterface::ignore_pdgids
private

Definition at line 63 of file EvtGenInterface.h.

EvtGen* gen::EvtGenInterface::m_EvtGen
private

Definition at line 58 of file EvtGenInterface.h.

std::map<int, float> gen::EvtGenInterface::polarizations
private

Definition at line 68 of file EvtGenInterface.h.

std::vector<int> gen::EvtGenInterface::polarize_ids
private

Definition at line 66 of file EvtGenInterface.h.

std::vector<double> gen::EvtGenInterface::polarize_pol
private

Definition at line 67 of file EvtGenInterface.h.

myEvtRandomEngine* gen::EvtGenInterface::the_engine
private

Definition at line 73 of file EvtGenInterface.h.