23 using namespace Pythia8;
31 fJetMatching(nullptr),
32 fJetInputFill(nullptr),
33 fIsInitialized(
false) {
38 if (scheme ==
"Madgraph") {
41 }
else if (scheme ==
"MadgraphFastJet") {
44 }
else if (scheme ==
"MLM" || scheme ==
"Alpgen") {
45 throw cms::Exception(
"JetMatching") <<
"Port of " << scheme <<
"scheme \""
47 " for parton-shower matching is still in progress."
50 throw cms::Exception(
"InvalidJetMatching") <<
"Unknown scheme \"" << scheme
52 " specified for parton-shower matching."
64 throw cms::Exception(
"JetMatching") <<
"Invalid RunInfo" << std::endl;
98 subEvent(event,
true);
106 std::vector<fastjet::PseudoJet> jetInput =
lhef::LHEEvent * fEventBlock
void setLHEEvent(lhef::LHEEvent *lhee)
bool doVetoPartonLevel(const Pythia8::Event &event) override
virtual void beforeHadronisation(const lhef::LHEEvent *event)
~JetMatchingHook() override
Py8toJetInput * fJetInputFill
virtual void beforeHadronization(lhef::LHEEvent *lhee)
virtual int match(const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput)=0
virtual const std::vector< int > * getPartonList()
virtual double getJetEtaMax() const =0
void setLHERunInfo(lhef::LHERunInfo *lheri)
virtual void init(lhef::LHERunInfo *runInfo)
T getParameter(std::string const &) const
virtual void beforeHadronisationExec()
gen::JetMatching * fJetMatching
virtual void init(const lhef::LHERunInfo *runInfo)
lhef::LHERunInfo * fRunBlock