10 #include "Pythia8/Pythia.h"
11 using namespace Pythia8;
19 pythia.readString(
"Beams:frameType = 4");
20 pythia.readString(
"Beams:LHEF = ttbar.lhe");
24 Hist nCharged(
"charged particle multiplicity",100,-0.5,399.5);
31 for (
int iEvent = 0; ; ++iEvent) {
37 if (pythia.info.atEndOfFile())
break;
40 if (++iAbort < nAbort)
continue;
46 for (
int i = 0; i < pythia.event.size(); ++i)
47 if (pythia.event[i].isFinal() && pythia.event[i].isCharged())