12 using namespace Pythia8;
21 pythia.readString(
"PartonLevel:ISR = off");
22 pythia.readString(
"PartonLevel:FSR = off");
23 pythia.readString(
"PartonLevel:MPI = off");
24 pythia.readString(
"HadronLevel:Hadronize = on");
27 pythia.readString(
"Beams:frameType = 4");
28 pythia.readString(
"Beams:LHEF = main25.lhe");
32 Hist nCharged(
"charged particle multiplicity",100,-0.5,399.5);
39 for (
int iEvent = 0; ; ++iEvent) {
45 if (pythia.info.atEndOfFile())
break;
48 if (++iAbort < nAbort)
continue;
54 for (
int i = 0; i < pythia.event.size(); ++i)
55 if (pythia.event[i].isFinal() && pythia.event[i].isCharged())