28 std::set<std::string>
result;
29 result.insert(
"psFinalState");
30 result.insert(
"hepmc");
37 std::unique_ptr<JetMatching> matching;
39 if (scheme ==
"Madgraph") {
40 matching = std::make_unique<JetMatchingMadgraph>(
params);
41 }
else if (scheme ==
"Alpgen") {
42 matching = std::make_unique<JetMatchingAlpgen>(
params);
43 }
else if (scheme ==
"MLM") {
46 throw cms::Exception(
"InvalidJetMatching") <<
"Unknown scheme \"" << scheme
48 " specified for parton-shower matching."
52 throw cms::Exception(
"InvalidJetMatching") <<
"Port of " << scheme <<
"scheme \""
54 " for parton-shower matching is still in progress."
virtual void beforeHadronisation(const lhef::LHEEvent *event)
virtual std::set< std::string > capabilities() const
T getParameter(std::string const &) const
JetMatching(const edm::ParameterSet ¶ms)
virtual void beforeHadronisationExec()
virtual void init(const lhef::LHERunInfo *runInfo)
static std::unique_ptr< JetMatching > create(const edm::ParameterSet ¶ms)