2024-02-02 16:39:11 +01:00
|
|
|
|
{
|
|
|
|
|
"cells": [
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 1,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"name": "stdout",
|
|
|
|
|
"output_type": "stream",
|
|
|
|
|
"text": [
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"/auto/work/cetin/Projektpraktikum\n"
|
2024-02-02 16:39:11 +01:00
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"source": [
|
|
|
|
|
"%cd ..\n",
|
|
|
|
|
"import uproot\t\n",
|
|
|
|
|
"import numpy as np\n",
|
|
|
|
|
"import matplotlib.pyplot as plt\n",
|
|
|
|
|
"from matplotlib import colormaps\n",
|
|
|
|
|
"from mpl_toolkits import mplot3d\n",
|
|
|
|
|
"import awkward as ak\n",
|
|
|
|
|
"from scipy.optimize import curve_fit\n",
|
|
|
|
|
"from scipy import stats\n",
|
|
|
|
|
"from methods.fit_linear_regression_model import fit_linear_regression_model\n",
|
|
|
|
|
"import sklearn\n",
|
|
|
|
|
"import seaborn as sns\n",
|
|
|
|
|
"import pandas as pd\n",
|
|
|
|
|
"%matplotlib inline"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 2,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|
"def round(n, k):\n",
|
|
|
|
|
" # function to round number 'n' up/down to nearest 'k'\n",
|
|
|
|
|
" # use positive k to round up\n",
|
|
|
|
|
" # use negative k to round down\n",
|
|
|
|
|
"\n",
|
|
|
|
|
" return n - n % k"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 3,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"name": "stdout",
|
|
|
|
|
"output_type": "stream",
|
|
|
|
|
"text": [
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"40402 10099\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"49865\n"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"source": [
|
|
|
|
|
"file = uproot.open(\n",
|
|
|
|
|
" \"/work/cetin/Projektpraktikum/tracking_losses_ntuple_B_rad_length_beginVelo2endUT.root:PrDebugTrackingLosses.PrDebugTrackingTool/Tuple;1\"\n",
|
|
|
|
|
")\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"# selektiere nur elektronen von B->K*ee\n",
|
|
|
|
|
"allcolumns = file.arrays()\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"found = allcolumns[(allcolumns.isElectron) & (~allcolumns.lost) &\n",
|
|
|
|
|
" (allcolumns.fromB)]\n",
|
|
|
|
|
"lost = allcolumns[(allcolumns.isElectron) & (allcolumns.lost) &\n",
|
|
|
|
|
" (allcolumns.fromB)]\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"electrons = allcolumns[(allcolumns.isElectron)\n",
|
|
|
|
|
" & (allcolumns.fromB)\n",
|
|
|
|
|
" & (allcolumns.eta <= 5.0)\n",
|
|
|
|
|
" & (allcolumns.eta >= 1.5)\n",
|
|
|
|
|
" & (np.abs(allcolumns.phi) < 3.142)]\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"\n",
|
|
|
|
|
"print(ak.num(found, axis=0), ak.num(lost, axis=0))\n",
|
|
|
|
|
"print(ak.num(electrons, axis=0))\n",
|
|
|
|
|
"# ak.count(found, axis=None)"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 4,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|
"# variables\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"eta_a = ak.to_numpy(electrons[\"eta\"])\n",
|
|
|
|
|
"phi_a = ak.to_numpy(electrons[\"phi\"])\n",
|
|
|
|
|
"rad_length_frac_a = ak.to_numpy(electrons[\"rad_length_frac\"])"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 5,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"data": {
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAjYAAAHLCAYAAADbUtJvAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjguMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy81sbWrAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAsTElEQVR4nO3dz4/b6GH/8c98G+zE6cCrGeeSW0wBvfRiUN5DgSI+mEIOOc7Ie0taBJYQzM1ApU4vHl8iaNDrAKF8WeS2lnzsoZW2gIOeaot1/wDRvSVAszOMMYgzi3T5PWzISDOSRkOKEvXM+wUIu9YPPg/5SORnHj7ksxGGYSgAAAAD/L9VVwAAAGBRCDYAAMAYBBsAAGAMgg0AADAGwQYAABiDYAMAAIxBsAEAAMYg2AAAAGMQbHAtnuep3W6vuho3XhAEarfb8n1/1VUxiu/7arfbCoJg1VXBArHfulkINpiL7/uqVCoqlUpyXXfs+e3t7YXuNLJY5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ZNUcbA6vB5d7AkkVXFp2ensaXT4+yLCvRYGTkB20MrA5jbIAli87HP378eGy8RXTvkesMVkQ+0cbA6nAqCliBo6MjNZvNscGGtm2r1WpdOXgT64E2BlaDYAOsUDTuIs835UM6tDGwXAQbAABgDMbYAAAAY6z1VVG//e1v9a//+q/6/ve/r1u3bq26OgAAYA4fPnzQ//zP/+iHP/yhvvvd7y502WsdbP7lX/5Ff/d3f7fqagAAgAQ+++wz/eQnP1noMtc62Hzve9+TJD1//jzTOVh
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"text/plain": [
|
|
|
|
|
"<Figure size 640x480 with 1 Axes>"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"output_type": "display_data"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"source": [
|
|
|
|
|
"plt.hist(\n",
|
|
|
|
|
" rad_length_frac_a,\n",
|
|
|
|
|
" bins=100,\n",
|
|
|
|
|
" density=True,\n",
|
|
|
|
|
" alpha=0.5,\n",
|
|
|
|
|
" color=\"blue\",\n",
|
|
|
|
|
" histtype=\"bar\",\n",
|
|
|
|
|
" range=[0, 1],\n",
|
|
|
|
|
")\n",
|
|
|
|
|
"plt.xlim(0, 1)\n",
|
|
|
|
|
"# plt.yscale(\"log\")\n",
|
|
|
|
|
"plt.title(\"radiation length fraction beginVelo2endUT\")\n",
|
|
|
|
|
"plt.xlabel(f\"$x/X_0$\")\n",
|
|
|
|
|
"plt.ylabel(\"a.u.\")\n",
|
|
|
|
|
"plt.show()"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 6,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"df = pd.DataFrame({\n",
|
|
|
|
|
" \"phi\": phi_a * 90.0 / np.pi,\n",
|
|
|
|
|
" \"eta\": eta_a * 2.0,\n",
|
|
|
|
|
" \"rad_length_frac\": rad_length_frac_a,\n",
|
|
|
|
|
"})\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"df = df.round({\"phi\": 0, \"eta\": 1, \"rad_length_frac\": 4})"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 7,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": [
|
|
|
|
|
"df_pivoted = df.pivot_table(\n",
|
|
|
|
|
" index=\"eta\",\n",
|
|
|
|
|
" columns=\"phi\",\n",
|
|
|
|
|
" values=\"rad_length_frac\",\n",
|
|
|
|
|
" margins=False,\n",
|
|
|
|
|
" # fill_value=0,\n",
|
|
|
|
|
")"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 8,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"data": {
|
|
|
|
|
"text/html": [
|
|
|
|
|
"<div>\n",
|
|
|
|
|
"<style scoped>\n",
|
|
|
|
|
" .dataframe tbody tr th:only-of-type {\n",
|
|
|
|
|
" vertical-align: middle;\n",
|
|
|
|
|
" }\n",
|
|
|
|
|
"\n",
|
|
|
|
|
" .dataframe tbody tr th {\n",
|
|
|
|
|
" vertical-align: top;\n",
|
|
|
|
|
" }\n",
|
|
|
|
|
"\n",
|
|
|
|
|
" .dataframe thead th {\n",
|
|
|
|
|
" text-align: right;\n",
|
|
|
|
|
" }\n",
|
|
|
|
|
"</style>\n",
|
|
|
|
|
"<table border=\"1\" class=\"dataframe\">\n",
|
|
|
|
|
" <thead>\n",
|
|
|
|
|
" <tr style=\"text-align: right;\">\n",
|
|
|
|
|
" <th>phi</th>\n",
|
|
|
|
|
" <th>-90.0</th>\n",
|
|
|
|
|
" <th>-89.0</th>\n",
|
|
|
|
|
" <th>-88.0</th>\n",
|
|
|
|
|
" <th>-87.0</th>\n",
|
|
|
|
|
" <th>-86.0</th>\n",
|
|
|
|
|
" <th>-85.0</th>\n",
|
|
|
|
|
" <th>-84.0</th>\n",
|
|
|
|
|
" <th>-83.0</th>\n",
|
|
|
|
|
" <th>-82.0</th>\n",
|
|
|
|
|
" <th>-81.0</th>\n",
|
|
|
|
|
" <th>...</th>\n",
|
|
|
|
|
" <th>81.0</th>\n",
|
|
|
|
|
" <th>82.0</th>\n",
|
|
|
|
|
" <th>83.0</th>\n",
|
|
|
|
|
" <th>84.0</th>\n",
|
|
|
|
|
" <th>85.0</th>\n",
|
|
|
|
|
" <th>86.0</th>\n",
|
|
|
|
|
" <th>87.0</th>\n",
|
|
|
|
|
" <th>88.0</th>\n",
|
|
|
|
|
" <th>89.0</th>\n",
|
|
|
|
|
" <th>90.0</th>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>eta</th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" <th></th>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" </thead>\n",
|
|
|
|
|
" <tbody>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>3.1</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>3.2</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>3.3</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>1.2679</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>1.2759</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>1.87600</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.516900</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.5076</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>3.4</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>1.2055</td>\n",
|
|
|
|
|
" <td>0.5502</td>\n",
|
|
|
|
|
" <td>0.28410</td>\n",
|
|
|
|
|
" <td>1.89590</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.673400</td>\n",
|
|
|
|
|
" <td>0.2915</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.52245</td>\n",
|
|
|
|
|
" <td>1.2931</td>\n",
|
|
|
|
|
" <td>1.2685</td>\n",
|
|
|
|
|
" <td>0.26290</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.5286</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>3.5</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.8370</td>\n",
|
|
|
|
|
" <td>0.6883</td>\n",
|
|
|
|
|
" <td>0.5597</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>1.30930</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.40660</td>\n",
|
|
|
|
|
" <td>1.724750</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.3628</td>\n",
|
|
|
|
|
" <td>0.5306</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.56120</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>1.1481</td>\n",
|
|
|
|
|
" <td>1.13330</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.4898</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>...</th>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>9.6</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1595</td>\n",
|
|
|
|
|
" <td>0.1948</td>\n",
|
|
|
|
|
" <td>0.2811</td>\n",
|
|
|
|
|
" <td>0.2285</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.34385</td>\n",
|
|
|
|
|
" <td>0.16810</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.3408</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1605</td>\n",
|
|
|
|
|
" <td>0.3835</td>\n",
|
|
|
|
|
" <td>0.35830</td>\n",
|
|
|
|
|
" <td>0.2229</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.20530</td>\n",
|
|
|
|
|
" <td>0.25955</td>\n",
|
|
|
|
|
" <td>0.1618</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>9.7</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1688</td>\n",
|
|
|
|
|
" <td>0.1762</td>\n",
|
|
|
|
|
" <td>0.17905</td>\n",
|
|
|
|
|
" <td>0.16470</td>\n",
|
|
|
|
|
" <td>0.17470</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.2906</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.23890</td>\n",
|
|
|
|
|
" <td>0.1618</td>\n",
|
|
|
|
|
" <td>0.1730</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.17520</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>9.8</th>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1703</td>\n",
|
|
|
|
|
" <td>0.1920</td>\n",
|
|
|
|
|
" <td>0.1787</td>\n",
|
|
|
|
|
" <td>0.1725</td>\n",
|
|
|
|
|
" <td>0.1707</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.16860</td>\n",
|
|
|
|
|
" <td>0.26055</td>\n",
|
|
|
|
|
" <td>0.231933</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1747</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.21850</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.17465</td>\n",
|
|
|
|
|
" <td>0.14510</td>\n",
|
|
|
|
|
" <td>0.1860</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>9.9</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1831</td>\n",
|
|
|
|
|
" <td>0.1671</td>\n",
|
|
|
|
|
" <td>0.1485</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.17920</td>\n",
|
|
|
|
|
" <td>0.41690</td>\n",
|
|
|
|
|
" <td>0.17350</td>\n",
|
|
|
|
|
" <td>0.284200</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.3746</td>\n",
|
|
|
|
|
" <td>0.2385</td>\n",
|
|
|
|
|
" <td>0.1257</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.4171</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.16620</td>\n",
|
|
|
|
|
" <td>0.1656</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" <tr>\n",
|
|
|
|
|
" <th>10.0</th>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.2501</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1900</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.23640</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>...</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1828</td>\n",
|
|
|
|
|
" <td>0.2026</td>\n",
|
|
|
|
|
" <td>0.11630</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" <td>NaN</td>\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" <td>0.1526</td>\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
" <td>NaN</td>\n",
|
|
|
|
|
" </tr>\n",
|
|
|
|
|
" </tbody>\n",
|
|
|
|
|
"</table>\n",
|
|
|
|
|
"<p>70 rows × 181 columns</p>\n",
|
|
|
|
|
"</div>"
|
|
|
|
|
],
|
|
|
|
|
"text/plain": [
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"phi -90.0 -89.0 -88.0 -87.0 -86.0 -85.0 -84.0 -83.0 \\\n",
|
|
|
|
|
"eta \n",
|
|
|
|
|
"3.1 NaN NaN NaN NaN NaN NaN NaN NaN \n",
|
|
|
|
|
"3.2 NaN NaN NaN NaN NaN NaN NaN NaN \n",
|
|
|
|
|
"3.3 NaN 1.2679 NaN 1.2759 NaN NaN 1.87600 NaN \n",
|
|
|
|
|
"3.4 NaN NaN NaN 1.2055 0.5502 0.28410 1.89590 NaN \n",
|
|
|
|
|
"3.5 NaN 0.8370 0.6883 0.5597 NaN 1.30930 NaN 0.40660 \n",
|
|
|
|
|
"... ... ... ... ... ... ... ... ... \n",
|
|
|
|
|
"9.6 NaN 0.1595 0.1948 0.2811 0.2285 NaN 0.34385 0.16810 \n",
|
|
|
|
|
"9.7 NaN NaN NaN 0.1688 0.1762 0.17905 0.16470 0.17470 \n",
|
|
|
|
|
"9.8 0.1703 0.1920 0.1787 0.1725 0.1707 NaN 0.16860 0.26055 \n",
|
|
|
|
|
"9.9 NaN 0.1831 0.1671 0.1485 NaN 0.17920 0.41690 0.17350 \n",
|
|
|
|
|
"10.0 NaN 0.2501 NaN 0.1900 NaN 0.23640 NaN NaN \n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"\n",
|
|
|
|
|
"phi -82.0 -81.0 ... 81.0 82.0 83.0 84.0 85.0 86.0 \\\n",
|
|
|
|
|
"eta ... \n",
|
|
|
|
|
"3.1 NaN NaN ... NaN NaN NaN NaN NaN NaN \n",
|
|
|
|
|
"3.2 NaN NaN ... NaN NaN NaN NaN NaN NaN \n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"3.3 0.516900 NaN ... 0.5076 NaN NaN NaN NaN NaN \n",
|
|
|
|
|
"3.4 0.673400 0.2915 ... NaN NaN NaN 0.52245 1.2931 1.2685 \n",
|
|
|
|
|
"3.5 1.724750 NaN ... 0.3628 0.5306 NaN 0.56120 NaN 1.1481 \n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"... ... ... ... ... ... ... ... ... ... \n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"9.6 NaN 0.3408 ... NaN 0.1605 0.3835 0.35830 0.2229 NaN \n",
|
|
|
|
|
"9.7 NaN NaN ... 0.2906 NaN NaN 0.23890 0.1618 0.1730 \n",
|
|
|
|
|
"9.8 0.231933 NaN ... NaN 0.1747 NaN 0.21850 NaN NaN \n",
|
|
|
|
|
"9.9 0.284200 NaN ... 0.3746 0.2385 0.1257 NaN 0.4171 NaN \n",
|
|
|
|
|
"10.0 NaN NaN ... NaN 0.1828 0.2026 0.11630 NaN NaN \n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"phi 87.0 88.0 89.0 90.0 \n",
|
|
|
|
|
"eta \n",
|
|
|
|
|
"3.1 NaN NaN NaN NaN \n",
|
|
|
|
|
"3.2 NaN NaN NaN NaN \n",
|
|
|
|
|
"3.3 NaN NaN NaN NaN \n",
|
|
|
|
|
"3.4 0.26290 NaN 0.5286 NaN \n",
|
|
|
|
|
"3.5 1.13330 NaN 0.4898 NaN \n",
|
|
|
|
|
"... ... ... ... ... \n",
|
|
|
|
|
"9.6 0.20530 0.25955 0.1618 NaN \n",
|
|
|
|
|
"9.7 NaN 0.17520 NaN NaN \n",
|
|
|
|
|
"9.8 0.17465 0.14510 0.1860 NaN \n",
|
|
|
|
|
"9.9 NaN 0.16620 0.1656 NaN \n",
|
|
|
|
|
"10.0 NaN NaN 0.1526 NaN \n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"\n",
|
|
|
|
|
"[70 rows x 181 columns]"
|
|
|
|
|
]
|
|
|
|
|
},
|
2024-02-04 16:56:05 +01:00
|
|
|
|
"execution_count": 8,
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"metadata": {},
|
|
|
|
|
"output_type": "execute_result"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"source": [
|
|
|
|
|
"df_pivoted"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
|
|
|
|
"execution_count": null,
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [],
|
|
|
|
|
"source": []
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"cell_type": "code",
|
|
|
|
|
"execution_count": 18,
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"outputs": [
|
|
|
|
|
{
|
|
|
|
|
"data": {
|
2024-02-04 16:56:05 +01:00
|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T7Ha75OTkSFlZ2UH/5sYbb5TFixeP6RcAFRUVkpWVJatXr5YlS5aM6VUiR+K8jodw62bwXIwEfenTeBjLu/cHXymjGXzXe1VVlZSWlkpRUZGUlJQc9JcCbrdbysvLh77USuSTL9otLi4e8VVKRERERHTs0f4K1e12S25urpSUlAytBe+9917Jzs4+6LWVxcXFUlxcHNb1FJ9kJyIios+d6upq9RUTozX4xPinb36Ga3BhuGTJkjGVwW63i9vtlhtvvHFcnkavrq4e81PcB9bp4PvhR6qXtWvXHvTvB9+tfeB/CQkJ4nK5Dvm5xul0Dh07Ly9vzOd6vM/reAi3bkZzg9vtdg99+dORUFRUNPRu9pGUl5er59fr9UpeXt7Qa4AGz9WBr0wSOfgXOINcLpdUVlZ+7t6NT0RERHTEmYxH779hDD6EIfLJX/aWl5cftObzer3i8XgO+pnL5ZKqqiopKiqSoqIiycvLk6KiorAfPOJNdiIiIvrcKSoqGpf3jw8+5VBZWXnITb4Deb3eUd38Hnz9xVi/xPHAd7CPxxdA3njjjWN+svnAOl22bNnQDU10Y7W8vFyqq6slJyfniHxp5bJly4ZuwC5dunTYG6voNSnjfV4n0uD70LX3wY/2HegiY3+1THl5ueTm5kpBQcFBf90w3E3/0Xzh79KlS6WkpGToLwwGvwB18FiD1q1bd8gTSINt+ki/HoeIiIiIji6XyyUlJSUSCoWkra1Nli1bdtBa0OVyDf3809uVlZVJcXGxlJWVhfXazUG8yU5ERESfScPdxBv8M0G
|
2024-02-02 16:39:11 +01:00
|
|
|
|
"text/plain": [
|
|
|
|
|
"<Figure size 2100x700 with 2 Axes>"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"metadata": {},
|
|
|
|
|
"output_type": "display_data"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"source": [
|
|
|
|
|
"fig = plt.figure(figsize=(21, 7))\n",
|
|
|
|
|
"ax = sns.heatmap(\n",
|
|
|
|
|
" df_pivoted,\n",
|
|
|
|
|
" robust=True,\n",
|
|
|
|
|
" square=True,\n",
|
|
|
|
|
" cmap=colormaps[\"rainbow\"],\n",
|
|
|
|
|
" xticklabels=False,\n",
|
|
|
|
|
" yticklabels=False,\n",
|
2024-02-04 16:56:05 +01:00
|
|
|
|
" vmax=1,\n",
|
|
|
|
|
" vmin=0.1,\n",
|
2024-02-02 16:39:11 +01:00
|
|
|
|
")\n",
|
|
|
|
|
"# ax.set_yticks([5, 15, 25, 35], [2, 3, 4, 5])\n",
|
|
|
|
|
"ax.set_yticks([10, 30, 50, 70], [2, 3, 4, 5])\n",
|
|
|
|
|
"ax.set_xticks([39, 89, 139],\n",
|
|
|
|
|
" [-100, 0, 100]) # ([79, 179, 279], [-100, 0, 100])\n",
|
|
|
|
|
"ax.set_xlabel(f\"$\\phi$ [deg]\")\n",
|
|
|
|
|
"ax.set_ylabel(f\"$\\eta$\")\n",
|
|
|
|
|
"\n",
|
|
|
|
|
"# ax.set_yticklabels([])\n",
|
|
|
|
|
"ax.invert_yaxis()\n",
|
|
|
|
|
"ax.set_title(\"LHCb VELO+RICH1+UT $x/X_0$\")\n",
|
|
|
|
|
"plt.show()"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"metadata": {
|
|
|
|
|
"kernelspec": {
|
|
|
|
|
"display_name": "tuner",
|
|
|
|
|
"language": "python",
|
|
|
|
|
"name": "python3"
|
|
|
|
|
},
|
|
|
|
|
"language_info": {
|
|
|
|
|
"codemirror_mode": {
|
|
|
|
|
"name": "ipython",
|
|
|
|
|
"version": 3
|
|
|
|
|
},
|
|
|
|
|
"file_extension": ".py",
|
|
|
|
|
"mimetype": "text/x-python",
|
|
|
|
|
"name": "python",
|
|
|
|
|
"nbconvert_exporter": "python",
|
|
|
|
|
"pygments_lexer": "ipython3",
|
|
|
|
|
"version": "3.10.12"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"nbformat": 4,
|
|
|
|
|
"nbformat_minor": 2
|
|
|
|
|
}
|