1 | model = SM |
---|
2 | |
---|
3 | library = "bug3" |
---|
4 | |
---|
5 | process eeuu = e1,E1 -> u, U |
---|
6 | |
---|
7 | compile ("bug3") |
---|
8 | |
---|
9 | !--------------------------------------------- |
---|
10 | |
---|
11 | sqrts = 500 GeV |
---|
12 | beams = e1, E1 |
---|
13 | |
---|
14 | integrate (eeuu) { |
---|
15 | iterations = 1:20000 |
---|
16 | } |
---|
17 | |
---|
18 | show (integral (eeuu)) |
---|
19 | |
---|
20 | $title = "Some distribution" |
---|
21 | $description = "Polar angle $\theta$ of the outgoing Jet" |
---|
22 | $xlabel = "" |
---|
23 | $ylabel = "" |
---|
24 | $label = "\theta(\mu^-)" |
---|
25 | $physical_unit = "^\circ" |
---|
26 | histogram some_distribution (-1, 1, 0.1) |
---|
27 | |
---|
28 | Phi = 0 |
---|
29 | ! if the user by chance uses a variable by the name of some already defined observable |
---|
30 | ! the content of the variable will be lost |
---|
31 | |
---|
32 | ! one would expect only zeros, but the Phi of the event will be used, not the defined one |
---|
33 | ! maybe there should be a warning? |
---|
34 | analysis = record some_distribution (eval Theta*Phi [u]) |
---|
35 | |
---|
36 | n_events = 1000 |
---|
37 | |
---|
38 | simulate (eeuu) |
---|
39 | |
---|
40 | write_analysis |
---|