Skip to content
Snippets Groups Projects

Prepare for ISimulation w/o Instrument

Merged Wuttke, Joachim requested to merge rz8 into develop
5 files
+ 9
46
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -13,6 +13,7 @@
// ************************************************************************************************
#include "Core/Simulation/ISimulation.h"
#include "Base/Element/PolarizerPair.h"
#include "Base/Utils/Assert.h"
#include "Base/Utils/StringUtils.h"
#include "Core/Background/IBackground.h"
@@ -255,8 +256,8 @@ void ISimulation::setSampleBuilder(const std::shared_ptr<class ISampleBuilder>&
PolarizerPair ISimulation::polarizerPair() const
{
return {m_instrument.beam()->getPolarization(),
m_instrument.detector()->detectionProperties().analyzerOperator()};
return {m_instrument.beam().getPolarization(),
m_instrument.detector().detectionProperties().analyzerOperator()};
}
void ISimulation::setBackground(const IBackground& bg)
Loading