26 #include "Pythia8/Pythia.h"
28 using namespace Pythia8;
41 for (
int i = 0; i < 100; ++i) nSub[i] = 1;
45 int iBeg[101] = { 0 };
46 for (
int i = 0; i < 100; ++i) iBeg[i + 1] = iBeg[i] + nSub[i];
48 string processes[61] = {
"HardQCD:gg2gg",
"HardQCD:gg2qqbar",
49 "HardQCD:gg2ccbar",
"HardQCD:gg2bbbar",
"HardQCD:qg2qg" ,
50 "HardQCD:qq2qq",
"HardQCD:qqbar2gg",
"HardQCD:qqbar2qqbarNew",
51 "HardQCD:qqbar2ccbar",
"HardQCD:qqbar2bbbar",
"PromptPhoton:qg2qgamma",
52 "PromptPhoton:qqbar2ggamma",
"PromptPhoton:gg2ggamma",
53 "PromptPhoton:ffbar2gammagamma",
"PromptPhoton:gg2gammagamma",
54 "WeakBosonExchange:ff2ff(t:gmZ)",
"WeakBosonExchange:ff2ff(t:W)",
55 "WeakSingleBoson:ffbar2gmZ",
"WeakSingleBoson:ffbar2W",
56 "WeakDoubleBoson:ffbar2gmZgmZ",
"WeakDoubleBoson:ffbar2ZW",
57 "WeakDoubleBoson:ffbar2WW",
"WeakBosonAndParton:qqbar2gmZg",
58 "WeakBosonAndParton:qg2gmZq",
"WeakBosonAndParton:ffbar2gmZgm",
59 "WeakBosonAndParton:qqbar2Wg",
"WeakBosonAndParton:qg2Wq",
60 "WeakBosonAndParton:ffbar2Wgm",
"Charmonium:all",
"Bottomonium:all",
61 "Top:gg2ttbar",
"Top:qqbar2ttbar",
"Top:qq2tq(t:W)",
62 "Top:ffbar2ttbar(s:gmZ)",
"Top:ffbar2tqbar(s:W)",
63 "HiggsSM:ffbar2H",
"HiggsSM:gg2H",
"HiggsSM:ffbar2HZ",
64 "HiggsSM:ffbar2HW",
"HiggsSM:ff2Hff(t:ZZ)",
"HiggsSM:ff2Hff(t:WW)",
65 "HiggsSM:qg2Hq",
"HiggsSM:gg2Hg(l:t)",
"HiggsSM:qg2Hq(l:t)",
66 "HiggsSM:qqbar2Hg(l:t)",
"HiggsBSM:allH1",
"HiggsBSM:allH2",
67 "HiggsBSM:allA3",
"HiggsBSM:allH+-",
"HiggsBSM:allHpair",
68 "NewGaugeBoson:ffbar2gmZZprime",
"NewGaugeBoson:ffbar2Wprime",
69 "LeftRightSymmmetry:ffbar2ZR",
"LeftRightSymmmetry:ffbar2WR",
70 "LeftRightSymmmetry:ffbar2HLHL",
"LeftRightSymmmetry:ffbar2HRHR",
71 "LeptoQuark:all",
"ExcitedFermion:dg2dStar",
72 "ExcitedFermion:qq2dStarq",
"ExcitedFermion:qqbar2eStare",
73 "ExtraDimensionsG*:all" };
76 double sigma6[57] = { 4.960e-01, 1.627e-02, 2.790e-01, 2.800e-02,
77 3.310e-04, 3.653e-04, 1.697e-04, 1.163e-05, 1.065e-07, 8.259e-08,
78 8.237e-08, 2.544e-05, 5.321e-06, 5.571e-05, 1.621e-04, 9.039e-09,
79 2.247e-08, 5.893e-08, 3.781e-06, 1.078e-05, 4.551e-08, 1.025e-05,
80 3.208e-05, 5.435e-08, 1.038e-04, 3.929e-05, 4.155e-07, 6.685e-08,
81 1.898e-07, 4.240e-10, 7.142e-09, 1.547e-10, 7.064e-09, 1.316e-10,
82 2.332e-10, 5.105e-10, 1.316e-09, 4.462e-11, 5.557e-09, 1.966e-09,
83 8.725e-12, 2.450e-08, 5.839e-09, 1.687e-08, 8.950e-11, 4.188e-11,
84 1.980e-07, 4.551e-07, 6.005e-09, 1.102e-07, 7.784e-11, 3.488e-11,
85 6.006e-08, 3.235e-06, 1.689e-05, 5.986e-07, 3.241e-10 };
91 pythia.readString(
"5:m0 = 4.2");
92 pythia.readString(
"6:m0 = 175.");
93 pythia.readString(
"23:m0 = 91.2");
94 pythia.readString(
"24:m0 = 80.");
97 pythia.readString(
"PhaseSpace:pTHatMin = 20.");
98 pythia.readString(
"6:mMin = 20.");
99 pythia.readString(
"23:mMin = 20.");
100 pythia.readString(
"24:mMin = 20.");
101 pythia.readString(
"25:mMin = 20.");
102 pythia.readString(
"32:mMin = 400.");
103 pythia.readString(
"34:mMin = 400.");
104 pythia.readString(
"42:mMin = 50.");
105 pythia.readString(
"5000039:mMin = 50.");
108 pythia.readString(
"SigmaProcess:renormScale2 = 3");
109 pythia.readString(
"SigmaProcess:factorScale2 = 3");
112 pythia.readString(
"PartonLevel:all = off");
113 pythia.readString(
"ProcessLevel:resonanceDecays = off");
116 pythia.readString(
"Init:showProcesses = off");
117 pythia.readString(
"Init:showChangedSettings = off");
118 pythia.readString(
"Init:showChangedParticleData = off");
119 pythia.readString(
"Next:numberCount = 0");
120 pythia.readString(
"Next:numberShowInfo = 0");
121 pythia.readString(
"Next:numberShowProcess = 0");
122 pythia.readString(
"Next:numberShowEvent = 0");
129 for (
int iProc = iFirst; iProc <= iLast; ++iProc) {
130 cout <<
"\n Begin subrun number " << iProc <<
" : ";
133 if (iProc > iFirst)
for (
int i = iBeg[iProc - 1]; i < iBeg[iProc]; ++i)
134 pythia.readString( processes[i] +
" = off" );
135 for (
int i = iBeg[iProc]; i < iBeg[iProc + 1]; ++i) {
136 pythia.readString( processes[i] +
" = on" );
137 if (i > iBeg[iProc]) cout <<
" + ";
138 cout << processes[i];
144 pythia.readString(
"Higgs:useBSM = off");
145 pythia.readString(
"25:m0 = 200.");
147 pythia.readString(
"Higgs:useBSM = on");
148 pythia.readString(
"25:m0 = 115.");
149 pythia.readString(
"35:m0 = 300.");
150 pythia.readString(
"36:m0 = 300.");
151 pythia.readString(
"37:m0 = 320.");
153 pythia.readString(
"25:mMin = 50.");
154 pythia.readString(
"25:mMax = 0.");
158 pythia.readString(
"Beams:eCM = 14000.");
165 for (
int iEvent = 0; iEvent < nEvent; ++iEvent) pythia.next();
169 double sigma = pythia.info.sigmaGen();
170 cout <<
" Cross section is " << scientific << setprecision(3)
171 << sigma <<
" and in Pythia6 was " << sigma6[iProc]
172 <<
",\n i.e. now is factor >>> " << fixed
173 << sigma / sigma6[iProc] <<
" <<< different" <<endl;