Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
ZJet Analysis
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cedric Verstege
ZJet Analysis
Commits
f8f523fa
Commit
f8f523fa
authored
2 months ago
by
Cedric Verstege
Browse files
Options
Downloads
Patches
Plain Diff
Add inclusive bin to config
parent
908769ec
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analysis/framework/quantities.py
+55
-15
55 additions, 15 deletions
analysis/framework/quantities.py
with
55 additions
and
15 deletions
analysis/framework/quantities.py
+
55
−
15
View file @
f8f523fa
from
copy
import
deepcopy
import
numpy
as
np
QUANTITIES
=
{
...
...
@@ -22,6 +24,32 @@ QUANTITIES = {
},
}
lumis
=
{
"
2016preVFP
"
:
19.50
,
"
2016preVFP_B
"
:
5.83
,
"
2016preVFP_C
"
:
2.60
,
"
2016preVFP_D
"
:
4.29
,
"
2016preVFP_E
"
:
4.07
,
"
2016preVFP_F
"
:
2.72
,
"
2016postVFP
"
:
16.81
,
"
2016postVFP_F
"
:
0.42
,
"
2016postVFP_G
"
:
7.65
,
"
2016postVFP_H
"
:
8.74
,
"
2016
"
:
36.31
,
"
2017
"
:
41.48
,
"
2017_B
"
:
4.80
,
"
2017_C
"
:
9.57
,
"
2017_D
"
:
4.25
,
"
2017_E
"
:
9.31
,
"
2017_F
"
:
13.54
,
"
2018
"
:
59.83
,
"
2018_A
"
:
14.03
,
"
2018_B
"
:
7.07
,
"
2018_C
"
:
6.90
,
"
2018_D
"
:
31.84
,
"
Run2
"
:
137.64
,
}
central_binning
=
np
.
array
(
[
25.0
,
...
...
@@ -83,7 +111,7 @@ ybys_bins = {
"
color
"
:
"
#5c15b6
"
,
"
marker
"
:
"
D
"
,
"
marker_style
"
:
"
full
"
,
"
label
"
:
r
"
$0.0 \leq y_{\mathrm{b}} < 0.5$
,
$0.0 \leq y{*} < 0.5$
"
,
"
label
"
:
"
$0.0
\
\
leq y_{
\
\
mathrm{b}} < 0.5$
\n
$0.0
\
\
leq y{*} < 0.5$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_05_10_YS_00_05
"
:
{
...
...
@@ -96,7 +124,7 @@ ybys_bins = {
"
color
"
:
"
#7959c4
"
,
"
marker
"
:
"
D
"
,
"
marker_style
"
:
"
left
"
,
"
label
"
:
r
"
$0.5 \leq y_{\mathrm{b}} < 1.0$
,
$0.0 \leq y{*} < 0.5$
"
,
"
label
"
:
"
$0.5
\
\
leq y_{
\
\
mathrm{b}} < 1.0$
\n
$0.0
\
\
leq y{*} < 0.5$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_10_15_YS_00_05
"
:
{
...
...
@@ -110,7 +138,7 @@ ybys_bins = {
"
marker
"
:
"
D
"
,
"
marker_style
"
:
"
right
"
,
"
zpt_binning
"
:
central_binning
,
"
label
"
:
r
"
$1.0 \leq y_{\mathrm{b}} < 1.5$
,
$0.0 \leq y{*} < 0.5$
"
,
"
label
"
:
"
$1.0
\
\
leq y_{
\
\
mathrm{b}} < 1.5$
\n
$0.0
\
\
leq y{*} < 0.5$
"
,
},
"
YB_15_20_YS_00_05
"
:
{
"
ys_range
"
:
(
0.0
,
0.5
),
...
...
@@ -122,7 +150,7 @@ ybys_bins = {
"
color
"
:
"
#c6b2e2
"
,
"
marker
"
:
"
D
"
,
"
marker_style
"
:
"
bottom
"
,
"
label
"
:
r
"
$1.5 \leq y_{\mathrm{b}} < 2.0$
,
$0.0 \leq y{*} < 0.5$
"
,
"
label
"
:
"
$1.5
\
\
leq y_{
\
\
mathrm{b}} < 2.0$
\n
$0.0
\
\
leq y{*} < 0.5$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_20_25_YS_00_05
"
:
{
...
...
@@ -135,7 +163,7 @@ ybys_bins = {
"
color
"
:
"
#fab0ff
"
,
"
marker
"
:
"
D
"
,
"
marker_style
"
:
"
top
"
,
"
label
"
:
r
"
$2.0 \leq y_{\mathrm{b}} < 2.5$
,
$0.0 \leq y{*} < 0.5$
"
,
"
label
"
:
"
$2.0
\
\
leq y_{
\
\
mathrm{b}} < 2.5$
\n
$0.0
\
\
leq y{*} < 0.5$
"
,
"
zpt_binning
"
:
edge_binning
,
},
"
YB_00_05_YS_05_10
"
:
{
...
...
@@ -148,7 +176,7 @@ ybys_bins = {
"
color
"
:
"
#2659a2
"
,
"
marker
"
:
"
s
"
,
"
marker_style
"
:
"
full
"
,
"
label
"
:
r
"
$0.0 \leq y_{\mathrm{b}} < 0.5$
,
$0.5 \leq y{*} < 1.0$
"
,
"
label
"
:
"
$0.0
\
\
leq y_{
\
\
mathrm{b}} < 0.5$
\n
$0.5
\
\
leq y{*} < 1.0$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_05_10_YS_05_10
"
:
{
...
...
@@ -161,7 +189,7 @@ ybys_bins = {
"
color
"
:
"
#3e98b2
"
,
"
marker
"
:
"
s
"
,
"
marker_style
"
:
"
left
"
,
"
label
"
:
r
"
$0.5 \leq y_{\mathrm{b}} < 1.0$
,
$0.5 \leq y{*} < 1.0$
"
,
"
label
"
:
"
$0.5
\
\
leq y_{
\
\
mathrm{b}} < 1.0$
\n
$0.5
\
\
leq y{*} < 1.0$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_10_15_YS_05_10
"
:
{
...
...
@@ -174,7 +202,7 @@ ybys_bins = {
"
color
"
:
"
#67b4cb
"
,
"
marker
"
:
"
s
"
,
"
marker_style
"
:
"
right
"
,
"
label
"
:
r
"
$1.0 \leq y_{\mathrm{b}} < 1.5$
,
$0.5 \leq y{*} < 1.0$
"
,
"
label
"
:
"
$1.0
\
\
leq y_{
\
\
mathrm{b}} < 1.5$
\n
$0.5
\
\
leq y{*} < 1.0$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_15_20_YS_05_10
"
:
{
...
...
@@ -187,7 +215,7 @@ ybys_bins = {
"
color
"
:
"
#a0eaff
"
,
"
marker
"
:
"
s
"
,
"
marker_style
"
:
"
bottom
"
,
"
label
"
:
r
"
$1.5 \leq y_{\mathrm{b}} < 2.0$
,
$0.5 \leq y{*} < 1.0$
"
,
"
label
"
:
"
$1.5
\
\
leq y_{
\
\
mathrm{b}} < 2.0$
\n
$0.5
\
\
leq y{*} < 1.0$
"
,
"
zpt_binning
"
:
edge_binning
,
},
"
YB_00_05_YS_10_15
"
:
{
...
...
@@ -200,7 +228,7 @@ ybys_bins = {
"
color
"
:
"
#139913
"
,
"
marker
"
:
"
v
"
,
"
marker_style
"
:
"
full
"
,
"
label
"
:
r
"
$0.0 \leq y_{\mathrm{b}} < 0.5$
,
$1.0 \leq y{*} < 1.5$
"
,
"
label
"
:
"
$0.0
\
\
leq y_{
\
\
mathrm{b}} < 0.5$
\n
$1.0
\
\
leq y{*} < 1.5$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_05_10_YS_10_15
"
:
{
...
...
@@ -213,7 +241,7 @@ ybys_bins = {
"
color
"
:
"
#51c230
"
,
"
marker
"
:
"
v
"
,
"
marker_style
"
:
"
left
"
,
"
label
"
:
r
"
$0.5 \leq y_{\mathrm{b}} < 1.0$
,
$1.0 \leq y{*} < 1.5$
"
,
"
label
"
:
"
$0.5
\
\
leq y_{
\
\
mathrm{b}} < 1.0$
\n
$1.0
\
\
leq y{*} < 1.5$
"
,
"
zpt_binning
"
:
central_binning
,
},
"
YB_10_15_YS_10_15
"
:
{
...
...
@@ -226,7 +254,7 @@ ybys_bins = {
"
color
"
:
"
#8def56
"
,
"
marker
"
:
"
v
"
,
"
marker_style
"
:
"
right
"
,
"
label
"
:
r
"
$1.0 \leq y_{\mathrm{b}} < 1.5$
,
$1.0 \leq y{*} < 1.5$
"
,
"
label
"
:
"
$1.0
\
\
leq y_{
\
\
mathrm{b}} < 1.5$
\n
$1.0
\
\
leq y{*} < 1.5$
"
,
"
zpt_binning
"
:
edge_binning
,
},
"
YB_00_05_YS_15_20
"
:
{
...
...
@@ -239,7 +267,7 @@ ybys_bins = {
"
color
"
:
"
#c55200
"
,
"
marker
"
:
"
^
"
,
"
marker_style
"
:
"
full
"
,
"
label
"
:
r
"
$0.0 \leq y_{\mathrm{b}} < 0.5$
,
$1.5 \leq y{*} < 2.0$
"
,
"
label
"
:
"
$0.0
\
\
leq y_{
\
\
mathrm{b}} < 0.5$
\n
$1.5
\
\
leq y{*} < 2.0$
"
,
"
zpt_binning
"
:
edge_binning
,
},
"
YB_05_10_YS_15_20
"
:
{
...
...
@@ -252,7 +280,7 @@ ybys_bins = {
"
color
"
:
"
#ffa500
"
,
"
marker
"
:
"
^
"
,
"
marker_style
"
:
"
left
"
,
"
label
"
:
r
"
$0.5 \leq y_{\mathrm{b}} < 1.0$
,
$1.5 \leq y{*} < 2.0$
"
,
"
label
"
:
"
$0.5
\
\
leq y_{
\
\
mathrm{b}} < 1.0$
\n
$1.5
\
\
leq y{*} < 2.0$
"
,
"
zpt_binning
"
:
edge_binning
,
},
"
YB_00_05_YS_20_25
"
:
{
...
...
@@ -265,7 +293,19 @@ ybys_bins = {
"
color
"
:
"
#a11313
"
,
"
marker
"
:
"
*
"
,
"
marker_style
"
:
"
full
"
,
"
label
"
:
r
"
$0.0 \leq y_{\mathrm{b}} < 0.5$
,
$2.0 \leq y{*} < 2.5$
"
,
"
label
"
:
"
$0.0
\
\
leq y_{
\
\
mathrm{b}} < 0.5$
\n
$2.0
\
\
leq y{*} < 2.5$
"
,
"
zpt_binning
"
:
extreme_binning
,
},
}
ybys_bins_inclusive
=
deepcopy
(
ybys_bins
)
ybys_bins_inclusive
.
update
(
{
"
inclusive
"
:
{
"
ys_range
"
:
(
0.0
,
2.5
),
"
yb_range
"
:
(
0.0
,
2.5
),
"
pt_range
"
:
(
25
,
1000
),
"
label
"
:
"
$y_{
\\
mathrm{b}}$ inclusive
\n
$y{*}$ inclusive
"
,
}
}
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment