Skip to content
Snippets Groups Projects
Commit e6b7fcf6 authored by Pierre Morfouace's avatar Pierre Morfouace
Browse files

Updating TICPhysics.cxx

parent f2ec1232
No related branches found
No related tags found
1 merge request!27Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline #358074 failed
...@@ -297,6 +297,12 @@ double TICPhysics::ApplyZSpline(){ ...@@ -297,6 +297,12 @@ double TICPhysics::ApplyZSpline(){
DEcorr = DEspline0 * DE / Eval_DEspline; DEcorr = DEspline0 * DE / Eval_DEspline;
} }
else if(index==m_number_of_splines-1){
Eval_DEspline = m_Zspline[index]->Eval(Eres);
DEspline0 = FF_DEcorr0[index];
DEcorr = DEspline0 * DE / Eval_DEspline;
}
return DEcorr; return DEcorr;
} }
......
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