1 #ifndef GeneratorInterface_LHEInterface_Hadronisation_h
2 #define GeneratorInterface_LHEInterface_Hadronisation_h
8 #include <boost/shared_ptr.hpp>
9 #include <sigc++/signal.h>
11 #include "HepMC/GenEvent.h"
17 class HepRandomEngine;
39 std::auto_ptr<HepMC::GenEvent>
hadronize();
45 inline sigc::signal<bool, const boost::shared_ptr<HepMC::GenEvent>&>&
51 static std::auto_ptr<Hadronisation>
create(
63 bool showeredEvent(
const boost::shared_ptr<HepMC::GenEvent> &event);
70 virtual void newRunInfo(
const boost::shared_ptr<LHERunInfo> &runInfo);
76 sigc::signal<bool, const boost::shared_ptr<HepMC::GenEvent>&>
sigShower;
86 #define DEFINE_LHE_HADRONISATION_PLUGIN(T) \
87 DEFINE_EDM_PLUGIN(lhef::Hadronisation::Factory, T, #T)
89 #endif // GeneratorRunInfo_LHEInterface_Hadronisation_h
sigc::signal< bool, const boost::shared_ptr< HepMC::GenEvent > & > & onShoweredEvent()
bool wantsShoweredEventAsHepMC() const
virtual std::set< std::string > capabilities() const
bool showeredEvent(const boost::shared_ptr< HepMC::GenEvent > &event)
virtual void statistics()
bool wantsShoweredEvent() const
virtual void newRunInfo(const boost::shared_ptr< LHERunInfo > &runInfo)
virtual std::auto_ptr< HepMC::GenEvent > doHadronisation()=0
void setRandomEngine(CLHEP::HepRandomEngine *v)
Hadronisation(const edm::ParameterSet ¶ms)
virtual double totalBranchingRatio(int pdgId) const
const boost::shared_ptr< LHEEvent > & getRawEvent() const
virtual void matchingCapabilities(const std::set< std::string > &capabilities)
sigc::signal< void > sigBeforeHadronisation
std::auto_ptr< HepMC::GenEvent > hadronize()
sigc::signal< void > & onBeforeHadronisation()
sigc::signal< void > sigInit
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
static std::auto_ptr< Hadronisation > create(const edm::ParameterSet ¶ms)
sigc::signal< bool, const boost::shared_ptr< HepMC::GenEvent > & > sigShower
bool setEvent(const boost::shared_ptr< LHEEvent > &event)
virtual void doSetRandomEngine(CLHEP::HepRandomEngine *v)
sigc::signal< void > & onInit()