11 #ifndef gen_EvtGenInterface_h
12 #define gen_EvtGenInterface_h
45 virtual HepMC::GenEvent*
decay( HepMC::GenEvent* );
50 bool addToHepMC(
HepMC::GenParticle* partHep,
const EvtId &idEvt, HepMC::GenEvent* theEvent,
bool allowMixing=
true,
bool mixforce=
false,
bool noforced=
false);
edm::ParameterSet * fPSet
void update_particles(HepMC::GenParticle *partHep, HepMC::GenEvent *theEvent, HepMC::GenParticle *p, bool allowMixing=true, bool mixforce=false, bool noforced=false)
virtual HepMC::GenEvent * decay(HepMC::GenEvent *)
std::vector< int > polarize_ids
virtual void setRandomEngine(CLHEP::HepRandomEngine *v)
std::vector< int > forced_pdgids
virtual const std::vector< int > & operatesOnParticles()
static CLHEP::HepRandomEngine * fRandomEngine
std::map< int, float > polarizations
std::vector< EvtId > forced_id
std::vector< double > polarize_pol
EvtGenInterface(const edm::ParameterSet &)
std::vector< int > m_PDGs
bool hasnoDaughter(HepMC::GenParticle *p)
myEvtRandomEngine * the_engine
std::vector< int > ignore_pdgids
bool findLastinChain(HepMC::GenParticle *&p)
bool addToHepMC(HepMC::GenParticle *partHep, const EvtId &idEvt, HepMC::GenEvent *theEvent, bool allowMixing=true, bool mixforce=false, bool noforced=false)