From 8656c3b53cd11609fa1613dd32833f43553eafaf Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Tue, 11 Jun 2019 14:26:42 +0200 Subject: [PATCH] indendation --- Framework/Cascade/Cascade.h | 10 +++++----- Processes/Sibyll/Decay.h | 2 +- Processes/Sibyll/testSibyll.cc | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Framework/Cascade/Cascade.h b/Framework/Cascade/Cascade.h index 547c2604a..99c28b6c9 100644 --- a/Framework/Cascade/Cascade.h +++ b/Framework/Cascade/Cascade.h @@ -263,10 +263,10 @@ namespace corsika::cascade { InverseTimeType inv_decay_count = 0 / second; fProcessSequence.SelectDecay(vParticle, projectile, sample_process, inv_decay_count); - // make sure particle actually did decay if it should have done so - if (secondaries.GetSize() == 1 && - projectile.GetPID() == secondaries.GetNextParticle().GetPID()) - throw std::runtime_error("Cascade::Step: Particle decays into itself!"); + // make sure particle actually did decay if it should have done so + if (secondaries.GetSize() == 1 && + projectile.GetPID() == secondaries.GetNextParticle().GetPID()) + throw std::runtime_error("Cascade::Step: Particle decays into itself!"); } fProcessSequence.DoSecondaries(secondaries); @@ -277,7 +277,7 @@ namespace corsika::cascade { // be "protected" and not accessible to physics } else { // step-length limitation within volume - + std::cout << "step-length limitation" << std::endl; fProcessSequence.DoSecondaries(secondaries); } diff --git a/Processes/Sibyll/Decay.h b/Processes/Sibyll/Decay.h index feb2309da..05bc0186e 100644 --- a/Processes/Sibyll/Decay.h +++ b/Processes/Sibyll/Decay.h @@ -57,7 +57,7 @@ namespace corsika::process { }; } // namespace sibyll - + } // namespace corsika::process #endif diff --git a/Processes/Sibyll/testSibyll.cc b/Processes/Sibyll/testSibyll.cc index 17706ebd8..b00995687 100644 --- a/Processes/Sibyll/testSibyll.cc +++ b/Processes/Sibyll/testSibyll.cc @@ -163,14 +163,13 @@ TEST_CASE("SibyllInterface", "[processes]") { auto projectile = view.GetProjectile(); Decay model; - + model.Init(); /*[[maybe_unused]] const process::EProcessReturn ret =*/model.DoDecay(projectile); // run checks [[maybe_unused]] const TimeType time = model.GetLifetime(particle); } - SECTION("DecayConfiguration") { Decay model; -- GitLab