andre talk
This commit is contained in:
parent
cb6c1ab347
commit
f8540caebc
@ -88,6 +88,10 @@
|
||||
],
|
||||
"source": [
|
||||
"#finden wir die elektronen die keine bremsstrahlung gemacht haben mit hoher effizienz?\n",
|
||||
"#von energie der photonen ab,machen\n",
|
||||
"#scan ab welcher energie der photonen die effizienz abfällt\n",
|
||||
"#abhängigkeit vom ort der emission untersuchen\n",
|
||||
"\n",
|
||||
"nobrem_found = found[found[\"brem_photons_pe_length\"]==0]\n",
|
||||
"nobrem_lost = lost[lost[\"brem_photons_pe_length\"]==0]\n",
|
||||
"\n",
|
||||
@ -169,6 +173,8 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"#in abhängigkeit von der energie der elektronen\n",
|
||||
"\n",
|
||||
"plt.hist(energyloss_lost, bins=200, density=True, alpha=0.5, histtype='bar', color=\"darkorange\", label=\"lost\")\n",
|
||||
"plt.hist(energyloss_found, bins=100, density=True, alpha=0.5, histtype='bar', color=\"blue\", label=\"found\")\n",
|
||||
"plt.xticks(np.arange(0,1.1,0.1), minor=True,)\n",
|
||||
@ -228,6 +234,7 @@
|
||||
"source": [
|
||||
"scifi_found = found[found[\"scifi_hit_pos_x_length\"]>3]\n",
|
||||
"scifi_lost = lost[lost[\"scifi_hit_pos_x_length\"]>3]\n",
|
||||
"#should be fulfilled by all candidates\n",
|
||||
"\n",
|
||||
"scifi_x_found = scifi_found[\"scifi_hit_pos_x\"]\n",
|
||||
"scifi_z_found = scifi_found[\"scifi_hit_pos_z\"]\n",
|
||||
@ -262,7 +269,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 10,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
@ -307,7 +314,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 12,
|
||||
"execution_count": 11,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
@ -337,6 +344,9 @@
|
||||
"ax1.set_ylabel(\"normed\")\n",
|
||||
"ax1.set_title(\"fitparameter b der scifi track\")\n",
|
||||
"ax1.legend()\n",
|
||||
"#evtl multiple scattering candidates (lost); findet man einen gewissen endvtx_type (mult scattering)\n",
|
||||
"#steiler velo winkel (eta)? vertex type? evtl bremsstrahlung?\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"ax2.hist(scifi_fitpars_found[:,2], bins=500, density=True, alpha=0.5, histtype='bar', color=\"blue\", label=r\"$c_x$ found\")\n",
|
||||
"ax2.hist(scifi_fitpars_lost[:,2], bins=500, density=True, alpha=0.5, histtype='bar', color=\"darkorange\", label=r\"$c_x$ lost\")\n",
|
||||
@ -365,7 +375,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 13,
|
||||
"execution_count": 12,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
@ -469,7 +479,7 @@
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 16,
|
||||
"execution_count": 13,
|
||||
"metadata": {},
|
||||
"outputs": [
|
||||
{
|
||||
|
@ -92,6 +92,9 @@
|
||||
],
|
||||
"source": [
|
||||
"#finden wir die elektronen die keine bremsstrahlung gemacht haben mit hoher effizienz?\n",
|
||||
"\n",
|
||||
"#statistics\n",
|
||||
"\n",
|
||||
"nobrem_found = found[found[\"brem_photons_pe_length\"]==0]\n",
|
||||
"nobrem_lost = lost[lost[\"brem_photons_pe_length\"]==0]\n",
|
||||
"\n",
|
||||
@ -192,6 +195,8 @@
|
||||
"-> lost electrons lose slightly more energy than found electrons. This is however nowhere near as extreme as for the B decay\n",
|
||||
"\"\"\"\n",
|
||||
"\n",
|
||||
"#check if pt near 1 have small eta; perhaps exclude pt with eta outside range; or 2d plot\n",
|
||||
"\n",
|
||||
"plt.show()"
|
||||
]
|
||||
},
|
||||
@ -608,7 +613,7 @@
|
||||
"\n",
|
||||
"\n",
|
||||
"\n",
|
||||
"print(\"percentage of e with shared tracks: \", np.round((ak.num(shared,axis=0)*2)/(ak.num(alltracks,axis=0))*100,4))"
|
||||
"print(\"percentage of e with shared tracks: \", np.round((ak.num(shared,axis=0)*2)/(ak.num(alltracks,axis=0))*100,4)) #error for percentage"
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -734,7 +739,9 @@
|
||||
"print(\"\\nvelo tx: \" ,cshared[idx,:,\"velo_track_tx\"])\n",
|
||||
"print(\"velo ty: \" ,cshared[idx,:,\"velo_track_ty\"])\n",
|
||||
"\n",
|
||||
"print(\"percentage of e with shared tracks: \", np.round((ak.num(cshared,axis=0)*2)/(ak.num(conv,axis=0))*100,4))\n"
|
||||
"print(\"percentage of e with shared tracks: \", np.round((ak.num(cshared,axis=0)*2)/(ak.num(conv,axis=0))*100,4))\n",
|
||||
"\n",
|
||||
"#constrain z pos of brem vtx; only interested in conversions in velo z<770\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user