Skip to content
Snippets Groups Projects
Commit 1e842147 authored by Valérian Alcindor's avatar Valérian Alcindor
Browse files

Correcting error in EvalutateEnergyFromDeltaE where the effective target

thickness was computed twice
parent b5d6d9dd
No related branches found
No related tags found
No related merge requests found
......@@ -306,9 +306,6 @@ double EnergyLoss::EvaluateEnergyFromDeltaE( double DeltaE , // Ene
const
{
if (Angle > halfpi) Angle = pi-Angle;
TargetThickness = TargetThickness / ( cos(Angle) );
double step_size = 10.*MeV;
double Energy = EnergyMax;
double DE = 0 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment