26 using namespace Pythia8;
30 : UserHooks(), fRunBlock(0), fEventBlock(0), fEventNumber(0), fInfoPtr(info),
31 fJetMatching(0), fJetInputFill(0),
39 if ( scheme ==
"Madgraph" )
44 else if ( scheme ==
"MadgraphFastJet" )
49 else if ( scheme ==
"MLM" || scheme ==
"Alpgen" )
52 <<
"Port of " << scheme <<
"scheme \"" <<
"\""
53 " for parton-shower matching is still in progress."
58 <<
"Unknown scheme \"" << scheme <<
"\""
59 " specified for parton-shower matching."
76 <<
"Invalid RunInfo" << std::endl;
117 subEvent(event,
true);
T getParameter(std::string const &) const
lhef::LHEEvent * fEventBlock
virtual ~JetMatchingHook()
void setLHEEvent(lhef::LHEEvent *lhee)
virtual void beforeHadronisation(const lhef::LHEEvent *event)
Py8toJetInput * fJetInputFill
virtual void beforeHadronization(lhef::LHEEvent *lhee)
virtual int match(const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput)=0
virtual bool doVetoPartonLevel(const Pythia8::Event &event)
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
virtual const std::vector< int > * getPartonList()
virtual double getJetEtaMax() const =0
void setLHERunInfo(lhef::LHERunInfo *lheri)
virtual void init(lhef::LHERunInfo *runInfo)
virtual void beforeHadronisationExec()
gen::JetMatching * fJetMatching
volatile std::atomic< bool > shutdown_flag false
virtual void init(const lhef::LHERunInfo *runInfo)
lhef::LHERunInfo * fRunBlock