21 using namespace Pythia8;
33 pythia.readString(
"Top:gg2ttbar = on");
34 pythia.readString(
"Top:qqbar2ttbar = on");
37 pythia.readString(
"6:m0 = 175.");
40 pythia.readString(
"Next:numberShowLHA = 0");
41 pythia.readString(
"Next:numberShowInfo = 0");
42 pythia.readString(
"Next:numberShowProcess = 0");
43 pythia.readString(
"Next:numberShowEvent = 0");
46 pythia.readString(
"Beams:frameType = 4");
47 pythia.readString(
"Beams:LHEF = ttbar.lhe");
51 Hist nCharged(
"charged particle multiplicity",100,-0.5,399.5);
60 for (
int iEvent = 0; ; ++iEvent) {
64 if (pythia.info.atEndOfFile()) {
68 pythia.readString(
"Beams:newLHEFsameInit = on");
69 pythia.readString(
"Beams:LHEF = ttbar2.lhe");
77 if (++iAbort < nAbort)
continue;
82 if (pythia.info.isLHA() && iPrintLHA < nPrintLHA) {
83 pythia.LHAeventList();
85 pythia.process.list();
88 }
else if (!pythia.info.isLHA() && iPrintRest < nPrintRest) {
90 pythia.process.list();
97 for (
int i = 0; i < pythia.event.size(); ++i)
98 if (pythia.event[i].isFinal() && pythia.event[i].isCharged())