#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) |
void | setRandomEngine (CLHEP::HepRandomEngine *v) |
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 Member Functions | |
virtual void | doSetRandomEngine (CLHEP::HepRandomEngine *v) |
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 25 of file Hadronisation.h.
typedef edmplugin::PluginFactory<Hadronisation*( const edm::ParameterSet &)> lhef::Hadronisation::Factory |
Definition at line 55 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.
|
static |
Definition at line 95 of file Hadronisation.cc.
References reco::get(), edm::ParameterSet::getParameter(), mergeVDriftHistosByStation::name, fwrapper::plugin, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedpure virtual |
Implemented in lhef::ThePEGHadronisation.
Referenced by hadronize().
|
protectedpure virtual |
Implemented in lhef::ThePEGHadronisation.
Referenced by init().
|
inlineprivatevirtual |
Reimplemented in lhef::ThePEGHadronisation.
Definition at line 74 of file Hadronisation.h.
Referenced by setRandomEngine().
|
inlineprotected |
Definition at line 65 of file Hadronisation.h.
References rawEvent.
Referenced by 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(), getDQMSummary::iter, psAsHepMC, and psRequested.
|
protectedvirtual |
Reimplemented in lhef::ThePEGHadronisation.
Definition at line 135 of file Hadronisation.cc.
Referenced by setEvent().
|
inline |
Definition at line 48 of file Hadronisation.h.
References sigBeforeHadronisation.
|
inline |
|
inline |
Definition at line 46 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.
|
inline |
Definition at line 34 of file Hadronisation.h.
References doSetRandomEngine().
|
protected |
Definition at line 139 of file Hadronisation.cc.
References lhef::LHEEvent::findSignalVertex(), and sigShower.
|
inlinevirtual |
Definition at line 36 of file Hadronisation.h.
|
inlinevirtual |
Definition at line 37 of file Hadronisation.h.
Referenced by lhef::BranchingRatios::get().
|
inlineprotected |
Definition at line 58 of file Hadronisation.h.
References psRequested, and sigShower.
|
inlineprotected |
|
private |
Definition at line 80 of file Hadronisation.h.
Referenced by matchingCapabilities(), and wantsShoweredEventAsHepMC().
|
private |
Definition at line 79 of file Hadronisation.h.
Referenced by matchingCapabilities(), and wantsShoweredEvent().
|
private |
Definition at line 81 of file Hadronisation.h.
Referenced by getRawEvent(), and setEvent().
|
private |
Definition at line 78 of file Hadronisation.h.
Referenced by onBeforeHadronisation().
|
private |
Definition at line 77 of file Hadronisation.h.
Referenced by onInit().
|
private |
Definition at line 76 of file Hadronisation.h.
Referenced by onShoweredEvent(), showeredEvent(), and wantsShoweredEvent().