Commit dc93fa76 authored by jonas.kusch's avatar jonas.kusch
Browse files

angle fixed in ICRU?

parent f682dfb8
Pipeline #117870 failed with stages
in 28 minutes and 23 seconds
......@@ -539,6 +539,8 @@ double ICRU::DODCSC( double RMU, double EL ) {
void ICRU::GetAngularScatteringXS( Matrix& angularXS, Vector& integratedXS ) {
angularXS.resize( _QMU.size(), _E.size() );
Vector mu( _XMU.size() );
for( unsigned n = 0; n < mu.size(); ++n ) mu[n] = 1.0 - 2.0 * _XMU[n];
integratedXS.resize( _E.size() );
for( unsigned i = 0; i < _E.size(); ++i ) {
std::vector<double> dxse, dxsi, dxs;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment