10 using namespace Pythia8;
14 pythia.readString(
"Beams:eCM = 8000.");
15 pythia.readString(
"HardQCD:all = on");
16 pythia.readString(
"PhaseSpace:pTHatMin = 20.");
18 Hist mult(
"charged multiplicity", 100, -0.5, 799.5);
20 for (
int iEvent = 0; iEvent < 100; ++iEvent) {
21 if (!pythia.next())
continue;
24 for (
int i = 0; i < pythia.event.size(); ++i)
25 if (pythia.event[i].isFinal() && pythia.event[i].isCharged())
27 mult.fill( nCharged );