14 #ifndef Pythia8_CombineMatchingInput_H
15 #define Pythia8_CombineMatchingInput_H
18 #include "Pythia8/Pythia.h"
19 #include "GeneratorInput.h"
20 #include "JetMatching.h"
21 using namespace Pythia8;
41 virtual bool initAfterBeams() {
42 if (!AlpgenHooks::initAfterBeams())
return false;
43 if (!JetMatchingAlpgen::initAfterBeams())
return false;
48 virtual bool canVetoProcessLevel() {
49 return JetMatchingAlpgen::canVetoProcessLevel();
51 virtual bool doVetoProcessLevel(
Event & proc) {
52 return JetMatchingAlpgen::doVetoProcessLevel(proc);
56 virtual bool canVetoPartonLevelEarly() {
57 return JetMatchingAlpgen::canVetoPartonLevelEarly();
59 virtual bool doVetoPartonLevelEarly(
const Event &proc) {
60 return JetMatchingAlpgen::doVetoPartonLevelEarly(proc);
83 virtual bool initAfterBeams() {
85 settingsPtr->flag(
"JetMatching:setMad",
false);
86 if (!AlpgenHooks::initAfterBeams())
return false;
87 if (!JetMatchingMadgraph::initAfterBeams())
return false;
92 virtual bool canVetoProcessLevel() {
93 return JetMatchingMadgraph::canVetoProcessLevel();
95 virtual bool doVetoProcessLevel(
Event& proc) {
96 return JetMatchingMadgraph::doVetoProcessLevel(proc);
100 virtual bool canVetoPartonLevelEarly() {
101 return JetMatchingMadgraph::canVetoPartonLevelEarly();
103 virtual bool doVetoPartonLevelEarly(
const Event& proc) {
104 return JetMatchingMadgraph::doVetoPartonLevelEarly(proc);
123 bool isAlpgenFile = ( pythia.word(
"Alpgen:file") !=
"void" );
124 int scheme = pythia.mode(
"JetMatching:scheme");
136 pythia.info.errorMsg(
"Abort from CombinedInputMatching::getHook: "
137 "settings unavailable");
145 #endif // Pythia8_CombineMatchingInput_H