2023-09-14 12:07:57 +02:00
|
|
|
{
|
|
|
|
"cells": [
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 16:44:11 +02:00
|
|
|
"execution_count": 2,
|
2023-09-14 12:07:57 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"import uproot\n",
|
|
|
|
"import numpy as np\n",
|
|
|
|
"import sys\n",
|
|
|
|
"import os\n",
|
|
|
|
"import matplotlib\n",
|
|
|
|
"import matplotlib.pyplot as plt\n",
|
|
|
|
"from mpl_toolkits import mplot3d\n",
|
|
|
|
"import itertools\n",
|
|
|
|
"import awkward as ak\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"import seaborn as sns\n",
|
2023-09-18 13:55:34 +02:00
|
|
|
"from scipy.optimize import curve_fit\n",
|
2023-09-14 12:07:57 +02:00
|
|
|
"%matplotlib inline"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 12:12:50 +02:00
|
|
|
"execution_count": 3,
|
2023-09-14 12:07:57 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
2023-09-14 16:33:27 +02:00
|
|
|
"file = uproot.open(\"tracking_losses_ntuple_Bd2KstEE.root:PrDebugTrackingLosses.PrDebugTrackingTool/Tuple;1\")\n",
|
|
|
|
"#file = uproot.open(\"tracking_losses_ntuple_Dst0ToD0EE.root:PrDebugTrackingLosses.PrDebugTrackingTool/Tuple;1\")\n",
|
2023-09-14 12:07:57 +02:00
|
|
|
"\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"#look at particles only from Signal\n",
|
2023-09-14 12:07:57 +02:00
|
|
|
"allcolumns = file.arrays()\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"tracked = allcolumns[(allcolumns.isElectron) & (~allcolumns.lost) & (allcolumns.fromSignal)]\n",
|
|
|
|
"lost = allcolumns[(allcolumns.isElectron) & (allcolumns.lost) & (allcolumns.fromSignal)] \n",
|
|
|
|
"\n",
|
|
|
|
"#ak.num(tracked, axis=0)\n",
|
|
|
|
"\n"
|
2023-09-14 12:07:57 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 12:12:50 +02:00
|
|
|
"execution_count": 4,
|
2023-09-14 12:07:57 +02:00
|
|
|
"metadata": {},
|
2023-09-15 12:33:25 +02:00
|
|
|
"outputs": [],
|
2023-09-14 16:33:27 +02:00
|
|
|
"source": [
|
|
|
|
"#lost\n",
|
|
|
|
"l_eph = lost[\"brem_photons_pe\"]\n",
|
|
|
|
"ak.nan_to_num(l_eph)\n",
|
|
|
|
"l_pT = lost[\"pt\"]\n",
|
|
|
|
"l_sci_x = lost[\"scifi_hit_pos_x\"]\n",
|
|
|
|
"ak.nan_to_num(l_sci_x)\n",
|
|
|
|
"\n",
|
|
|
|
"#found\n",
|
|
|
|
"f_eph = tracked[\"brem_photons_pe\"]\n",
|
|
|
|
"ak.nan_to_num(f_eph)\n",
|
|
|
|
"f_pT = tracked[\"pt\"]\n",
|
|
|
|
"f_sci_x = tracked[\"scifi_hit_pos_x\"]\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"ak.nan_to_num(f_sci_x)\n",
|
|
|
|
"\n",
|
|
|
|
"l_sci_x, l_pT = ak.broadcast_arrays(l_sci_x, l_pT)\n",
|
|
|
|
"f_sci_x, f_pT = ak.broadcast_arrays(f_sci_x, f_pT)\n",
|
|
|
|
"\n",
|
|
|
|
"l_sci_x = ak.to_numpy(ak.flatten(l_sci_x))\n",
|
|
|
|
"l_pT = ak.to_numpy(ak.flatten(l_pT))\n",
|
|
|
|
"f_sci_x = ak.to_numpy(ak.flatten(f_sci_x))\n",
|
|
|
|
"f_pT = ak.to_numpy(ak.flatten(f_pT))"
|
2023-09-14 16:33:27 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 12:12:50 +02:00
|
|
|
"execution_count": 5,
|
2023-09-14 16:33:27 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data": {
|
2023-09-15 12:33:25 +02:00
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAABlAAAAIhCAYAAAAxRfejAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8pXeV/AAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOzde3wU1f3/8fcSciOEJSEkIRgCWohgABGVmy0gmEAJiFappkawNvAVhSJQL7VqsAWqXMSGipb6BeQitl+FctEYLorlS7iIRo1Q1P4QghKgEMJFSEJyfn/wzcgmu8ku2SVLeD0fj3k8smc/e/bMmdnJnDlz5tiMMUYAAAAAAAAAAACwNKrvAgAAAAAAAAAAAPgbOlAAAAAAAAAAAACqoAMFAAAAAAAAAACgCjpQAAAAAAAAAAAAqqADBQAAAAAAAAAAoAo6UAAAAAAAAAAAAKqgAwUAAAAAAAAAAKAKOlAAAAAAAAAAAACqoAMFAAAAAAAAAACgiiumA2XhwoWy2Wz65ptvfJL/yy+/rIULF3o931GjRqlt27Zez7fSO++8o8zMTJ/lfzmy2WwOdbJr1y5lZmY63Xd8vX3q4oMPPpDNZtMHH3zgtTxd7eeV3/U///M/XvsuX3JVN1lZWfrRj36koKAg2Ww2HT9+3O1t7M/7Qn365ptvZLPZaj0+1vQ7q4ua8u3Xr5+SkpK8+n1t27bVqFGjLvrz33//vTIzM736uwVqs2XLFmVmZur48eP1XRQAl8Cbb76p6667TqGhobLZbMrLy6vvIjmVmZkpm83mtfx83R701bnM5axfv37q16+f9bqm8xxfb5+6qtpGrKua2uE2m02PPPKI177L15zVzYYNG3TjjTcqLCxMNptNK1eudHsb+/u+UJ/caWv4qj1RU76Vx+v//Oc/Xvs+b7SvfXWdDnDlu+++U2Zmpt+eW+HiXTEd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406dPm0mTJpm2bdta+2n37t3NsmXLaqy/999/30gy77//frU6/eqrr8zgwYNNWFiYueqqq8zEiRPN2bNna8yvpv288ruWLVtmfvvb35pWrVqZ8PBwM2DAAPOvf/2rWl7r1q0zt956qwkPDzehoaGmd+/eZv369TV+vzHGlJeXm9///vemQ4cOJiQkxNjtdtO5c2czZ84ch7jdu3ebe+65x0RHR5ugoCATHx9v0tPTrXWsWjd9+/attm4jR4606qy237OruMrf0Ouvv26uvfZaExoaarp06WJWr15da36VZXz99dfNxIkTTVxcnLHZbGb37t3GGPfrcOXKlaZz584mKCjItGvXzsyZM8c8++yzpurhf+7cuebHP/6xadmypWnSpIlJSkoyzz//vCktLXWI69u3r7nuuuvMpk2bTK9evUxoaKj5+c9/bowx5ttvvzV33323adq0qWnWrJkZMWKEyc3NdfjNOFPb78wY947VnuZbuS7bt283t9xyiwkNDTXt2rUz06dPN+Xl5Q55FRcXW7/Dyt/1r3/9a3Pq1CmHuISEBGvfMab27XihvXv3Oi1vZX6V223nzp3mZz/7mWnevLmJjY01xhizY8cO8/Of/9wkJCSYkJAQk5CQYO655x7zzTffOK0Td47LNR0vS0tLTcuWLc19991XbT2KiopMSEiIefTRRz2uv5r+77z88sumS5cuJiwszDRt2tQkJiaaJ5980uHzBw8eNKNHjzatW7c2gYGBpm3btiYzM9OUlZVVK2dVlcfk1atXm+uvv96EhISYa6+91vq9LliwwFx77bWmSZMm5qabbjI7duyolsc//vEP07NnTxMaGmqaNm1qBg4caLZs2eIQU7kdP/30U3PXXXeZZs2amYiICPPoo4+asrIy869//cukpKSYpk2bmoSEBPP8889X+x5P67OmY1BleaoulcfHC/8nVq2vC/f1yn1rw4YN5le/+pWJjIw04eHhJj093Zw6dcocPHjQ3H333cZut5vY2FgzadKkascXAL7l7Ny/b9++1vvuHMNcnRc5O7fw5DxozZo1pmvXriYoKMi0bdvWzJgxw2merrhzXuSqPejuOVVN55funnM4O3/at2+f+cUvfmFatmxpgoKCzLXXXmtmzpzpcC5SeY4wY8YMM2vWLNO2bVsTFhZmevbsaXJzc2utn8ry5eTkmFGjRpmIiAjTpEkTk5qa6rQN6Y02cuV6V+5jtZ3n1KW97kkbx53zCWeq/j+sS1vX3Xa4O7+dL7/80tx7770O+8/cuXNrXR9jjPnb3/5mbr75ZutaQbt27cwDDzzgEFNUVGQmTpxo2rVrZ4KCgkzLli3N4MGDHc5lL6wbZ+cVlccMV9u4Kmdxnpy3O1PTOaa7dZifn29uu+02ExoaaqKioszYsWPNmjVrqrW5c3JyzLBhw0zr1q1NcHCwueaaa8zo0aPNkSNHHPKr6dy+tLTU/OY3vzExMTEmNDTU9OnTx2zbtq3a+VdVtf3OjHHvWo6n+VauS35+vrnnnntMs2bNTHR0tHnggQfM8ePHHfKqy7WwmrZjVe5cv3DWRjt8+LB56KGHTMeOHU1YWJhp2bKl6d+/v/nwww+d1ok7x+Xajpe33367adOmjdN9+eabbzbdunXzuP5q+r/jznWxkpIS8/vf/94kJiaaoKAgExUVZUaNGmUOHz7stL4vVHlM3r17t0lOTjZNmjQxsbGxZvr06cYYY3Jzc02fPn1MkyZNTPv27c3ChQur5fH555+bYcOGmebNm5vg4GDTtWvXanGV23Hp0qXmscceM7GxsSYsLMykpqaawsJCc+LECZORkWFatGhhWrRoYUaNGmVOnjzpkIen9VnTMaiyPFWXyuPjhf8Tq9bXhft65b71wgsvmD/+8Y9WG79v375mz549prS01Dz++OOmVatWplmzZmb48OHm0KFDtW4X1M0V3YEybdo0I8nce++9Zu3ateb11183V199tbHb7ebLL7+04hITE82PfvQ
|
2023-09-14 16:33:27 +02:00
|
|
|
"text/plain": [
|
2023-09-15 12:33:25 +02:00
|
|
|
"<Figure size 2000x600 with 4 Axes>"
|
2023-09-14 16:33:27 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "display_data"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"fig, ((ax0, ax1)) = plt.subplots(nrows=1, ncols=2, figsize=(20,6))\n",
|
|
|
|
"\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"ax0.hist2d(l_sci_x, l_pT, bins=100, cmap=plt.cm.jet)\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"ax0.set_xlabel(\"scifi x\")\n",
|
|
|
|
"ax0.set_ylabel(r\"$p_T$\")\n",
|
|
|
|
"ax0.set_title(\"lost electron positions in the scifi in regard to their transverse momentum\")\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"pcm0 = ax0.pcolormesh([l_sci_x,l_pT])\n",
|
|
|
|
"plt.colorbar(pcm0,ax=ax0)\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"ax1.hist2d(f_sci_x, f_pT, bins=100, cmap=plt.cm.jet)\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"ax1.set_xlabel(\"scifi x\")\n",
|
|
|
|
"ax1.set_ylabel(r\"$p_T$\")\n",
|
|
|
|
"ax1.set_title(\"found electron positions in the scifi in regard to their transverse momentum\")\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"pcm1 = ax1.pcolormesh([f_sci_x,f_pT])\n",
|
|
|
|
"plt.colorbar(pcm1,ax=ax1)\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"\"\"\"\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"B:\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"we can see that the lost electrons cover a wider spread in the x direction of the scifi tracker,\n",
|
|
|
|
"while most of those have low pT \n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"\"\"\"\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"plt.show()"
|
|
|
|
]
|
2023-09-14 12:07:57 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 12:12:50 +02:00
|
|
|
"execution_count": null,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 6,
|
2023-09-15 12:33:25 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"name": "stdout",
|
|
|
|
"output_type": "stream",
|
|
|
|
"text": [
|
|
|
|
"[[4.09e+04], [8.66e+03], [8.07e+04], ..., [5.63e+03], [6.29e+03], [2.26e+03]]\n",
|
|
|
|
"[4.62e+04, 9.36e+03, 1.34e+05, 5.63e+04, ..., 2.01e+04, 6.94e+03, 7.83e+03]\n",
|
|
|
|
"8657.132\n",
|
|
|
|
"9355.866625028413\n"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"energy_found = tracked[\"energy\"]\n",
|
|
|
|
"energy_found = energy_found[tracked[\"brem_photons_pe_length\"]!=0]\n",
|
|
|
|
"#ak.nan_to_num(energy_found)\n",
|
|
|
|
"\n",
|
|
|
|
"e_ph_found = tracked[\"brem_photons_pe\"]\n",
|
|
|
|
"e_ph_found = e_ph_found[tracked[\"brem_photons_pe_length\"]!=0]\n",
|
|
|
|
"#ak.nan_to_num(e_ph_found, nan=[0])\n",
|
|
|
|
"e_ph_found = ak.sum(e_ph_found, axis=-1, keepdims=True)\n",
|
|
|
|
"print(e_ph_found)\n",
|
|
|
|
"print(energy_found)\n",
|
|
|
|
"\n",
|
|
|
|
"energy_lost = lost[\"energy\"]\n",
|
|
|
|
"energy_lost = energy_lost[lost[\"brem_photons_pe_length\"]!=0]\n",
|
|
|
|
"#ak.nan_to_num(energy_lost)\n",
|
|
|
|
"\n",
|
|
|
|
"e_ph_lost = lost[\"brem_photons_pe\"]\n",
|
|
|
|
"e_ph_lost = e_ph_lost[lost[\"brem_photons_pe_length\"]!=0]\n",
|
|
|
|
"#ak.nan_to_num(e_ph_lost)\n",
|
|
|
|
"e_ph_lost = ak.sum(e_ph_lost, axis=-1,keepdims=True)\n",
|
|
|
|
"\n",
|
|
|
|
"#e_ph_found, energy_found = ak.broadcast_arrays(e_ph_found, energy_found)\n",
|
|
|
|
"#e_ph_lost, energy_lost = ak.broadcast_arrays(e_ph_lost, energy_lost)\n",
|
|
|
|
"\n",
|
|
|
|
"e_ph_found = ak.to_numpy(ak.flatten(e_ph_found))\n",
|
|
|
|
"energy_found = ak.to_numpy(energy_found)\n",
|
|
|
|
"\n",
|
|
|
|
"e_ph_lost = ak.to_numpy(ak.flatten(e_ph_lost))\n",
|
|
|
|
"energy_lost = ak.to_numpy(energy_lost)\n",
|
|
|
|
"\n",
|
|
|
|
"print(e_ph_found[1])\n",
|
|
|
|
"print(energy_found[1])"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 12:12:50 +02:00
|
|
|
"execution_count": 7,
|
2023-09-14 12:07:57 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
2023-09-15 12:33:25 +02:00
|
|
|
"source": [
|
|
|
|
"q_e_found = e_ph_found/energy_found\n",
|
|
|
|
"q_e_lost = e_ph_lost/energy_lost"
|
|
|
|
]
|
2023-09-14 12:07:57 +02:00
|
|
|
},
|
2023-09-14 16:33:27 +02:00
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 13:55:34 +02:00
|
|
|
"execution_count": 8,
|
2023-09-14 16:33:27 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data": {
|
2023-09-18 12:12:50 +02:00
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAioAAAHMCAYAAAD7xYOxAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8pXeV/AAAACXBIWXMAAA9hAAAPYQGoP6dpAAA13ElEQVR4nO3de3gU5d3/8c/mnBCygUhCgJRjAiRBVKI0QS1aEUFFW+sRMSqiVioglpNHsPoEaz2gj6BSBPpDhBYBqSIHlSAHEUiCiqAgoAQNBhCSQGqAZH5/WPZxSYDsZHdnNvt+Xdde7czO3POdudLuh/u+Z8ZhGIYhAAAAGwqxugAAAIBTIagAAADbIqgAAADbIqgAAADbIqgAAADbIqgAAADbIqgAAADbIqgAAADbIqgAAADbIqgAAADbIqgAAADbIqgAaLDFixfL4XCc8jNt2jSvHKe6ulqJiYl6/vnn/X5sANYIs7oAAIGvsLBQkvT2228rMTGx1vfp6eleOc5HH32kffv26fe//73fjw3AGgQVAA1WWFiouLg4XX311XI4HD47zrx585SVlaW2bdv6/dgArMHQD4AGKygoUPfu3X0aFAzD0IIFC3Tdddf5/dgArENQAdAgBw4c0O7du9WtWzcdP3681scwDK8cZ+3atSopKXELKv46NgDrEFQANMiJOSKTJ09WeHh4rc+WLVvO2IZhGIqLi9P+/ftPuc28efPUrVs3paamenzsffv26corr1STJk2Ulpam5cuXN+SUAfgRc1QANEhBQYEkaf78+UpJSan1fX0ms27fvl0tWrTQWWeddcpt5s+frzvvvNPUsYcOHaqWLVtq3759ev/993XDDTfo66+/VkJCwhlrA2AtggqABiksLFRUVJQGDBig0NDQU2736quv6l//+pfCw8P1ySefqFWrVvrnP/+p9PR0FRYW6pxzztE999yjuXPnqlWrVlq0aJE6deokSVq/fr12795da35KfY59+PBhLVy4UDt27FBMTIwGDBig7t276+23364VfADYD0M/ABqksLBQmZmZpw0pkrR582Zt2LBBI0aM0A8//KCePXvqkUcekSQVFRVp48aNuuOOO/Tjjz/qvPPO09SpU137vvXWW0pLS1NmZqbHx96+fbtiY2Pdely6deumL774wszpAvAzggoA08rKyrRz50517979jNtu3rxZjzzyiPr27avw8HANHDhQ27Ztk/RzUJkwYYJ+/etfKyQkRB07dnSbCPvWW2/V6k2p77EPHz6suLg4t3VxcXE6fPhwfU8TgIUY+gFgWmFhoQzDUJMmTbRu3bpa37du3drVk/HFF1+4PSW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hhYeHKzQ01OoyAACNmKVDPxUVFXr00Ue1YMEClZaWqlWrVrr55pv12GOPKSIi4oz7n6nryDAM7d27V4cOHfJB9ZCk+Ph4tWzZkufYAADqzZOhn4B+18+ZTrSkpESHDh1SYmKiYmJi+DH1IsMwVFlZqdLSUsXHxys5OdnqkgAAAcKToGLp0I8vVVdXu0JKQkKC1eU0StHR0ZKk0tJSJSYmMgwEAPC6RvtSwhNzUmJiYiyupHE7cX2ZAwQA8IVGG1ROYLjHt7i+AABfavRBBQAABC6Cig317t1bI0aMsLoMAAAs12gn057W2vH+O1aOH491kvz8fF1yySU6ePCg4uPjLasDAACz6FEBAAC2RVCxuYMHD+q2225Ts2bNFBMTo379+mn79u2u77/99ltdffXVatasmZo0aaKMjAwtXrxY33zzjS655BJJUrNmzeRwOHT77bdbdBYAAJgTnEM/AeT222/X9u3btWjRIsXFxWnMmDHq37+/tmzZovDwcA0dOlRHjx7VRx99pCZNmmjLli2KjY1VSkqK3nrrLV133XX66quvFBcX53ruCQAAkmpPhbBwusKpEFRs7ERAWbNmjXJyciRJb7zxhlJSUrRw4UJdf/312r17t6677jp169ZNktShQwfX/s2bN5ckJSYmMkcFABCQGPqxsa1btyosLEw9e/Z0rUtISFDnzp21detWSdKwYcP05JNPqlevXnr88cf12WefWVUuAABeR1CxsVO9hskwDNeD1u666y7t3LlTgwYN0ueff66srCy99NJL/iwTAACfIajYWHp6uo4fP65PPvnEte7AgQPatm2bunbt6lqXkpKie++9V/Pnz9eDDz6oqVOnSpLrDdTV1dX+LRwAAC8hqNhYamqqrrnmGg0ZMkSrV6/Wp59+qltvvVWtW7fWNddcI0kaMWKEli5dql27dqmwsFAffvihK8S0bdtWDodD77zzjvbt26fDhw9beToAAHgsOCfT2nBW86lMnz5dw4cP11VXXaWjR4/q4osv1uLFixUeHi7p596SoUOHas+ePYqLi9MVV1yh559/XpLUunVrTZgwQWPHjtUdd9yh2267TTNmzLDwbAAA8IzDONVEiABQXl4up9OpsrIyxcXFuX33008/adeuXWrfvr2ioqIsqrDx4zoDQACz6Pbk0/1+n4yhHwAAYFsEFQAAYFsEFQAAYFsEFQAAYFsEFQAAYFsEFQAAYFsEFQAAYFsEFQAAYFsEFQAAYFsEFRsyDEN33323mjdvLofDoU2bNllWS+/evTVixAjLjg8ACG5B+a6f8ePtfawlS5ZoxowZys/PV4cOHXTWWWd5vS4AAAJBUAYVu9uxY4eSk5OVk5NjdSkAgMbi5Pf6BAiGfmzm9ttv1/3336/du3fL4XCoXbt2qqqq0rBhw5SYmKioqChdeOGF2rBhg2ufGTNmKD4+3q2dhQsXyuFwuJbHjx+vc845R//v//0/tWvXTk6nUzfddJMqKipc2xw5ckS33XabYmNjlZycrGeffdbn5wsAwOkQVGxm0qRJeuKJJ9SmTRuVlJRow4YNGj16tN566y3NnDlThYWF6tSpk/r27asff/zRo7Z37NihhQsX6p133tE777y
|
2023-09-14 16:33:27 +02:00
|
|
|
"text/plain": [
|
|
|
|
"<Figure size 640x480 with 1 Axes>"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "display_data"
|
2023-09-15 12:33:25 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
2023-09-18 12:12:50 +02:00
|
|
|
"plt.hist(q_e_lost, bins=100, density=True, alpha=0.5, histtype='bar', color=\"darkorange\", label=\"lost\")\n",
|
|
|
|
"plt.hist(q_e_found, bins=100, density=True, alpha=0.5, histtype='bar', color=\"blue\", label=\"found\")\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"plt.xlabel(r\"$E_\\gamma/E_0$\")\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"plt.ylabel(\"counts (normed)\")\n",
|
|
|
|
"plt.title(r'$E_{ph}/E_0$')\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"plt.legend()\n",
|
|
|
|
"\n",
|
|
|
|
"\"\"\"\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"B:\n",
|
|
|
|
"we can clearly see that lost electrons are responsible for higher energy photons\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"\"\"\"\n",
|
|
|
|
"\n",
|
|
|
|
"plt.show()"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": null,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 13:55:34 +02:00
|
|
|
"execution_count": 9,
|
2023-09-15 12:33:25 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
2023-09-14 16:33:27 +02:00
|
|
|
{
|
|
|
|
"data": {
|
2023-09-18 12:12:50 +02:00
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAABmMAAAIlCAYAAAApEIyOAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8pXeV/AAAACXBIWXMAAA9hAAAPYQGoP6dpAAD5rUlEQVR4nOzdf1xUVf4/8NfIj+GHMIEKOC4KtUYaWIaFSLtoKliin35akiTVohuuLoFbW+0quon5C90v9jtL80dUW7qpRaCVrisgS7or6mpt/iJBXEVQU0A43z9crjPMDDN3uPOT1/PxmEfjnfc959wzd6Y53Ps+RyWEECAiIiIiIiIiIiIiIiKb6OHoBhAREREREREREREREbkzXowhIiIiIiIiIiIiIiKyIV6MISIiIiIiIiIiIiIisiFejCEiIiIiIiIiIiIiIrIhXowhIiIiIiIiIiIiIiKyIV6MISIiIiIiIiIiIiIisiFejCEiIiIiIiIiIiIiIrIhXowhIiIiIiIiIiIiIiKyIV6MISIiIiIiIiIiIiIisiFejKFu6cMPP8Stt94KX19fqFQq7Nu3z9FNMio3NxcqlUqx8lavXg2VSoVjx44pVqaugwcPIjc312blk2tSqVTIzc21Sdk//fQTcnNz8c033yhednp6Onr27KlomXl5edi0aZOiZRIRERE5gq3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bceONN4qhQ4dKv5u+/fbbTtuTkZEhvLy8RE5OjigqKhIbNmw
|
2023-09-14 16:33:27 +02:00
|
|
|
"text/plain": [
|
2023-09-15 12:33:25 +02:00
|
|
|
"<Figure size 2000x600 with 4 Axes>"
|
2023-09-14 16:33:27 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "display_data"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
2023-09-15 12:33:25 +02:00
|
|
|
"fig, ((ax0, ax1)) = plt.subplots(nrows=1, ncols=2, figsize=(20,6))\n",
|
|
|
|
"\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"ax0.hist2d(e_ph_found, energy_found, density=True, bins=200, cmap=plt.cm.jet, range=[[0,100000],[0,100000]])\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"ax0.set_xlabel(r\"$E_\\gamma$\")\n",
|
|
|
|
"ax0.set_ylabel(r\"$E_e$\")\n",
|
|
|
|
"ax0.set_title(\"found electron energy against photon energy\")\n",
|
|
|
|
"pcm0 = ax0.pcolormesh([e_ph_found, energy_found])\n",
|
|
|
|
"plt.colorbar(pcm0,ax=ax0)\n",
|
|
|
|
"\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"ax1.hist2d(e_ph_lost, energy_lost, density=True, bins=200, cmap=plt.cm.jet, range=[[0,100000],[0,100000]])\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"ax1.set_xlabel(r\"$E_\\gamma$\")\n",
|
|
|
|
"ax1.set_ylabel(r\"$E_e$\")\n",
|
|
|
|
"ax1.set_title(\"lost electron energy against photon energy\")\n",
|
|
|
|
"pcm1 = ax1.pcolormesh([e_ph_lost, energy_lost])\n",
|
|
|
|
"plt.colorbar(pcm1,ax=ax1)\n",
|
|
|
|
"\n",
|
|
|
|
"\"\"\"\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"B:\n",
|
|
|
|
"concentrated at the E_ph/E_0~1 line especially at lower energies.\n",
|
|
|
|
"lost E_ph to E_0: fewer entries at lower q_e\n",
|
2023-09-15 12:33:25 +02:00
|
|
|
"\"\"\"\n",
|
2023-09-14 16:33:27 +02:00
|
|
|
"plt.show()"
|
|
|
|
]
|
|
|
|
},
|
2023-09-14 12:07:57 +02:00
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 16:44:11 +02:00
|
|
|
"execution_count": 52,
|
2023-09-14 12:07:57 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
2023-09-18 12:12:50 +02:00
|
|
|
"source": [
|
|
|
|
"brem_vtx_x_found = tracked[\"brem_vtx_x\"]\n",
|
|
|
|
"brem_vtx_x_found = brem_vtx_x_found[tracked[\"brem_vtx_x_length\"]!=0]\n",
|
|
|
|
"brem_vtx_x_found = ak.to_numpy(ak.flatten(brem_vtx_x_found))\n",
|
|
|
|
"\n",
|
|
|
|
"brem_vtx_z_found = tracked[\"brem_vtx_z\"]\n",
|
|
|
|
"brem_vtx_z_found = brem_vtx_z_found[tracked[\"brem_vtx_z_length\"]!=0]\n",
|
2023-09-18 16:44:11 +02:00
|
|
|
"#print(ak.to_numpy(brem_vtx_z_found))\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"brem_vtx_z_found = ak.to_numpy(ak.flatten(brem_vtx_z_found))\n",
|
|
|
|
"\n",
|
|
|
|
"brem_vtx_x_lost = lost[\"brem_vtx_x\"]\n",
|
|
|
|
"brem_vtx_x_lost = brem_vtx_x_lost[lost[\"brem_vtx_x_length\"]!=0]\n",
|
|
|
|
"brem_vtx_x_lost = ak.to_numpy(ak.flatten(brem_vtx_x_lost))\n",
|
|
|
|
"\n",
|
|
|
|
"brem_vtx_z_lost = lost[\"brem_vtx_z\"]\n",
|
|
|
|
"brem_vtx_z_lost = brem_vtx_z_lost[lost[\"brem_vtx_z_length\"]!=0]\n",
|
2023-09-18 13:55:34 +02:00
|
|
|
"brem_vtx_z_lost = ak.to_numpy(ak.flatten(brem_vtx_z_lost))\n",
|
|
|
|
"\n",
|
2023-09-18 16:44:11 +02:00
|
|
|
"#vtx_x_fit= ak.to_numpy(vtx_x_found)\n",
|
|
|
|
"#vtx_z_fit = ak.to_numpy(vtx_z_found)"
|
2023-09-18 12:12:50 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 16:44:11 +02:00
|
|
|
"execution_count": 24,
|
2023-09-18 12:12:50 +02:00
|
|
|
"metadata": {},
|
2023-09-18 13:55:34 +02:00
|
|
|
"outputs": [],
|
2023-09-18 16:44:11 +02:00
|
|
|
"source": [
|
|
|
|
"\n"
|
|
|
|
]
|
2023-09-18 12:12:50 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 16:44:11 +02:00
|
|
|
"execution_count": 53,
|
2023-09-18 12:12:50 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data": {
|
2023-09-18 16:44:11 +02:00
|
|
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAABkAAAAIlCAYAAACNejRdAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjcuMiwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8pXeV/AAAACXBIWXMAAA9hAAAPYQGoP6dpAAEAAElEQVR4nOzdfXwV1Z0/8M8lCSHQ5EpAEiNRaUWrPFiKFUF3wfIkFWlLt7HFUmip0kXRLFAsZS2hK6BxRbpQXZ9KWBFx+1ptpQ8sYBXXHz5gLK2gpdpShEqI1ZiAhjwxvz9yz70zZ57nztw7c/N5v1553dy5c2fOzH06Z875fk9MURQFREREREREREREREREOaRXtgtARERERERERERERETkN3aAEBERERERERERERFRzmEHCBERERERERERERER5Rx2gBARERERERERERERUc5hBwgREREREREREREREeUcdoAQEREREREREREREVHOYQcIERERERERERERERHlHHaAEBERERERERERERFRzmEHCBERERERERERERER5Rx2gBARERERERERERERUc5hBwgRZdzcuXNRV1eX7WIQERERERFFFttVRERE9tgBQkREREREREREREREOYcdIEQUOU888QSGDRuGoqIixGIx7Nu3L9tFMlRTU4NYLOZ4vb///e8ZKFX07dmzBzU1Nfjwww81y+vq6hCLxfDXv/41K+UiIiIiIoqKIOvOZvV1M2wPuWN1ftkmIiLSYwcIEWXE9OnTccYZZ+CMM87Ali1bsGDBguT9O++80/F23nvvPcyePRuf+tSnsH37drz44ou44IILAiw5hc2ePXuwcuVKXYX/mmuuwYsvvoizzjorOwUjIiIiIgqYX+2qIJnV18kfVueXbSIiIr38bBeAiHqGX/7yl8n/586diwkTJmDu3Lmut/OnP/0JHR0d+MY3voHx48f7WMJo+vjjj9G3b99sFyMj7I71zDPPxJlnnpnBEhERERERZZZf7apcwfaQFttERER6jAAhIs9eeOEFTJkyBfF4HP3798c111yDt956K7D9zZ07F1deeSUA4LrrrkMsFsOECROSZZk4cSKKi4vRt29fjBs3Dr/61a8Mt3HeeefplsvpqsT9AwcO4Otf/zri8TjKysrw7W9/G83Nzbrn/+pXv8JnPvMZFBYWYsiQIfj3f/9318d35MgRzJw5EyUlJYjH4/jGN76B9957T1em1157Df/0T/+E/v3741Of+lTy8bfeeguzZs3CoEGDUFhYiIsuugg/+clPDI/zD3/4A7761a8iHo+jtLQUixYtQmdnJw4ePIirr74axcXFOO+881BbW2tb7p///OeIxWJ45plndI/df//9yf15Kad8rDU1Nfje974HABgyZAhisRhisRiee+4503DvP/7xj/j617+OsrIyFBYW4pxzzsE3v/lNtLW1uSrTe++9hxtvvBGVlZUoLCzEmWeeiSuuuAK7du2yPUdERERERGYy3a6yKoddm8quTmxVX7eTifaQejt+tYnC0h4CjFNg+dUeAtgmIqJoYgQIEXlSU1ODf/u3f8PcuXNRXV2N1tZWrFy5EhMnTsQbb7yBT3ziE6bPraur87TP22+/HZdddhluuukmrF69GldddRVKSkqwe/duTJ48GSNHjsQjjzyCwsJC3Hfffbj22mvx+OOP47rrrvN4lMBXvvIVXHfddZg3bx5ef/11LFu2DAD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z7Bq1SpNR1i6ZTrnnHNw880345lnnsH/+3//z/1BEBEREVGPFqZ2lds2lWBWJ3ZaX5exPeRMGNpDANtERBQd7AAhIlc+9alP4aqrrsK//uu/4uTJkxgzZgw
|
2023-09-18 12:12:50 +02:00
|
|
|
"text/plain": [
|
|
|
|
"<Figure size 2000x600 with 4 Axes>"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "display_data"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"fig, ((ax0, ax1)) = plt.subplots(nrows=1, ncols=2, figsize=(20,6))\n",
|
|
|
|
"\n",
|
2023-09-18 16:44:11 +02:00
|
|
|
"a0 = ax0.hist2d(brem_vtx_z_found, brem_vtx_x_found, density=False, bins=300, cmap=plt.cm.jet, cmin=1)\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"ax0.set_xlabel(\"z\")\n",
|
|
|
|
"ax0.set_ylabel(\"x\")\n",
|
|
|
|
"ax0.set_title(r\"$e^\\pm$ found brem vertices\")\n",
|
|
|
|
"\n",
|
|
|
|
"plt.colorbar(a0[3],ax=ax0)\n",
|
|
|
|
"\n",
|
2023-09-18 16:44:11 +02:00
|
|
|
"a1 = ax1.hist2d(brem_vtx_z_lost, brem_vtx_x_lost, density=False, bins=300, cmap=plt.cm.jet, cmin=1)\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"ax1.set_xlabel(\"z\")\n",
|
|
|
|
"ax1.set_ylabel(\"x\")\n",
|
|
|
|
"ax1.set_title(r\"$e^\\pm$ lost brem vertices\")\n",
|
2023-09-18 16:44:11 +02:00
|
|
|
"#ax1.set(xlim=(0,4000), ylim=(-1000,1000))\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"\n",
|
|
|
|
"plt.colorbar(a1[3], ax=ax1)\n",
|
|
|
|
"\n",
|
|
|
|
"\"\"\"\n",
|
2023-09-18 16:44:11 +02:00
|
|
|
"z: VeLo - RICH1 - TT - Magnet - T1,T2,T3 - RICH2 - M1\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"B:\n",
|
2023-09-18 16:50:48 +02:00
|
|
|
"vertices of lost e photons are more densely concentrated around the beampipe, especially in the z range of the magnet\n",
|
|
|
|
"found: vertices are densely located @ or around the detectors, while there are no clusters in the z range of the magnet\n",
|
2023-09-18 12:12:50 +02:00
|
|
|
"\"\"\"\n",
|
|
|
|
"plt.show()"
|
|
|
|
]
|
2023-09-14 12:07:57 +02:00
|
|
|
},
|
2023-09-18 13:55:34 +02:00
|
|
|
{
|
|
|
|
"cell_type": "code",
|
2023-09-18 16:44:11 +02:00
|
|
|
"execution_count": 47,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": [
|
|
|
|
"#plot singular tracks by fitting brem vertices\n",
|
|
|
|
"vtx_z_found = tracked[\"brem_vtx_z\"]\n",
|
|
|
|
"vtx_z_found = vtx_z_found[tracked[\"brem_vtx_z_length\"]>3]\n",
|
|
|
|
"\n",
|
|
|
|
"vtx_x_found = tracked[\"brem_vtx_x\"]\n",
|
|
|
|
"vtx_x_found = vtx_x_found[tracked[\"brem_vtx_x_length\"]>3]\n",
|
|
|
|
"\n",
|
|
|
|
"vtx_z_lost = lost[\"brem_vtx_z\"]\n",
|
|
|
|
"vtx_z_lost = vtx_z_lost[lost[\"brem_vtx_z_length\"]>3]\n",
|
|
|
|
"\n",
|
|
|
|
"vtx_x_lost = lost[\"brem_vtx_x\"]\n",
|
|
|
|
"vtx_x_lost = vtx_x_lost[lost[\"brem_vtx_x_length\"]>3]\n",
|
|
|
|
"\n",
|
|
|
|
"def cubic_fit(x, a, b, c, d):\n",
|
|
|
|
" return (a + b*x + c*x**2 + d*x**3)\n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": 50,
|
2023-09-18 13:55:34 +02:00
|
|
|
"metadata": {},
|
|
|
|
"outputs": [
|
|
|
|
{
|
|
|
|
"data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Na+A2lr5b355pt11VVXtXQxAOxBBISANPP111/L5/Ppl7/8pY477riWLs4+FwgE5Pf75Xa7W7ooe8Wnn36qPn366Pzzz9+rx/H5fLIsSw5H+v83UV1drYyMjJTr27Vrp2HDhu3DEjXdp59+qksuuUQTJkxoMF91dbU8Hk+LP9HX1PK2Bp06dVKnTp1auhgAAAC7pLXc/+0t++q+sqqqSpmZmXv1GK1BpB3dkO7du6t79+77qERN15zvQFpDfba172z69OnT0kUAsIcxZByQRqZMmaJjjjlGknT22WfLsiwdf/zx0fWvvPKKhg8frszMTOXk5GjMmDFatWpVvX0ke7oqWfdwy7J0+eWX68knn9TBBx+szMxMDR48WK+99lq97V9//XUNGTJEbrdbBx54YJO77B9//PF6/fXXtXHjRlmWFf1Idd3/77zzTt1+++068MAD5Xa7tXz5ctXU1Ojaa6/VkCFDlJubq/z8fA0fPlwvv/xyvWMEg0HNmzdPQ4YMUUZGhtq3b69hw4bplVdeabBsDzzwgBwOh2bMmBFNe/DBBzV48GBlZ2crJydH/fv314033tjoee7cuVOXXnqpunXrJpfLpd69e+umm26S1+uNO9elS5fqiy++iF6Hpgxj9uKLL2rQoEHyeDzq3bu37rvvvrj1kSHRnnzySV177bXq1q2b3G63vvnmG0nS0qVLNWrUKLVr106ZmZk6+uij9eabb8btI/Lz8cknn+gXv/hF9Jpfc8018vv9+uqrrzR+/Hjl5OSoV69euvPOOxst92GHHaZjjz22XnogEFC3bt10xhlnRNNqa2t1++23q3///nK73erUqZMuvPBCbd++PW7byDB6CxYs0GGHHSaPx6NZs2bJsixVVlbq8ccfj17byO9OqiHj3nvvPZ188snq0KGDPB6P+vTpU68X23//+1+dd9556ty5s9xutw4++GD9+c9/jssTDAZ1++23q1+/ftGfv0GDBunee+9NeW0iw5f4/X49+OCDcb8XkXWLFy/WRRddpE6dOikzM1Ner1fBYFB33nln9Dp17txZF1xwgX744Ye4/R9//PEaMGCAVq1apREjRigjI0O9evXSY489Jin0+3z44YcrMzNTAwcO1KJFi1KWtbHyStKWLVs0bdo0de/eXS6XSwceeKBmzZoV1yj96U9/qpNOOiluvwMHDpRlWVqzZk00bcGCBbIsS//5z39Slqcp1zzZEDHGGM2ePVs9e/aUx+PRkUceqSVLluj444+P+1sb+Zl59tlnddNNN6lr165q166dRo8era+++iquLEuWLNGpp56q7t27y+Px6Cc/+YmmTZumHTt2NHhNpdBQKRMnToz+fHXt2lUnnXRSvfoEAAB71qOPPqrBgwfL4/EoPz9fp59+ur744ou4PP/73/90zjnnqGvXrnK73SooKNCoUaOiQ0P16tVLn332mVasWBG9N2qol0tD96sN3f998803uvDCC9W3b19lZmaqW7duOvnkk5PeK5WUlOjaa69V7969o/eKJ554or788suU5fL5fJo8ebKys7Oj7cCqqir95je/0YEHHhi9RkceeaSeffbZRq/tp59+qlNPPVV5eXnyeDwaMmSIHn/88ej6xu4rUwkGg/rDH/6gAw44IHofl6pN89FHH+nMM89UXl5e9MtwY4weeOCBaJsxLy9PZ555pv73v//F7WNP30dv375dLpdLN998c711X375pSzLimvfNeW+uqF29E9/+lNJ0oUXXhi9tjNnzoy7PomeeeYZDR8+XNnZ2crOztaQIUP0yCOPxOVpSpty+/btmjp1qnr06BFt0x199NFaunRpyuvT0HcgU6ZMUXZ2tv7zn/9o7NixysnJ0ahRoyQ13v6OiHzn8dhjj0XbDkceeaRWr14tY4zuuusuHXjggcrOztYJJ5wQbUPvSnkl6YMPPtApp5yi/Px8eTweHXbYYfr73/8eXV9WViaHw6G77rormrZjxw7ZbDbl5ubG1fOVV16pTp06yRiTsjxNuebJviMqKSnRxRdfrPz8fGVnZ+ukk07S//73v7ifF6nuZ+azzz7Tueeeq9zcXBUUFOiiiy5SaWlp3D7//Oc/62c/+5k6d+6srKwsDRw4UHfeead8Pl+D11SSXnjhBQ0dOlS5ubnKzMxU7969ddFFFzW6HbDfMgDSxjfffGP+/Oc/G0lm9uzZZtWqVeazzz4zxhjz9NNPG0lm7Nix5qWXXjLPP/+8OeKII4zL5TLvvPNOdB+TJ082PXv2rLfvGTNmmMQ/GZJMr169zFFHHWX+/ve/m4ULF5rjjz/eOBwO8+2330bzLV261NjtdnPMMceYBQsWmBdeeMH89Kc/NQcccEC9fSb67LPPzNFHH20KCwvNqlWroh9jjFm/fr2RZLp162ZGjhxp/vGPf5jFixeb9evXm5KSEjNlyhTz5JNPmmXLlplFixaZ3/zmN8Zms5nHH3887hiTJk0ylmWZX/3qV+bll182//rXv8wf/vAHc++990bz9OzZ05x00knGGGOCwaC59tprjdPpNI899lg0z7PPPmskmSuuuMIsXrzYLF261PzlL38xV155ZYPnWF1dbQYNGmSysrLMn/70J7N48WJz8803G4fDYU488URjjDE1NTVm1apV5rDDDjO9e/eOXofS0tKU++3Zs6fp1q2bOeCAA8yjjz5qFi5caM4//3wjydx1113RfMuXL49exzPPPNO88sor5rXXXjNFRUXmySefNJZlmdNOO80sWLDAvPrqq2bixInGbrebpUuXRvcR+fno16+fue2228ySJUvMddddZySZyy+/3PTv39/cd999ZsmSJebCCy80ksw///nPBq/LvffeaySZr7/+Oi594cKFRpJ55ZVXjDHGBAIBM378eJOVlWVmzZpllixZYv72t7+Zbt26mUMOOcRUVVXFXZMuXbqY3r17m0cffdQsX77cvP/++2bVqlUmIyPDnHjiidFrG/ndiVyf5cuXR/ezaNEi43Q6zaBBg8z8+fPNsmX
|
2023-09-18 13:55:34 +02:00
|
|
|
"text/plain": [
|
2023-09-18 16:44:11 +02:00
|
|
|
"<Figure size 2000x600 with 2 Axes>"
|
2023-09-18 13:55:34 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"metadata": {},
|
|
|
|
"output_type": "display_data"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": [
|
2023-09-18 16:44:11 +02:00
|
|
|
"fig, ((ax0, ax1)) = plt.subplots(nrows=1, ncols=2, figsize=(20,6))\n",
|
2023-09-18 13:55:34 +02:00
|
|
|
"\n",
|
2023-09-18 16:44:11 +02:00
|
|
|
"for i in range(3,6):\n",
|
|
|
|
" popt, pcov = curve_fit(cubic_fit,ak.to_numpy(vtx_z_found[i,:]),ak.to_numpy(vtx_x_found[i,:]))\n",
|
|
|
|
" z_coord = np.linspace(vtx_z_found[i,0],12000,1000)\n",
|
|
|
|
" fit = cubic_fit(z_coord, popt[0], popt[1], popt[2], popt[3])\n",
|
|
|
|
" ax0.plot(z_coord, fit, \"-\", label=\"fit\"+str(i))\n",
|
|
|
|
"\n",
|
|
|
|
"ax0.legend()\n",
|
|
|
|
"ax0.set_xlabel(\"z [mm]\")\n",
|
|
|
|
"ax0.set_ylabel(\"x [mm]\")\n",
|
|
|
|
"ax0.set_title(\"found tracks of brem vertices from few signals\")\n",
|
|
|
|
"ax0.set(xlim=(0,12000), ylim=(-4000,4000))\n",
|
|
|
|
"ax0.grid()\n",
|
|
|
|
"\n",
|
|
|
|
"for i in range(3,6):\n",
|
|
|
|
" popt, pcov = curve_fit(cubic_fit,ak.to_numpy(vtx_z_lost[i,:]),ak.to_numpy(vtx_x_lost[i,:]))\n",
|
|
|
|
" z_coord = np.linspace(vtx_z_lost[i,0],12000,1000)\n",
|
|
|
|
" fit = cubic_fit(z_coord, popt[0], popt[1], popt[2], popt[3])\n",
|
|
|
|
" ax1.plot(z_coord, fit, \"-\", label=\"fit\"+str(i))\n",
|
|
|
|
"\n",
|
|
|
|
"ax1.legend()\n",
|
|
|
|
"ax1.set_xlabel(\"z [mm]\")\n",
|
|
|
|
"ax1.set_ylabel(\"x [mm]\")\n",
|
|
|
|
"ax1.set_title(\"lost tracks of brem vertices from few signals\")\n",
|
|
|
|
"ax1.set(xlim=(0,12000), ylim=(-4000,4000))\n",
|
|
|
|
"ax1.grid()\n",
|
2023-09-18 13:55:34 +02:00
|
|
|
"\n",
|
|
|
|
"plt.show()"
|
|
|
|
]
|
|
|
|
},
|
2023-09-18 16:44:11 +02:00
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": null,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": null,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": []
|
|
|
|
},
|
2023-09-14 12:07:57 +02:00
|
|
|
{
|
|
|
|
"cell_type": "code",
|
|
|
|
"execution_count": null,
|
|
|
|
"metadata": {},
|
|
|
|
"outputs": [],
|
|
|
|
"source": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"metadata": {
|
|
|
|
"kernelspec": {
|
|
|
|
"display_name": "env1",
|
|
|
|
"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.11.5"
|
|
|
|
},
|
|
|
|
"orig_nbformat": 4
|
|
|
|
},
|
|
|
|
"nbformat": 4,
|
|
|
|
"nbformat_minor": 2
|
|
|
|
}
|