10 #include "Pythia8/Pythia.h"
12 using namespace Pythia8;
38 pythia.readString(
"PhaseSpace:showViolation = off");
42 pythia.readString(
"ExtraDimensionsLED:monojet = on");
43 pythia.readString(
"ExtraDimensionsLED:n = 4");
44 pythia.readString(
"ExtraDimensionsLED:MD = 4000.");
45 pythia.readString(
"ExtraDimensionsLED:CutOffmode = 3");
46 pythia.readString(
"ExtraDimensionsLED:t = 2");
47 pythia.readString(
"5000039:m0 = 2500.");
48 pythia.readString(
"5000039:mWidth = 1500.");
49 pythia.readString(
"5000039:mMin = 1.");
50 pythia.readString(
"5000039:mMax = 13990.");
51 pythia.readString(
"PhaseSpace:pTHatMin = 700.");
52 }
else if (nTest == 2){
53 pythia.readString(
"ExtraDimensionsUnpart:gg2Ug = off");
54 pythia.readString(
"ExtraDimensionsUnpart:qg2Uq = on");
55 pythia.readString(
"ExtraDimensionsUnpart:qqbar2Ug = on");
56 pythia.readString(
"ExtraDimensionsUnpart:spinU = 1");
57 pythia.readString(
"ExtraDimensionsUnpart:dU = 1.2");
58 pythia.readString(
"ExtraDimensionsUnpart:LambdaU = 1000");
59 pythia.readString(
"ExtraDimensionsUnpart:lambda = 1.0");
60 pythia.readString(
"ExtraDimensionsUnpart:CutOffmode = 0");
61 pythia.readString(
"5000039:m0 = 300.");
62 pythia.readString(
"5000039:mWidth = 500.");
63 pythia.readString(
"5000039:mMin = 1.");
64 pythia.readString(
"5000039:mMax = 13990.");
65 pythia.readString(
"PhaseSpace:pTHatMin = 700.");
66 }
else if (nTest == 3){
67 pythia.readString(
"ExtraDimensionsLED:ffbar2GZ = on");
68 pythia.readString(
"ExtraDimensionsLED:n = 6");
69 pythia.readString(
"ExtraDimensionsLED:MD = 2000.");
70 pythia.readString(
"ExtraDimensionsLED:CutOffmode = 1");
71 pythia.readString(
"5000039:m0 = 3000.");
72 pythia.readString(
"5000039:mWidth = 1500.");
73 pythia.readString(
"5000039:mMin = 1.");
74 pythia.readString(
"5000039:mMax = 13990.");
75 pythia.readString(
"PhaseSpace:pTHatMin = 50.");
76 }
else if (nTest == 4){
77 pythia.readString(
"ExtraDimensionsUnpart:ffbar2UZ = on");
78 pythia.readString(
"ExtraDimensionsUnpart:spinU = 1");
79 pythia.readString(
"ExtraDimensionsUnpart:dU = 2.0");
80 pythia.readString(
"ExtraDimensionsUnpart:LambdaU = 1000");
81 pythia.readString(
"ExtraDimensionsUnpart:lambda = 1.000");
82 pythia.readString(
"ExtraDimensionsUnpart:CutOffmode = 0");
83 pythia.readString(
"5000039:m0 = 500.");
84 pythia.readString(
"5000039:mWidth = 1000.");
85 pythia.readString(
"5000039:mMin = 1.");
86 pythia.readString(
"5000039:mMax = 13990.");
87 pythia.readString(
"PhaseSpace:pTHatMin = 50.");
88 }
else if (nTest == 5){
89 pythia.readString(
"ExtraDimensionsLED:ffbar2gammagamma = on");
90 pythia.readString(
"ExtraDimensionsLED:gg2gammagamma = on");
91 pythia.readString(
"ExtraDimensionsLED:LambdaT = 3300.");
92 pythia.readString(
"PhaseSpace:mHatMin = 800.");
93 }
else if (nTest == 6){
94 pythia.readString(
"ExtraDimensionsUnpart:ffbar2llbar = on");
95 pythia.readString(
"ExtraDimensionsUnpart:gg2llbar = off");
96 pythia.readString(
"ExtraDimensionsUnpart:spinU = 1");
97 pythia.readString(
"ExtraDimensionsUnpart:dU = 1.3");
98 pythia.readString(
"ExtraDimensionsUnpart:LambdaU = 1000");
99 pythia.readString(
"ExtraDimensionsUnpart:lambda = 1.0");
100 pythia.readString(
"ExtraDimensionsUnpart:gXX = 0");
101 pythia.readString(
"ExtraDimensionsUnpart:gXY = 0");
102 pythia.readString(
"PhaseSpace:mHatMin = 300.");
103 }
else if (nTest == 7){
104 pythia.readString(
"ExtraDimensionsTEV:ffbar2mu+mu- = on");
105 pythia.readString(
"ExtraDimensionsTEV:gmZmode = 3");
106 pythia.readString(
"ExtraDimensionsTEV:nMax = 100");
107 pythia.readString(
"ExtraDimensionsTEV:mStar = 4000");
108 pythia.readString(
"PhaseSpace:mHatMin = 1000");
109 pythia.readString(
"PhaseSpace:mHatMax = 6000");
110 pythia.readString(
"5000023:isResonance = false");
111 }
else if (nTest == 8){
112 pythia.readString(
"ExtraDimensionsG*:all = on");
113 }
else if (nTest == 9){
114 pythia.readString(
"ExtraDimensionsG*:qqbar2KKgluon* = on");
115 pythia.readString(
"ExtraDimensionsG*:KKintMode = 2");
116 pythia.readString(
"ExtraDimensionsG*:KKgqR = -0.2");
117 pythia.readString(
"ExtraDimensionsG*:KKgqL = -0.2");
118 pythia.readString(
"ExtraDimensionsG*:KKgbR = -0.2");
119 pythia.readString(
"ExtraDimensionsG*:KKgbL = 1.0");
120 pythia.readString(
"ExtraDimensionsG*:KKgtR = 5.0");
121 pythia.readString(
"ExtraDimensionsG*:KKgtL = 1.0");
122 pythia.readString(
"5100021:m0 = 2000");
126 pythia.readString(
"ParticleDecays:sophisticatedTau = 0");
129 pythia.readString(
"Beams:eCM = 14000.");
133 Hist hEtjet(
"dN/dETjet: monojet check", 100, 0., 7000.);
134 Hist hMass(
"dN/m: graviton mass spectrum", 100, 0., 7000.);
138 for (
int iEvent = 0; iEvent < nEvent; ++iEvent) {
141 if (!pythia.next()) {
142 if (++iAbort < nAbort)
continue;
143 std::cout <<
" Event generation aborted prematurely, owing to error!\n";
148 int tmp_monojet = -1;
151 for (
int iPart = 0; iPart < pythia.event.size(); ++iPart) {
154 if (pythia.event[iPart].statusAbs() == 22) {
157 if( pythia.event[iPart].idAbs() == 5000023
158 || pythia.event[iPart].idAbs() == 5100021
159 || pythia.event[iPart].idAbs() == 5100039){
160 hMass.fill( pythia.event[iPart].m() );
163 }
else if ( pythia.event[iPart].statusAbs() == 23 ) {
166 if( pythia.event[iPart].idAbs() == 5000039){
167 hMass.fill( pythia.event[iPart].m() );
171 if (nTest == 1 || nTest == 2) {
172 if ( pythia.event[iPart].idAbs() <= 6
173 || pythia.event[iPart].idAbs() == 21 ){
174 if (tmp_monojet >= 0) {
175 std::cout <<
"More than one (hard process) mono-jet ! \n";
186 if (tmp_monojet >= 0) {
187 double tmp_eta = pythia.event[tmp_monojet].eta();
188 double tmp_et = pythia.event[tmp_monojet].eT();
189 double tmp_et_cut = 1000;
190 if ( tmp_et >= tmp_et_cut && abs(tmp_eta) < 3 ) {
191 hEtjet.fill( fabs(tmp_et) );
199 cout << hMass << hEtjet;