Skip to content
Snippets Groups Projects
Commit 85dd1415 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov Committed by Wuttke, Joachim
Browse files

upd itemization

parent c2f0387d
No related branches found
No related tags found
No related merge requests found
......@@ -349,6 +349,8 @@ GISASInstrumentItem* createGISASInstrumentItem(const ScatteringSimulation& simul
setGISASBeamItem(result->beamItem(), simulation);
result->setPolarizerBlochVector(simulation.beam().polVector());
updateDetector(result, simulation.detector());
result->setWithPolarizer(true);
result->setWithAnalyzer(true);
result->setWithPolarizerAnalyzer(true);
return result;
}
......@@ -377,6 +379,8 @@ OffspecInstrumentItem* createOffspecInstrumentItem(const OffspecSimulation& simu
alphaAxisItem.setMax(Units::rad2deg(alpha_axis.max()));
setPolarizer2(result, detector.analyzer());
result->setWithPolarizer(true);
result->setWithAnalyzer(true);
result->setWithPolarizerAnalyzer(true);
return result;
}
......
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