1 | model = SM |
---|
2 | alias quark = u:d:s:c |
---|
3 | alias antiq = U:D:S:C |
---|
4 | process qqee = quark:antiq, quark:antiq => e1, E1 |
---|
5 | process qqeeg = quark:antiq, quark:antiq => e1, E1, g |
---|
6 | process qgeeq = quark:antiq, g => e1, E1, quark:antiq |
---|
7 | process gqeeq = g, quark:antiq => e1, E1, quark:antiq |
---|
8 | |
---|
9 | ms = 0 |
---|
10 | mc = 0 |
---|
11 | |
---|
12 | compile |
---|
13 | |
---|
14 | sqrts = 1960 GeV |
---|
15 | beams = p, pbar => lhapdf |
---|
16 | |
---|
17 | $title = "Pt of Z" |
---|
18 | $description = "Pt" |
---|
19 | $label = "E" |
---|
20 | $physical_unit = "GeV" |
---|
21 | $xlabel = "" |
---|
22 | $ylabel = "" |
---|
23 | histogram Pt_distribution_1 (0, 250, 1) |
---|
24 | histogram Pt_distribution_2 (0, 250, 1) |
---|
25 | |
---|
26 | cuts = all M > 80 GeV [combine[e1,E1]] |
---|
27 | and all M < 100 GeV [combine[e1,E1]] |
---|
28 | and all Pt > 10 GeV [g:quark:antiq] |
---|
29 | and all Eta < 5 [g:quark:antiq] |
---|
30 | |
---|
31 | seed = 1 |
---|
32 | |
---|
33 | integrate(qqee, qqeeg, qgeeq, gqeeq) { iterations = 2:20000 } |
---|
34 | |
---|
35 | n_events = 40 |
---|
36 | |
---|
37 | ?rebuild_events=true |
---|
38 | $sample = "ticket419" |
---|
39 | sample_format = lhef |
---|
40 | ?write_raw = false |
---|
41 | |
---|
42 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
---|
43 | !!!!!! for true the correct histogram is filled |
---|
44 | ! analysis = if 2>1 then |
---|
45 | !!!!!! for false expression both histograms stay empty |
---|
46 | analysis = if 1>2 then |
---|
47 | record Pt_distribution_1 (1) |
---|
48 | else |
---|
49 | record Pt_distribution_2 (1) |
---|
50 | endif |
---|
51 | |
---|
52 | simulate(qqee, qqeeg, qgeeq, gqeeq) |
---|
53 | |
---|
54 | compile_analysis { $out_file = "ticket419.dat" } |
---|
55 | |
---|
56 | exec("grep entries ticket419.dat") |
---|
57 | |
---|