41 #if defined __cplusplus
99 for( i = 0, mus = angularEnergy->
binned.
energies; i < list->n; i++, mus++ ) {
141 double Ep, Ep1, Ep2,
f, e_in = decaySamplingInfo->
e_in;
149 for( iE2 = 0; iE2 < angularEnergy->
binned.
numberOfEs; iE2++ )
if( energies[iE2].dValue >= e_in )
break;
162 f = ( energies[iE2].
dValue - e_in ) / ( energies[iE2].dValue - energies[iE1].dValue );
163 Ep = f * Ep1 + ( 1 -
f ) * Ep2;
165 decaySamplingInfo->
Ep = Ep;
170 #if defined __cplusplus