From 954efa196be753c84484bad7bc4c048bda1fee79 Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@kit.edu> Date: Mon, 12 Oct 2020 17:32:21 +0200 Subject: [PATCH] reordered source file --- Processes/InteractionCounter/InteractionHistogram.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Processes/InteractionCounter/InteractionHistogram.cc b/Processes/InteractionCounter/InteractionHistogram.cc index 8e6964317..8ae626ffe 100644 --- a/Processes/InteractionCounter/InteractionHistogram.cc +++ b/Processes/InteractionCounter/InteractionHistogram.cc @@ -13,6 +13,10 @@ using namespace corsika::process::interaction_counter; +InteractionHistogram::InteractionHistogram() + : inthist_cms_{detail::hist_factory(num_bins_cms, lower_edge_cms, upper_edge_cms)} + , inthist_lab_{detail::hist_factory(num_bins_lab, lower_edge_lab, upper_edge_lab)} {} + void InteractionHistogram::fill(particles::Code projectile_id, units::si::HEPEnergyType lab_energy, units::si::HEPEnergyType mass_target, int A, int Z) { @@ -59,7 +63,3 @@ InteractionHistogram InteractionHistogram::operator+(InteractionHistogram other) return other; } - -InteractionHistogram::InteractionHistogram() - : inthist_cms_{detail::hist_factory(num_bins_cms, lower_edge_cms, upper_edge_cms)} - , inthist_lab_{detail::hist_factory(num_bins_lab, lower_edge_lab, upper_edge_lab)} {} -- GitLab