#include <Hadronisation.h>
Definition at line 25 of file Hadronisation.h.
lhef::Hadronisation::~Hadronisation |
( |
| ) |
|
|
virtual |
std::set< std::string > lhef::Hadronisation::capabilities |
( |
| ) |
const |
|
virtual |
void lhef::Hadronisation::clear |
( |
void |
| ) |
|
virtual std::auto_ptr<HepMC::GenEvent> lhef::Hadronisation::doHadronisation |
( |
| ) |
|
|
protectedpure virtual |
virtual void lhef::Hadronisation::doInit |
( |
| ) |
|
|
protectedpure virtual |
virtual void lhef::Hadronisation::doSetRandomEngine |
( |
CLHEP::HepRandomEngine * |
v | ) |
|
|
inlineprivatevirtual |
const boost::shared_ptr<LHEEvent>& lhef::Hadronisation::getRawEvent |
( |
| ) |
const |
|
inlineprotected |
std::auto_ptr< HepMC::GenEvent > lhef::Hadronisation::hadronize |
( |
| ) |
|
Definition at line 119 of file Hadronisation.cc.
References doHadronisation(), event(), and lhef::LHEEvent::findSignalVertex().
125 const HepMC::GenVertex *signalVertex =
event->signal_process_vertex();
128 event->set_signal_process_vertex(
129 const_cast<HepMC::GenVertex*>(signalVertex));
virtual std::auto_ptr< HepMC::GenEvent > doHadronisation()=0
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
static const HepMC::GenVertex * findSignalVertex(const HepMC::GenEvent *event, bool status3=true)
void lhef::Hadronisation::init |
( |
void |
| ) |
|
void lhef::Hadronisation::matchingCapabilities |
( |
const std::set< std::string > & |
capabilities | ) |
|
|
virtual |
Definition at line 74 of file Hadronisation.cc.
References capabilities(), psAsHepMC, and psRequested.
79 for(std::set<std::string>::const_iterator iter =
capabilities.begin();
83 else if (*iter ==
"psFinalState")
85 else if (*iter ==
"matchSummary")
89 <<
"JetMatching expected capability \""
90 << *iter <<
"\", but hadronizer does not "
91 "support it." << std::endl;
virtual std::set< std::string > capabilities() const
void lhef::Hadronisation::newRunInfo |
( |
const boost::shared_ptr< LHERunInfo > & |
runInfo | ) |
|
|
protectedvirtual |
sigc::signal<void>& lhef::Hadronisation::onBeforeHadronisation |
( |
| ) |
|
|
inline |
sigc::signal<void>& lhef::Hadronisation::onInit |
( |
| ) |
|
|
inline |
sigc::signal<bool, const boost::shared_ptr<HepMC::GenEvent>&>& lhef::Hadronisation::onShoweredEvent |
( |
| ) |
|
|
inline |
Definition at line 46 of file Hadronisation.h.
References sigShower.
sigc::signal< bool, const boost::shared_ptr< HepMC::GenEvent > & > sigShower
bool lhef::Hadronisation::setEvent |
( |
const boost::shared_ptr< LHEEvent > & |
event | ) |
|
Definition at line 52 of file Hadronisation.cc.
References event(), newRunInfo(), and rawEvent.
55 (
rawEvent->getRunInfo() !=
event->getRunInfo() &&
56 *
rawEvent->getRunInfo() != *
event->getRunInfo());
virtual void newRunInfo(const boost::shared_ptr< LHERunInfo > &runInfo)
boost::shared_ptr< LHEEvent > rawEvent
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void lhef::Hadronisation::setRandomEngine |
( |
CLHEP::HepRandomEngine * |
v | ) |
|
|
inline |
bool lhef::Hadronisation::showeredEvent |
( |
const boost::shared_ptr< HepMC::GenEvent > & |
event | ) |
|
|
protected |
Definition at line 139 of file Hadronisation.cc.
References lhef::LHEEvent::findSignalVertex(), and sigShower.
143 const HepMC::GenVertex *signalVertex =
144 event->signal_process_vertex();
147 event->set_signal_process_vertex(
148 const_cast<HepMC::GenVertex*>(signalVertex));
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
sigc::signal< bool, const boost::shared_ptr< HepMC::GenEvent > & > sigShower
static const HepMC::GenVertex * findSignalVertex(const HepMC::GenEvent *event, bool status3=true)
virtual void lhef::Hadronisation::statistics |
( |
| ) |
|
|
inlinevirtual |
virtual double lhef::Hadronisation::totalBranchingRatio |
( |
int |
pdgId | ) |
const |
|
inlinevirtual |
bool lhef::Hadronisation::wantsShoweredEvent |
( |
| ) |
const |
|
inlineprotected |
bool lhef::Hadronisation::wantsShoweredEventAsHepMC |
( |
| ) |
const |
|
inlineprotected |
bool lhef::Hadronisation::psAsHepMC |
|
private |
bool lhef::Hadronisation::psRequested |
|
private |
boost::shared_ptr<LHEEvent> lhef::Hadronisation::rawEvent |
|
private |
sigc::signal<void> lhef::Hadronisation::sigBeforeHadronisation |
|
private |
sigc::signal<void> lhef::Hadronisation::sigInit |
|
private |
sigc::signal<bool, const boost::shared_ptr<HepMC::GenEvent>&> lhef::Hadronisation::sigShower |
|
private |