#include <Hadronisation.h>
Public Types | |
typedef edmplugin::PluginFactory < Hadronisation *(const edm::ParameterSet &)> | Factory |
Public Member Functions | |
virtual std::set< std::string > | capabilities () const |
void | clear () |
Hadronisation (const edm::ParameterSet ¶ms) | |
std::auto_ptr< HepMC::GenEvent > | hadronize () |
void | init () |
virtual void | matchingCapabilities (const std::set< std::string > &capabilities) |
sigc::signal< void > & | onBeforeHadronisation () |
sigc::signal< void > & | onInit () |
sigc::signal< bool, const boost::shared_ptr < HepMC::GenEvent > & > & | onShoweredEvent () |
bool | setEvent (const boost::shared_ptr< LHEEvent > &event) |
virtual void | statistics () |
virtual double | totalBranchingRatio (int pdgId) const |
virtual | ~Hadronisation () |
Static Public Member Functions | |
static std::auto_ptr < Hadronisation > | create (const edm::ParameterSet ¶ms) |
Protected Member Functions | |
virtual std::auto_ptr < HepMC::GenEvent > | doHadronisation ()=0 |
virtual void | doInit ()=0 |
const boost::shared_ptr < LHEEvent > & | getRawEvent () const |
virtual void | newRunInfo (const boost::shared_ptr< LHERunInfo > &runInfo) |
bool | showeredEvent (const boost::shared_ptr< HepMC::GenEvent > &event) |
bool | wantsShoweredEvent () const |
bool | wantsShoweredEventAsHepMC () const |
Private Attributes | |
bool | psAsHepMC |
bool | psRequested |
boost::shared_ptr< LHEEvent > | rawEvent |
sigc::signal< void > | sigBeforeHadronisation |
sigc::signal< void > | sigInit |
sigc::signal< bool, const boost::shared_ptr < HepMC::GenEvent > & > | sigShower |
Definition at line 21 of file Hadronisation.h.
typedef edmplugin::PluginFactory<Hadronisation*( const edm::ParameterSet &)> lhef::Hadronisation::Factory |
Definition at line 49 of file Hadronisation.h.
lhef::Hadronisation::Hadronisation | ( | const edm::ParameterSet & | params | ) |
Definition at line 37 of file Hadronisation.cc.
|
virtual |
Definition at line 43 of file Hadronisation.cc.
|
virtual |
Definition at line 69 of file Hadronisation.cc.
Referenced by matchingCapabilities().
void lhef::Hadronisation::clear | ( | void | ) |
Definition at line 65 of file Hadronisation.cc.
Referenced by python.Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), python.Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), and python.Vispa.Views.BoxDecayView.BoxDecayView::updateContent().
|
static |
Definition at line 95 of file Hadronisation.cc.
References reco::get(), edm::ParameterSet::getParameter(), AlCaRecoCosmics_cfg::name, and python.pfTaus_cff::plugin.
|
protectedpure virtual |
Implemented in lhef::ThePEGHadronisation, and lhef::Pythia8Hadronisation.
Referenced by hadronize().
|
protectedpure virtual |
Implemented in lhef::ThePEGHadronisation, and lhef::Pythia8Hadronisation.
Referenced by init().
|
inlineprotected |
Definition at line 59 of file Hadronisation.h.
References rawEvent.
Referenced by lhef::Pythia8Hadronisation::doHadronisation(), and lhef::ThePEGHadronisation::doHadronisation().
std::auto_ptr< HepMC::GenEvent > lhef::Hadronisation::hadronize | ( | ) |
Definition at line 119 of file Hadronisation.cc.
References doHadronisation(), event(), and lhef::LHEEvent::findSignalVertex().
void lhef::Hadronisation::init | ( | void | ) |
Definition at line 47 of file Hadronisation.cc.
References doInit().
|
virtual |
Definition at line 74 of file Hadronisation.cc.
References capabilities(), psAsHepMC, and psRequested.
|
protectedvirtual |
Reimplemented in lhef::ThePEGHadronisation, and lhef::Pythia8Hadronisation.
Definition at line 135 of file Hadronisation.cc.
Referenced by setEvent().
|
inline |
Definition at line 42 of file Hadronisation.h.
References sigBeforeHadronisation.
|
inline |
|
inline |
Definition at line 40 of file Hadronisation.h.
References sigShower.
bool lhef::Hadronisation::setEvent | ( | const boost::shared_ptr< LHEEvent > & | event | ) |
Definition at line 52 of file Hadronisation.cc.
References event(), newRunInfo(), and rawEvent.
|
protected |
Definition at line 139 of file Hadronisation.cc.
References lhef::LHEEvent::findSignalVertex(), and sigShower.
|
inlinevirtual |
Definition at line 30 of file Hadronisation.h.
|
inlinevirtual |
Definition at line 31 of file Hadronisation.h.
Referenced by lhef::BranchingRatios::get().
|
inlineprotected |
Definition at line 52 of file Hadronisation.h.
References psRequested, and sigShower.
|
inlineprotected |
|
private |
Definition at line 71 of file Hadronisation.h.
Referenced by matchingCapabilities(), and wantsShoweredEventAsHepMC().
|
private |
Definition at line 70 of file Hadronisation.h.
Referenced by matchingCapabilities(), and wantsShoweredEvent().
|
private |
Definition at line 72 of file Hadronisation.h.
Referenced by getRawEvent(), and setEvent().
|
private |
Definition at line 69 of file Hadronisation.h.
Referenced by onBeforeHadronisation().
|
private |
Definition at line 68 of file Hadronisation.h.
Referenced by onInit().
|
private |
Definition at line 67 of file Hadronisation.h.
Referenced by onShoweredEvent(), showeredEvent(), and wantsShoweredEvent().