8 #ifdef _WIN32 // Platform: Windows MS Visual C++
16 #include "HepMC/HerwigWrapper.h"
17 #include "HepMC/GenCrossSection.h"
28 double xsecval = hwevnt.AVWGT * 1000.0;
32 double xsecerr = xsecval / std::sqrt((
double)ngen);
void set_cross_section(double xs, double xs_err)
Set cross section and error in pb.
The GenCrossSection class stores the generated cross section.
GenCrossSection getHerwigCrossSection(int ngen)
calculate the Herwig cross section and statistical error