Skip to content
Snippets Groups Projects
Commit d8087554 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

clang-format

parent 29ee29ae
No related branches found
No related tags found
1 merge request!1442Simplify DepthprobeSimulation, rm old c'tor; merge footprint handling in AlphaScan and IBeamScan
......@@ -47,7 +47,8 @@ DepthprobeSimulation::DepthprobeSimulation(const IBeamScan& scan, const MultiLay
}
void DepthprobeSimulation::setBeamParametersTmp(double lambda, int nbins, double alpha_i_min,
double alpha_i_max, const IFootprintFactor* beam_shape)
double alpha_i_max,
const IFootprintFactor* beam_shape)
{
if (beam_shape)
m_beam->setFootprintFactor(*beam_shape);
......@@ -58,8 +59,8 @@ DepthprobeSimulation::~DepthprobeSimulation() = default;
void DepthprobeSimulation::setBeamParameters(double lambda, int nbins, double alpha_i_min,
double alpha_i_max, const IFootprintFactor* beam_shape)
{
m_alpha_axis.reset(FixedScanAxis("alpha_i", static_cast<size_t>(nbins),
alpha_i_min, alpha_i_max).clone());
m_alpha_axis.reset(
FixedScanAxis("alpha_i", static_cast<size_t>(nbins), alpha_i_min, alpha_i_max).clone());
if (lambda <= 0.0)
throw std::runtime_error(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment