|
@ -88,6 +88,10 @@ |
|
|
], |
|
|
], |
|
|
"source": [ |
|
|
"source": [ |
|
|
"#finden wir die elektronen die keine bremsstrahlung gemacht haben mit hoher effizienz?\n", |
|
|
"#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_found = found[found[\"brem_photons_pe_length\"]==0]\n", |
|
|
"nobrem_lost = lost[lost[\"brem_photons_pe_length\"]==0]\n", |
|
|
"nobrem_lost = lost[lost[\"brem_photons_pe_length\"]==0]\n", |
|
|
"\n", |
|
|
"\n", |
|
@ -169,6 +173,8 @@ |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
"source": [ |
|
|
"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_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.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", |
|
|
"plt.xticks(np.arange(0,1.1,0.1), minor=True,)\n", |
|
@ -228,6 +234,7 @@ |
|
|
"source": [ |
|
|
"source": [ |
|
|
"scifi_found = found[found[\"scifi_hit_pos_x_length\"]>3]\n", |
|
|
"scifi_found = found[found[\"scifi_hit_pos_x_length\"]>3]\n", |
|
|
"scifi_lost = lost[lost[\"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", |
|
|
"\n", |
|
|
"scifi_x_found = scifi_found[\"scifi_hit_pos_x\"]\n", |
|
|
"scifi_x_found = scifi_found[\"scifi_hit_pos_x\"]\n", |
|
|
"scifi_z_found = scifi_found[\"scifi_hit_pos_z\"]\n", |
|
|
"scifi_z_found = scifi_found[\"scifi_hit_pos_z\"]\n", |
|
@ -262,7 +269,7 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"cell_type": "code", |
|
|
"cell_type": "code", |
|
|
"execution_count": 11, |
|
|
|
|
|
|
|
|
"execution_count": 10, |
|
|
"metadata": {}, |
|
|
"metadata": {}, |
|
|
"outputs": [], |
|
|
"outputs": [], |
|
|
"source": [ |
|
|
"source": [ |
|
@ -307,7 +314,7 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"cell_type": "code", |
|
|
"cell_type": "code", |
|
|
"execution_count": 12, |
|
|
|
|
|
|
|
|
"execution_count": 11, |
|
|
"metadata": {}, |
|
|
"metadata": {}, |
|
|
"outputs": [ |
|
|
"outputs": [ |
|
|
{ |
|
|
{ |
|
@ -337,6 +344,9 @@ |
|
|
"ax1.set_ylabel(\"normed\")\n", |
|
|
"ax1.set_ylabel(\"normed\")\n", |
|
|
"ax1.set_title(\"fitparameter b der scifi track\")\n", |
|
|
"ax1.set_title(\"fitparameter b der scifi track\")\n", |
|
|
"ax1.legend()\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", |
|
|
"\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_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", |
|
|
"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", |
|
|
"cell_type": "code", |
|
|
"execution_count": 13, |
|
|
|
|
|
|
|
|
"execution_count": 12, |
|
|
"metadata": {}, |
|
|
"metadata": {}, |
|
|
"outputs": [ |
|
|
"outputs": [ |
|
|
{ |
|
|
{ |
|
@ -469,7 +479,7 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"cell_type": "code", |
|
|
"cell_type": "code", |
|
|
"execution_count": 16, |
|
|
|
|
|
|
|
|
"execution_count": 13, |
|
|
"metadata": {}, |
|
|
"metadata": {}, |
|
|
"outputs": [ |
|
|
"outputs": [ |
|
|
{ |
|
|
{ |
|
|