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

clang-format

parent 9ded297c
No related branches found
No related tags found
1 merge request!2191Detector2D simpler arg name
Pipeline #122238 passed
......@@ -26,11 +26,10 @@ using std::numbers::pi;
Detector2D::Detector2D(double phi_span, double alpha_span, size_t n_phi, size_t n_alpha,
double phi_center, double alpha_center)
: IDetector(
new Frame(newEquiDivision("phi_f (rad)", n_phi, phi_center - phi_span / 2,
phi_center + phi_span / 2),
newEquiDivision("alpha_f (rad)", n_alpha, alpha_center - alpha_span / 2,
alpha_center + alpha_span / 2)))
: IDetector(new Frame(
newEquiDivision("phi_f (rad)", n_phi, phi_center - phi_span / 2, phi_center + phi_span / 2),
newEquiDivision("alpha_f (rad)", n_alpha, alpha_center - alpha_span / 2,
alpha_center + alpha_span / 2)))
{
ASSERT(-pi / 2 < axis(0).min() && axis(0).max() < +pi / 2);
ASSERT(-pi / 2 < axis(1).min() && axis(1).max() < +pi / 2);
......
......@@ -21,8 +21,8 @@ class Pixel;
class Detector2D : public IDetector {
public:
Detector2D(double phi_span, double alpha_span, size_t n_phi, size_t n_alpha,
double phi_center, double alpha_center);
Detector2D(double phi_span, double alpha_span, size_t n_phi, size_t n_alpha, double phi_center,
double alpha_center);
~Detector2D() override = default;
......
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