Skip to content

Commit 1616a30

Browse files
improve example
1 parent c8caab2 commit 1616a30

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

examples/example.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
1D:
22
# Simplest way to define plot
3-
- name: "sim_pT"
4-
x_axis:
3+
- x_axis:
54
field: "SimParticles.pT"
65
bins: [100, 0, 3]
76
# Better way to define plot (cuts are defined in C++ code)
@@ -19,9 +18,9 @@
1918
2D:
2019
- name: "sim_pT_y"
2120
x_axis: &sim_y
22-
title: "#it{y}_{Lab}"
21+
title: "#it{y}"
2322
field: "SimParticles.rapidity"
24-
bins: [100, -2, 6]
23+
bins: [100, -2, 2]
2524
y_axis: *sim_pT
2625
Profile:
2726
- name: "pT_y_profile"
@@ -30,16 +29,16 @@ Profile:
3029
Integral:
3130
- name: "pT_integral"
3231
x_axis: &sim_pT_integral
33-
title: "#Sum{p_{T}, GeV/c}"
32+
title: "#sum{p_{T}, GeV/c}"
3433
field: "SimParticles.pT"
35-
bins: [100, 0, 100]
34+
bins: [100, 0, 30]
3635
cuts: "sim_y_cut"
3736
Integral2D:
3837
- name: "pT_M_integral"
3938
x_axis:
4039
title: "M"
4140
field: "SimParticles.ones"
42-
bins: [100, 0, 2000]
41+
bins: [100, 70, 130]
4342
y_axis: *sim_pT_integral
4443
y_cuts: "sim_y_cut"
4544

0 commit comments

Comments
 (0)