Skip to content

Commit

Permalink
remove sqrts from files and force eta as variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Sep 19, 2024
1 parent c91b651 commit 56468ac
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 175 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def dump_data(df_table: pd.DataFrame) -> None:
"mid": float(df_table.loc[i, "pT"]),
"max": float(df_table.loc[i, "pT_high"]),
},
"sqrts": {"min": None, "mid": 200.0, "max": None},
"eta": {"min": -0.35, "mid": 0.0, "max": 0.35},
}
kinematics.append(kin_value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ bins:
min: 1.0
mid: 1.3
max: 1.5
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -15,10 +11,6 @@ bins:
min: 1.5
mid: 1.75
max: 2.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -27,10 +19,6 @@ bins:
min: 2.0
mid: 2.23
max: 2.5
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -39,10 +27,6 @@ bins:
min: 2.5
mid: 2.72
max: 3.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -51,10 +35,6 @@ bins:
min: 3.0
mid: 3.22
max: 3.5
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -63,10 +43,6 @@ bins:
min: 3.5
mid: 3.72
max: 4.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -75,10 +51,6 @@ bins:
min: 4.0
mid: 4.39
max: 5.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -87,10 +59,6 @@ bins:
min: 5.0
mid: 5.4
max: 6.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -99,10 +67,6 @@ bins:
min: 6.0
mid: 6.41
max: 7.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -111,10 +75,6 @@ bins:
min: 7.0
mid: 7.74
max: 9.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -123,10 +83,6 @@ bins:
min: 9.0
mid: 10.0
max: 12.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -135,10 +91,6 @@ bins:
min: 12.0
mid: 13.1
max: 15.0
sqrts:
min: null
mid: 200.0
max: null
eta:
min: -0.35
mid: 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ implemented_observables:
dataset_label: "PHENIX ALL"
y_label: "$A_{LL}(p_T)$"
plot_x: pT
kinematic_coverage: [pT, sqrts, eta]
kinematic_coverage: [pT, eta]

kinematics:
variables:
pT: { description: "Transverse momentum", label: "$p_T$", units: "GeV" }
sqrts: { description: "Center-of-mass energy", label: r"$\sqrt(s)$", units: "GeV" }
eta: { description: "pi^0 pseudorapidity", label: r"$\eta$", units: "" }
file: kinematics.yaml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ def dump_data(df_table: pd.DataFrame) -> None:
"mid": float(df_table.loc[i, "pT"]),
"max": float(df_table.loc[i, "pT_high"]),
},
"sqrts": {"min": None, "mid": 510.0, "max": None},
"eta": {"min": -0.35, "mid": 0.0, "max": 0.35},
}
kinematics.append(kin_value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ bins:
min: 2.0
mid: 2.28
max: 2.5
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -15,10 +11,6 @@ bins:
min: 2.5
mid: 2.76
max: 3.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -27,10 +19,6 @@ bins:
min: 3.0
mid: 3.25
max: 3.5
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -39,10 +27,6 @@ bins:
min: 3.5
mid: 3.74
max: 4.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -51,10 +35,6 @@ bins:
min: 4.0
mid: 4.24
max: 4.5
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -63,10 +43,6 @@ bins:
min: 4.5
mid: 4.74
max: 5.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -75,10 +51,6 @@ bins:
min: 5.0
mid: 5.45
max: 6.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -87,10 +59,6 @@ bins:
min: 6.0
mid: 6.45
max: 7.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -99,10 +67,6 @@ bins:
min: 7.0
mid: 7.45
max: 8.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -111,10 +75,6 @@ bins:
min: 8.0
mid: 8.45
max: 9.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -123,10 +83,6 @@ bins:
min: 9.0
mid: 9.45
max: 10.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -135,10 +91,6 @@ bins:
min: 10.0
mid: 10.82
max: 12.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -147,10 +99,6 @@ bins:
min: 12.0
mid: 13.14
max: 14.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand All @@ -159,10 +107,6 @@ bins:
min: 14.0
mid: 16.62
max: 18.0
sqrts:
min: null
mid: 510.0
max: null
eta:
min: -0.35
mid: 0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ implemented_observables:
dataset_label: "PHENIX ALL"
y_label: "$A_{LL}(p_T)$"
plot_x: pT
kinematic_coverage: [pT, sqrts, eta]
kinematic_coverage: [pT, eta]
kinematics:
variables:
pT: { description: "Transverse momentum", label: "$p_T$", units: "GeV" }
sqrts: { description: "Center-of-mass energy", label: r"$\sqrt(s)$", units: "GeV" }
eta: { description: "π0 pseudorapidity", label: r"$\eta$", units: ""}
file: kinematics.yaml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def dump_data(df_table: pd.DataFrame) -> None:
for i in range(len(df_table["asym"])):
kin_value = {
"pT": {"min": None, "mid": float(df_table.loc[i, "pT"]), "max": None},
"sqrts": {"min": None, "mid": 200.0, "max": None},
"eta": {"min": 0.8, "mid": 1.4, "max": 2.0},
}
kinematics.append(kin_value)
Expand Down
Loading

0 comments on commit 56468ac

Please sign in to comment.