7 #include <HepMC/GenEvent.h> 24 extern void alveto_(
int *ipveto);
36 applyMatching(params.getParameter<
bool>(
"applyMatching")),
51 std::set<std::string>
result;
52 result.insert(
"psFinalState");
53 result.insert(
"hepevt");
54 result.insert(
"pythia6");
64 std::vector<std::string> headerLines = runInfo->
findHeader(
"AlpgenUnwParFile");
65 if (headerLines.empty())
67 <<
"In order to use Alpgen jet matching, " 68 "the input file has to contain the corresponding " 69 "Alpgen headers." << std::endl;
72 header.
parse(headerLines.begin(), headerLines.end());
106 for(std::map<AlpgenHeader::Parameter, double>::const_iterator iter =
125 <<
"Run not initialized in JetMatchingAlpgen" 155 <<
"Run not initialized in JetMatchingAlpgen" 160 <<
"Event not initialized in JetMatchingAlpgen" 182 std::strncpy(csho,
"PYT", 3);
T getParameter(std::string const &) const
void beforeHadronisation(const lhef::LHEEvent *event) override
JetMatchingAlpgen(const edm::ParameterSet ¶ms)
void alshcd_(char csho[3])
~JetMatchingAlpgen() override
void init(const lhef::LHERunInfo *runInfo) override
int match(const lhef::LHEEvent *partonLevel, const std::vector< fastjet::PseudoJet > *jetInput) override
static const unsigned int nparam
std::vector< std::string > findHeader(const std::string &tag) const
std::set< std::string > capabilities() const override
void alveto_(int *ipveto)