~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to Template/NLO/MCatNLO/srcPythia8/Pythia82.cc

Fixed a bug in the Pythia8 driver files: the call to pythia.init()
should be AFTER the UserHooks (in particular the JetMatching for FxFx)
has been setup. This bug was introduced in v.2.2.3 and gave the wrong
results without any error message.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
  CombineMatchingInput* combined = NULL;
43
43
  UserHooks* matching            = NULL;
44
44
 
45
 
  pythia.init();
46
45
  string filename = pythia.word("Beams:LHEF");
47
46
 
48
47
  MyReader read(filename);
83
82
    }
84
83
  }
85
84
 
 
85
  pythia.init();
 
86
 
86
87
  HepMC::IO_BaseClass *_hepevtio;
87
88
  HepMC::Pythia8ToHepMC ToHepMC;
88
89
  HepMC::IO_GenEvent ascii_io(outputname.c_str(), std::ios::out);