From f1cf8dd9ce3df8afe00384d4f65942158133f514 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Thu, 31 Jan 2019 14:44:46 +0100
Subject: [PATCH] clang

---
 Environment/Environment.h                     |   1 -
 Environment/FlatAtmosphere/FlatAtmosphere.h   |   2 -
 Environment/HomogeneousMedium.h               |   1 -
 Environment/IMediumModel.h                    |   1 -
 Environment/NuclearComposition.h              |   1 -
 Environment/VolumeTreeNode.h                  |   1 -
 Environment/testEnvironment.cc                |   1 -
 Framework/Cascade/Cascade.h                   |   1 -
 Framework/Cascade/Step.cc                     |   1 -
 Framework/Cascade/testCascade.cc              |   1 -
 Framework/Geometry/BaseTrajectory.h           |   1 -
 Framework/Geometry/BaseVector.h               |   1 -
 Framework/Geometry/CoordinateSystem.cc        |   1 -
 Framework/Geometry/CoordinateSystem.h         |   1 -
 Framework/Geometry/FourVector.h               |   1 -
 Framework/Geometry/Helix.h                    |   1 -
 Framework/Geometry/Line.h                     |   1 -
 Framework/Geometry/Point.h                    |   1 -
 Framework/Geometry/QuantityVector.h           |   1 -
 Framework/Geometry/RootCoordinateSystem.h     |   1 -
 Framework/Geometry/Sphere.h                   |   1 -
 Framework/Geometry/Trajectory.h               |   1 -
 Framework/Geometry/Vector.h                   |   1 -
 Framework/Geometry/Volume.h                   |   1 -
 Framework/Geometry/testFourVector.cc          |   1 -
 Framework/Geometry/testGeometry.cc            |   1 -
 Framework/Particles/ParticleProperties.cc     |   1 -
 Framework/ProcessSequence/BaseProcess.h       |   1 -
 Framework/ProcessSequence/ContinuousProcess.h |   1 -
 Framework/ProcessSequence/DecayProcess.h      |   1 -
 Framework/ProcessSequence/DiscreteProcess.h   |   1 -
 .../ProcessSequence/InteractionProcess.h      |   1 -
 Framework/ProcessSequence/ProcessReturn.h     |   1 -
 Framework/ProcessSequence/ProcessSequence.h   |   1 -
 Framework/ProcessSequence/ProcessSignature.h  |   1 -
 .../ProcessSequence/testProcessSequence.cc    |   1 -
 Framework/Random/ExponentialDistribution.h    |   1 -
 Framework/Random/RNGManager.cc                |   1 -
 Framework/Random/RNGManager.h                 |   1 -
 Framework/Random/UniformRealDistribution.h    |   1 -
 Framework/Random/testRandom.cc                |   1 -
 Framework/StackInterface/ParticleBase.h       |  19 +-
 Framework/StackInterface/Stack.h              |  30 +-
 .../StackInterface/StackIteratorInterface.h   |   8 +-
 Framework/Units/testUnits.cc                  |   1 -
 Framework/Utilities/Bit.h                     |   1 -
 Framework/Utilities/COMBoost.cc               |   1 -
 Framework/Utilities/COMBoost.h                |   1 -
 Framework/Utilities/CorsikaFenv.h             |   1 -
 Framework/Utilities/CorsikaFenvDefault.cc     |   1 -
 Framework/Utilities/CorsikaFenvFallback.cc    |   1 -
 Framework/Utilities/CorsikaFenvOSX.cc         |   1 -
 Framework/Utilities/Singleton.h               |   1 -
 Framework/Utilities/testCOMBoost.cc           |   1 -
 Framework/Utilities/testCorsikaFenv.cc        |   1 -
 Framework/Utilities/try_feenableexcept.cc     |   1 -
 Main/Environment.h                            |   2 -
 Main/Stack.h                                  |   2 -
 Main/shower.cc                                |   1 -
 .../HadronicElasticModel.cc                   |   1 -
 .../HadronicElasticModel.h                    |   1 -
 Processes/NullModel/NullModel.cc              |   1 -
 Processes/NullModel/NullModel.h               |   1 -
 Processes/NullModel/testNullModel.cc          |   1 -
 Processes/Sibyll/SibStack.h                   |   7 +-
 Processes/StackInspector/StackInspector.cc    |   1 -
 Processes/StackInspector/StackInspector.h     |   1 -
 .../StackInspector/testStackInspector.cc      |   1 -
 Processes/TrackWriter/TrackWriter.cc          |   1 -
 Processes/TrackWriter/TrackWriter.h           |   1 -
 Processes/TrackingLine/TrackingLine.h         |   1 -
 Processes/TrackingLine/testTrackingLine.cc    |   1 -
 Setup/SetupEnvironment.h                      |   1 -
 Setup/SetupLogger.h                           |   1 -
 Setup/SetupStack.h                            |   1 -
 Setup/SetupTrajectory.h                       |   1 -
 Stack/DummyStack/DummyStack.h                 |   1 -
 .../NuclearStackExtension.h                   | 303 +++++++++---------
 .../testNuclearStackExtension.cc              | 114 +++----
 Stack/SuperStupidStack/SuperStupidStack.h     |  26 +-
 .../SuperStupidStack/testSuperStupidStack.cc  |   1 -
 test.cc                                       |   2 -
 82 files changed, 266 insertions(+), 320 deletions(-)

diff --git a/Environment/Environment.h b/Environment/Environment.h
index 9968f033d..97931aeff 100644
--- a/Environment/Environment.h
+++ b/Environment/Environment.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_Environment_h
 #define _include_Environment_h
 
diff --git a/Environment/FlatAtmosphere/FlatAtmosphere.h b/Environment/FlatAtmosphere/FlatAtmosphere.h
index 4227e0de4..6839def48 100644
--- a/Environment/FlatAtmosphere/FlatAtmosphere.h
+++ b/Environment/FlatAtmosphere/FlatAtmosphere.h
@@ -8,5 +8,3 @@
  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
  * the license.
  */
-
-
diff --git a/Environment/HomogeneousMedium.h b/Environment/HomogeneousMedium.h
index ffa2189bd..e42631400 100644
--- a/Environment/HomogeneousMedium.h
+++ b/Environment/HomogeneousMedium.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_HomogeneousMedium_h_
 #define _include_HomogeneousMedium_h_
 
diff --git a/Environment/IMediumModel.h b/Environment/IMediumModel.h
index da5ebef76..84832eef0 100644
--- a/Environment/IMediumModel.h
+++ b/Environment/IMediumModel.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_IMediumModel_h
 #define _include_IMediumModel_h
 
diff --git a/Environment/NuclearComposition.h b/Environment/NuclearComposition.h
index 841087898..40bf93ed4 100644
--- a/Environment/NuclearComposition.h
+++ b/Environment/NuclearComposition.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_NuclearComposition_h
 #define _include_NuclearComposition_h
 
diff --git a/Environment/VolumeTreeNode.h b/Environment/VolumeTreeNode.h
index dca8445e2..3331c41bf 100644
--- a/Environment/VolumeTreeNode.h
+++ b/Environment/VolumeTreeNode.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_VolumeTreeNode_H
 #define _include_VolumeTreeNode_H
 
diff --git a/Environment/testEnvironment.cc b/Environment/testEnvironment.cc
index 222fd6e9e..585681867 100644
--- a/Environment/testEnvironment.cc
+++ b/Environment/testEnvironment.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 
diff --git a/Framework/Cascade/Cascade.h b/Framework/Cascade/Cascade.h
index b37adcc8b..3adaac2bc 100644
--- a/Framework/Cascade/Cascade.h
+++ b/Framework/Cascade/Cascade.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_cascade_Cascade_h_
 #define _include_corsika_cascade_Cascade_h_
 
diff --git a/Framework/Cascade/Step.cc b/Framework/Cascade/Step.cc
index 4f58b982d..ba29d2341 100644
--- a/Framework/Cascade/Step.cc
+++ b/Framework/Cascade/Step.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 namespace cascade;
 
 void Cascade::Step(auto& sequence, Particle& particle) {
diff --git a/Framework/Cascade/testCascade.cc b/Framework/Cascade/testCascade.cc
index 09c38441c..7abf985ad 100644
--- a/Framework/Cascade/testCascade.cc
+++ b/Framework/Cascade/testCascade.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <limits>
 
 #include <corsika/environment/Environment.h>
diff --git a/Framework/Geometry/BaseTrajectory.h b/Framework/Geometry/BaseTrajectory.h
index 6e62d87c2..d8cf7ff56 100644
--- a/Framework/Geometry/BaseTrajectory.h
+++ b/Framework/Geometry/BaseTrajectory.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/BaseVector.h b/Framework/Geometry/BaseVector.h
index 4f4c723e0..106fb6324 100644
--- a/Framework/Geometry/BaseVector.h
+++ b/Framework/Geometry/BaseVector.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/CoordinateSystem.cc b/Framework/Geometry/CoordinateSystem.cc
index f42b13a66..6f818462b 100644
--- a/Framework/Geometry/CoordinateSystem.cc
+++ b/Framework/Geometry/CoordinateSystem.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/CoordinateSystem.h b/Framework/Geometry/CoordinateSystem.h
index e29359b81..aaf226f38 100644
--- a/Framework/Geometry/CoordinateSystem.h
+++ b/Framework/Geometry/CoordinateSystem.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_COORDINATESYSTEM_H_
 #define _include_COORDINATESYSTEM_H_
 
diff --git a/Framework/Geometry/FourVector.h b/Framework/Geometry/FourVector.h
index d9e792d9c..1cd15c6af 100644
--- a/Framework/Geometry/FourVector.h
+++ b/Framework/Geometry/FourVector.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/Helix.h b/Framework/Geometry/Helix.h
index 5875f6738..4d9badf8c 100644
--- a/Framework/Geometry/Helix.h
+++ b/Framework/Geometry/Helix.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/Line.h b/Framework/Geometry/Line.h
index f6730d5eb..8672aa178 100644
--- a/Framework/Geometry/Line.h
+++ b/Framework/Geometry/Line.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/Point.h b/Framework/Geometry/Point.h
index 5d3ea9932..f05bd31d1 100644
--- a/Framework/Geometry/Point.h
+++ b/Framework/Geometry/Point.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_POINT_H_
 #define _include_POINT_H_
 
diff --git a/Framework/Geometry/QuantityVector.h b/Framework/Geometry/QuantityVector.h
index 03f98af05..dafef96b6 100644
--- a/Framework/Geometry/QuantityVector.h
+++ b/Framework/Geometry/QuantityVector.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_QUANTITYVECTOR_H_
 #define _include_QUANTITYVECTOR_H_
 
diff --git a/Framework/Geometry/RootCoordinateSystem.h b/Framework/Geometry/RootCoordinateSystem.h
index 34091bcf4..b5f496aa4 100644
--- a/Framework/Geometry/RootCoordinateSystem.h
+++ b/Framework/Geometry/RootCoordinateSystem.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/Sphere.h b/Framework/Geometry/Sphere.h
index 436008dc1..01d74543e 100644
--- a/Framework/Geometry/Sphere.h
+++ b/Framework/Geometry/Sphere.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/Trajectory.h b/Framework/Geometry/Trajectory.h
index 168121f03..69bcfd6f8 100644
--- a/Framework/Geometry/Trajectory.h
+++ b/Framework/Geometry/Trajectory.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/Vector.h b/Framework/Geometry/Vector.h
index 73cb52248..5ac1f118b 100644
--- a/Framework/Geometry/Vector.h
+++ b/Framework/Geometry/Vector.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_VECTOR_H_
 #define _include_VECTOR_H_
 
diff --git a/Framework/Geometry/Volume.h b/Framework/Geometry/Volume.h
index c4fd7e814..95306edca 100644
--- a/Framework/Geometry/Volume.h
+++ b/Framework/Geometry/Volume.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/testFourVector.cc b/Framework/Geometry/testFourVector.cc
index fe7378885..824426aad 100644
--- a/Framework/Geometry/testFourVector.cc
+++ b/Framework/Geometry/testFourVector.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/Geometry/testGeometry.cc b/Framework/Geometry/testGeometry.cc
index dc63d6f79..0a6dbbdec 100644
--- a/Framework/Geometry/testGeometry.cc
+++ b/Framework/Geometry/testGeometry.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 #include <catch2/catch.hpp>
diff --git a/Framework/Particles/ParticleProperties.cc b/Framework/Particles/ParticleProperties.cc
index f26513a48..4932492dd 100644
--- a/Framework/Particles/ParticleProperties.cc
+++ b/Framework/Particles/ParticleProperties.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /*
  * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
  *
diff --git a/Framework/ProcessSequence/BaseProcess.h b/Framework/ProcessSequence/BaseProcess.h
index 4389d74e9..8b4014478 100644
--- a/Framework/ProcessSequence/BaseProcess.h
+++ b/Framework/ProcessSequence/BaseProcess.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_baseprocess_h_
 #define _include_corsika_baseprocess_h_
 
diff --git a/Framework/ProcessSequence/ContinuousProcess.h b/Framework/ProcessSequence/ContinuousProcess.h
index c48534e04..9a3424a35 100644
--- a/Framework/ProcessSequence/ContinuousProcess.h
+++ b/Framework/ProcessSequence/ContinuousProcess.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_continuousprocess_h_
 #define _include_corsika_continuousprocess_h_
 
diff --git a/Framework/ProcessSequence/DecayProcess.h b/Framework/ProcessSequence/DecayProcess.h
index 0a5258973..82be572d6 100644
--- a/Framework/ProcessSequence/DecayProcess.h
+++ b/Framework/ProcessSequence/DecayProcess.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_decayprocess_h_
 #define _include_corsika_decayprocess_h_
 
diff --git a/Framework/ProcessSequence/DiscreteProcess.h b/Framework/ProcessSequence/DiscreteProcess.h
index 8584739cc..40b544530 100644
--- a/Framework/ProcessSequence/DiscreteProcess.h
+++ b/Framework/ProcessSequence/DiscreteProcess.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_discreteprocess_h_
 #define _include_corsika_discreteprocess_h_
 
diff --git a/Framework/ProcessSequence/InteractionProcess.h b/Framework/ProcessSequence/InteractionProcess.h
index 71acb595e..964727553 100644
--- a/Framework/ProcessSequence/InteractionProcess.h
+++ b/Framework/ProcessSequence/InteractionProcess.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_interactionprocess_h_
 #define _include_corsika_interactionprocess_h_
 
diff --git a/Framework/ProcessSequence/ProcessReturn.h b/Framework/ProcessSequence/ProcessReturn.h
index 10a92ae14..94a69406a 100644
--- a/Framework/ProcessSequence/ProcessReturn.h
+++ b/Framework/ProcessSequence/ProcessReturn.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_ProcessReturn_h_
 #define _include_ProcessReturn_h_
 
diff --git a/Framework/ProcessSequence/ProcessSequence.h b/Framework/ProcessSequence/ProcessSequence.h
index e52632c03..4d4d3fbfd 100644
--- a/Framework/ProcessSequence/ProcessSequence.h
+++ b/Framework/ProcessSequence/ProcessSequence.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_ProcessSequence_h_
 #define _include_ProcessSequence_h_
 
diff --git a/Framework/ProcessSequence/ProcessSignature.h b/Framework/ProcessSequence/ProcessSignature.h
index 7c4fa22b6..38503b87b 100644
--- a/Framework/ProcessSequence/ProcessSignature.h
+++ b/Framework/ProcessSequence/ProcessSignature.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_process_processsignature_h_
 #define _include_process_processsignature_h_
 
diff --git a/Framework/ProcessSequence/testProcessSequence.cc b/Framework/ProcessSequence/testProcessSequence.cc
index 4396ee0cf..8fd46418a 100644
--- a/Framework/ProcessSequence/testProcessSequence.cc
+++ b/Framework/ProcessSequence/testProcessSequence.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 #include <catch2/catch.hpp>
diff --git a/Framework/Random/ExponentialDistribution.h b/Framework/Random/ExponentialDistribution.h
index f68c9cef6..dc17b2099 100644
--- a/Framework/Random/ExponentialDistribution.h
+++ b/Framework/Random/ExponentialDistribution.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_ExponentialDistribution_h
 #define _include_ExponentialDistribution_h
 
diff --git a/Framework/Random/RNGManager.cc b/Framework/Random/RNGManager.cc
index 1b6f5120c..c02f7a432 100644
--- a/Framework/Random/RNGManager.cc
+++ b/Framework/Random/RNGManager.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/random/RNGManager.h>
 
 void corsika::random::RNGManager::RegisterRandomStream(std::string const& pStreamName) {
diff --git a/Framework/Random/RNGManager.h b/Framework/Random/RNGManager.h
index 32179e2f2..9637b4b82 100644
--- a/Framework/Random/RNGManager.h
+++ b/Framework/Random/RNGManager.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_RNGManager_h_
 #define _include_RNGManager_h_
 
diff --git a/Framework/Random/UniformRealDistribution.h b/Framework/Random/UniformRealDistribution.h
index 4a13127b0..1328377dc 100644
--- a/Framework/Random/UniformRealDistribution.h
+++ b/Framework/Random/UniformRealDistribution.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_UniformRealDistribution_h
 #define _include_UniformRealDistribution_h
 
diff --git a/Framework/Random/testRandom.cc b/Framework/Random/testRandom.cc
index eeb610822..c362d393f 100644
--- a/Framework/Random/testRandom.cc
+++ b/Framework/Random/testRandom.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 #include <catch2/catch.hpp>
diff --git a/Framework/StackInterface/ParticleBase.h b/Framework/StackInterface/ParticleBase.h
index e148f1389..59b133a96 100644
--- a/Framework/StackInterface/ParticleBase.h
+++ b/Framework/StackInterface/ParticleBase.h
@@ -23,21 +23,24 @@ namespace corsika::stack {
    particle stack. Every stack must implement this readout via the
    ParticleBase class.
 
-   The StackIterator template argument is derived from StackIteratorInterface, which is of type
-   <code>
-   template <typename StackData, template <typename> typename ParticleInterface>
-   class StackIteratorInterface : public ParticleInterface<StackIteratorInterface<StackData, ParticleInterface>>
+   The StackIterator template argument is derived from StackIteratorInterface, which is of
+   type <code> template <typename StackData, template <typename> typename
+   ParticleInterface> class StackIteratorInterface : public
+   ParticleInterface<StackIteratorInterface<StackData, ParticleInterface>>
    </code>
 
-   where StackData must refer to a Stack type, and ParticleInterface<StackIteratorInterface> is the corresponding particle readout class. 
+   where StackData must refer to a Stack type, and
+   ParticleInterface<StackIteratorInterface> is the corresponding particle readout class.
 
-   Thus, StackIteratorInterface is a CRTP class, injecting the full StackIteratorInterface machinery into the ParticleInterface (aka ParticleBase) type! 
+   Thus, StackIteratorInterface is a CRTP class, injecting the full StackIteratorInterface
+   machinery into the ParticleInterface (aka ParticleBase) type!
 
-   The declartion of a StackIteratorInterface type simultaneously declares the corresponding ParticleInterface type. 
+   The declartion of a StackIteratorInterface type simultaneously declares the
+   corresponding ParticleInterface type.
 
    Furthermore, the operator* of the StackIteratorInterface returns a
    static_cast to the ParticleInterface type, allowing a direct
-   readout of the particle data from the iterator. 
+   readout of the particle data from the iterator.
 
   */
 
diff --git a/Framework/StackInterface/Stack.h b/Framework/StackInterface/Stack.h
index 7f42bbc56..ff92fa238 100644
--- a/Framework/StackInterface/Stack.h
+++ b/Framework/StackInterface/Stack.h
@@ -33,19 +33,19 @@ namespace corsika::stack {
   template <typename>
   class ParticleInterface; // forward decl
 
-  /**     
-     The Stack class provides (and connects) the main particle data storage machinery. 
+  /**
+     The Stack class provides (and connects) the main particle data storage machinery.
 
      The StackData type is the user-provided bare data storage
      object. This can be of any complexity, from a simple struct
      (fortran common block), to a combination of different and
-     distributed data sources. 
+     distributed data sources.
 
      The user-provided ParticleInterface template type is the base
      class type of the StackIteratorInterface class (CRTP) and must
      provide all functions to read single particle data from the
-     StackData, given an 'unsigned int' index. 
-     
+     StackData, given an 'unsigned int' index.
+
      The Stack implements the
      std-type begin/end function to allow integration in normal for
      loops, ranges, etc.
@@ -56,9 +56,11 @@ namespace corsika::stack {
 
   public:
     typedef StackData StackImpl; ///< this is the type of the user-provided data structure
-    template<typename SI> using PIType = ParticleInterface<SI>;
-    //typedef ParticleInterface<StackIteratorInterface> StackParticleInterface;  ///< this is the type of the user-provided ParticleInterface
-    //typedef Stack<StackData, ParticleInterface> StackType;
+    template <typename SI>
+    using PIType = ParticleInterface<SI>;
+    // typedef ParticleInterface<StackIteratorInterface> StackParticleInterface;  ///<
+    // this is the type of the user-provided ParticleInterface typedef Stack<StackData,
+    // ParticleInterface> StackType;
 
     /**
      * Via the StackIteratorInterface and ConstStackIteratorInterface
@@ -67,15 +69,13 @@ namespace corsika::stack {
      * object. Using CRTP, this also determines the type of
      * ParticleInterface template class simultaneously.
      */
-    typedef StackIteratorInterface<StackData, ParticleInterface>
-      StackIterator;
-    typedef ConstStackIteratorInterface<StackData,
-      ParticleInterface> ConstStackIterator;
+    typedef StackIteratorInterface<StackData, ParticleInterface> StackIterator;
+    typedef ConstStackIteratorInterface<StackData, ParticleInterface> ConstStackIterator;
     /**
      * this is the full type of the declared ParticleInterface: typedef typename
      */
     typedef typename StackIterator::ParticleInterfaceType ParticleType;
-    
+
     friend class StackIteratorInterface<StackData, ParticleInterface>;
     friend class ConstStackIteratorInterface<StackData, ParticleInterface>;
 
@@ -120,7 +120,9 @@ namespace corsika::stack {
       return StackIterator(*this, GetSize() - 1, parent, v...);
     }
     void Swap(StackIterator a, StackIterator b) { Swap(a.GetIndex(), b.GetIndex()); }
-    void Swap(ConstStackIterator a, ConstStackIterator b) { Swap(a.GetIndex(), b.GetIndex()); }
+    void Swap(ConstStackIterator a, ConstStackIterator b) {
+      Swap(a.GetIndex(), b.GetIndex());
+    }
     void Copy(StackIterator a, StackIterator b) { Copy(a.GetIndex(), b.GetIndex()); }
     void Copy(ConstStackIterator a, StackIterator b) { Copy(a.GetIndex(), b.GetIndex()); }
     /// delete this particle
diff --git a/Framework/StackInterface/StackIteratorInterface.h b/Framework/StackInterface/StackIteratorInterface.h
index effdd876a..74f1a7802 100644
--- a/Framework/StackInterface/StackIteratorInterface.h
+++ b/Framework/StackInterface/StackIteratorInterface.h
@@ -57,7 +57,7 @@ namespace corsika::stack {
         typename std::conditional<std::is_const<StackData>::value,
                                   const Stack<const StackData, ParticleInterface>&,
                                   Stack<StackData, ParticleInterface>&>::type StackType;*/
-    
+
     typedef ParticleInterface<StackIteratorInterface<StackData, ParticleInterface>>
         ParticleInterfaceType;
 
@@ -127,7 +127,7 @@ namespace corsika::stack {
       return tmp;
     }
     StackIteratorInterface operator+(int delta) {
-      return StackIteratorInterface(*fData, fIndex+delta);
+      return StackIteratorInterface(*fData, fIndex + delta);
     }
     bool operator==(const StackIteratorInterface& rhs) { return fIndex == rhs.fIndex; }
     bool operator!=(const StackIteratorInterface& rhs) { return fIndex != rhs.fIndex; }
@@ -158,8 +158,6 @@ namespace corsika::stack {
     ///@}
   }; // end class StackIterator
 
-
-  
   /**
      @class ConstStackIteratorInterface
 
@@ -219,7 +217,7 @@ namespace corsika::stack {
       return tmp;
     }
     ConstStackIteratorInterface operator+(int delta) {
-      return ConstStackIteratorInterface(*fData, fIndex+delta);
+      return ConstStackIteratorInterface(*fData, fIndex + delta);
     }
     bool operator==(const ConstStackIteratorInterface& rhs) {
       return fIndex == rhs.fIndex;
diff --git a/Framework/Units/testUnits.cc b/Framework/Units/testUnits.cc
index d4d471165..e8f389a05 100644
--- a/Framework/Units/testUnits.cc
+++ b/Framework/Units/testUnits.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 #include <catch2/catch.hpp>
diff --git a/Framework/Utilities/Bit.h b/Framework/Utilities/Bit.h
index 9a5237cb5..7306e76d8 100644
--- a/Framework/Utilities/Bit.h
+++ b/Framework/Utilities/Bit.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _corsika_utl_Bit_h_
 #define _corsika_utl_Bit_h_
 
diff --git a/Framework/Utilities/COMBoost.cc b/Framework/Utilities/COMBoost.cc
index 8ab6bc809..5d8b00857 100644
--- a/Framework/Utilities/COMBoost.cc
+++ b/Framework/Utilities/COMBoost.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/geometry/CoordinateSystem.h>
 #include <corsika/geometry/Vector.h>
 #include <corsika/units/PhysicalUnits.h>
diff --git a/Framework/Utilities/COMBoost.h b/Framework/Utilities/COMBoost.h
index 62a2efe0b..eebc8358a 100644
--- a/Framework/Utilities/COMBoost.h
+++ b/Framework/Utilities/COMBoost.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_utilties_comboost_h_
 #define _include_corsika_utilties_comboost_h_
 
diff --git a/Framework/Utilities/CorsikaFenv.h b/Framework/Utilities/CorsikaFenv.h
index 3990ce1b6..e7df59534 100644
--- a/Framework/Utilities/CorsikaFenv.h
+++ b/Framework/Utilities/CorsikaFenv.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef CORSIKA_CORSIKAFENV_H
 #define CORSIKA_CORSIKAFENV_H
 
diff --git a/Framework/Utilities/CorsikaFenvDefault.cc b/Framework/Utilities/CorsikaFenvDefault.cc
index a5429e178..f1bb7732b 100644
--- a/Framework/Utilities/CorsikaFenvDefault.cc
+++ b/Framework/Utilities/CorsikaFenvDefault.cc
@@ -9,5 +9,4 @@
  * the license.
  */
 
-
 // do nothing, functions exist in system libraries
diff --git a/Framework/Utilities/CorsikaFenvFallback.cc b/Framework/Utilities/CorsikaFenvFallback.cc
index ccc57f130..ed71c5b6c 100644
--- a/Framework/Utilities/CorsikaFenvFallback.cc
+++ b/Framework/Utilities/CorsikaFenvFallback.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/utl/CorsikaFenv.h>
 #include <cfenv>
 
diff --git a/Framework/Utilities/CorsikaFenvOSX.cc b/Framework/Utilities/CorsikaFenvOSX.cc
index b50fa73c1..4495ebd1e 100644
--- a/Framework/Utilities/CorsikaFenvOSX.cc
+++ b/Framework/Utilities/CorsikaFenvOSX.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 /**
  * Import public domain code
  *
diff --git a/Framework/Utilities/Singleton.h b/Framework/Utilities/Singleton.h
index 675fe3366..3780cc99a 100644
--- a/Framework/Utilities/Singleton.h
+++ b/Framework/Utilities/Singleton.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _corsika_utl_Singleton_h_
 #define _corsika_utl_Singleton_h_
 
diff --git a/Framework/Utilities/testCOMBoost.cc b/Framework/Utilities/testCOMBoost.cc
index beb7d9cf5..501db8643 100644
--- a/Framework/Utilities/testCOMBoost.cc
+++ b/Framework/Utilities/testCOMBoost.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 #include <catch2/catch.hpp>
diff --git a/Framework/Utilities/testCorsikaFenv.cc b/Framework/Utilities/testCorsikaFenv.cc
index a11a71e0b..eb4885b9a 100644
--- a/Framework/Utilities/testCorsikaFenv.cc
+++ b/Framework/Utilities/testCorsikaFenv.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/utl/CorsikaFenv.h>
 
 #include <cmath>
diff --git a/Framework/Utilities/try_feenableexcept.cc b/Framework/Utilities/try_feenableexcept.cc
index a7d84e4c7..9ca52262c 100644
--- a/Framework/Utilities/try_feenableexcept.cc
+++ b/Framework/Utilities/try_feenableexcept.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <cfenv>
 
 int main() {
diff --git a/Main/Environment.h b/Main/Environment.h
index 4227e0de4..6839def48 100644
--- a/Main/Environment.h
+++ b/Main/Environment.h
@@ -8,5 +8,3 @@
  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
  * the license.
  */
-
-
diff --git a/Main/Stack.h b/Main/Stack.h
index 4227e0de4..6839def48 100644
--- a/Main/Stack.h
+++ b/Main/Stack.h
@@ -8,5 +8,3 @@
  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
  * the license.
  */
-
-
diff --git a/Main/shower.cc b/Main/shower.cc
index 04375d5ce..5ca8d4ab2 100644
--- a/Main/shower.cc
+++ b/Main/shower.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <utl/Stack.h>
 
 int main(int argc, char** argv) { return 0; }
diff --git a/Processes/HadronicElasticModel/HadronicElasticModel.cc b/Processes/HadronicElasticModel/HadronicElasticModel.cc
index 7bb12eeaa..943195b68 100644
--- a/Processes/HadronicElasticModel/HadronicElasticModel.cc
+++ b/Processes/HadronicElasticModel/HadronicElasticModel.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/process/hadronic_elastic_model/HadronicElasticModel.h>
 
 namespace corsika::process::HadronicElasticModel {
diff --git a/Processes/HadronicElasticModel/HadronicElasticModel.h b/Processes/HadronicElasticModel/HadronicElasticModel.h
index cf87d825f..8ddc55fa0 100644
--- a/Processes/HadronicElasticModel/HadronicElasticModel.h
+++ b/Processes/HadronicElasticModel/HadronicElasticModel.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_HadronicElasticInteraction_h
 #define _include_HadronicElasticInteraction_h
 
diff --git a/Processes/NullModel/NullModel.cc b/Processes/NullModel/NullModel.cc
index 9f7208f26..09956e7c7 100644
--- a/Processes/NullModel/NullModel.cc
+++ b/Processes/NullModel/NullModel.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/process/null_model/NullModel.h>
 
 void corsika::process::null_model::NullModel::Init() {}
diff --git a/Processes/NullModel/NullModel.h b/Processes/NullModel/NullModel.h
index fe03c8d00..6222e290f 100644
--- a/Processes/NullModel/NullModel.h
+++ b/Processes/NullModel/NullModel.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _Physics_NullModel_NullModel_h_
 #define _Physics_NullModel_NullModel_h_
 
diff --git a/Processes/NullModel/testNullModel.cc b/Processes/NullModel/testNullModel.cc
index 07a7254db..6bf7d99da 100644
--- a/Processes/NullModel/testNullModel.cc
+++ b/Processes/NullModel/testNullModel.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 #include <catch2/catch.hpp>
diff --git a/Processes/Sibyll/SibStack.h b/Processes/Sibyll/SibStack.h
index dd563d90f..95f7011e9 100644
--- a/Processes/Sibyll/SibStack.h
+++ b/Processes/Sibyll/SibStack.h
@@ -71,14 +71,13 @@ namespace corsika::process::sibyll {
 
     void Copy(const unsigned int i1, const unsigned int i2) {
       s_plist_.llist[i2] = s_plist_.llist[i1];
-      for (unsigned int i=0; i<5; ++i)
-	s_plist_.p[i][i2] = s_plist_.p[i][i1];
+      for (unsigned int i = 0; i < 5; ++i) s_plist_.p[i][i2] = s_plist_.p[i][i1];
     }
 
     void Swap(const unsigned int i1, const unsigned int i2) {
       std::swap(s_plist_.llist[i1], s_plist_.llist[i2]);
-      for (unsigned int i=0; i<5; ++i)
-	std::swap(s_plist_.p[i][i1], s_plist_.p[i][i2]);
+      for (unsigned int i = 0; i < 5; ++i)
+        std::swap(s_plist_.p[i][i1], s_plist_.p[i][i2]);
     }
 
   protected:
diff --git a/Processes/StackInspector/StackInspector.cc b/Processes/StackInspector/StackInspector.cc
index 95452878e..312fe40ec 100644
--- a/Processes/StackInspector/StackInspector.cc
+++ b/Processes/StackInspector/StackInspector.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/geometry/RootCoordinateSystem.h>
 #include <corsika/particles/ParticleProperties.h>
 #include <corsika/process/stack_inspector/StackInspector.h>
diff --git a/Processes/StackInspector/StackInspector.h b/Processes/StackInspector/StackInspector.h
index 4a776f1cc..8bb2ca45c 100644
--- a/Processes/StackInspector/StackInspector.h
+++ b/Processes/StackInspector/StackInspector.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _Physics_StackInspector_StackInspector_h_
 #define _Physics_StackInspector_StackInspector_h_
 
diff --git a/Processes/StackInspector/testStackInspector.cc b/Processes/StackInspector/testStackInspector.cc
index 8697dc21a..784be88f9 100644
--- a/Processes/StackInspector/testStackInspector.cc
+++ b/Processes/StackInspector/testStackInspector.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
 #include <catch2/catch.hpp>
diff --git a/Processes/TrackWriter/TrackWriter.cc b/Processes/TrackWriter/TrackWriter.cc
index bd453c4ae..65dec50ca 100644
--- a/Processes/TrackWriter/TrackWriter.cc
+++ b/Processes/TrackWriter/TrackWriter.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/process/track_writer/TrackWriter.h>
 #include <string>
 
diff --git a/Processes/TrackWriter/TrackWriter.h b/Processes/TrackWriter/TrackWriter.h
index bf60afb9f..c61d2a6c8 100644
--- a/Processes/TrackWriter/TrackWriter.h
+++ b/Processes/TrackWriter/TrackWriter.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _Processes_TrackWriter_h_
 #define _Processes_TrackWriter_h_
 
diff --git a/Processes/TrackingLine/TrackingLine.h b/Processes/TrackingLine/TrackingLine.h
index 9628d2271..b82981476 100644
--- a/Processes/TrackingLine/TrackingLine.h
+++ b/Processes/TrackingLine/TrackingLine.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_processes_TrackingLine_h_
 #define _include_corsika_processes_TrackingLine_h_
 
diff --git a/Processes/TrackingLine/testTrackingLine.cc b/Processes/TrackingLine/testTrackingLine.cc
index 612191870..7dde7aec2 100644
--- a/Processes/TrackingLine/testTrackingLine.cc
+++ b/Processes/TrackingLine/testTrackingLine.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/environment/Environment.h>
 #include <corsika/particles/ParticleProperties.h>
 
diff --git a/Setup/SetupEnvironment.h b/Setup/SetupEnvironment.h
index 8f747130b..08780b73b 100644
--- a/Setup/SetupEnvironment.h
+++ b/Setup/SetupEnvironment.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_setup_environment_h_
 #define _include_corsika_setup_environment_h_
 
diff --git a/Setup/SetupLogger.h b/Setup/SetupLogger.h
index fe3965aa3..76148050f 100644
--- a/Setup/SetupLogger.h
+++ b/Setup/SetupLogger.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_corsika_setup_logger_h_
 #define _include_corsika_setup_logger_h_
 
diff --git a/Setup/SetupStack.h b/Setup/SetupStack.h
index c06f30d07..0ab05fffb 100644
--- a/Setup/SetupStack.h
+++ b/Setup/SetupStack.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _corsika_setup_setupstack_h_
 #define _corsika_setup_setupstack_h_
 
diff --git a/Setup/SetupTrajectory.h b/Setup/SetupTrajectory.h
index 6762343fa..0e93b3e44 100644
--- a/Setup/SetupTrajectory.h
+++ b/Setup/SetupTrajectory.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _corsika_setup_setuptrajectory_h_
 #define _corsika_setup_setuptrajectory_h_
 
diff --git a/Stack/DummyStack/DummyStack.h b/Stack/DummyStack/DummyStack.h
index b3e000e43..adcf494a5 100644
--- a/Stack/DummyStack/DummyStack.h
+++ b/Stack/DummyStack/DummyStack.h
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #ifndef _include_dummystack_h_
 #define _include_dummystack_h_
 
diff --git a/Stack/NuclearStackExtension/NuclearStackExtension.h b/Stack/NuclearStackExtension/NuclearStackExtension.h
index 581104e71..94f94590d 100644
--- a/Stack/NuclearStackExtension/NuclearStackExtension.h
+++ b/Stack/NuclearStackExtension/NuclearStackExtension.h
@@ -31,15 +31,19 @@ namespace corsika::stack {
     typedef corsika::geometry::Vector<corsika::units::si::hepmomentum_d> MomentumVector;
 
     /**
-     * Define ParticleInterface for NuclearStackExtension Stack derived from ParticleInterface of Inner stack class
-     */    
-    template<template <typename> typename InnerParticleInterface, typename StackIteratorInterface>
-      class NuclearParticleInterface : public InnerParticleInterface<StackIteratorInterface> {
+     * Define ParticleInterface for NuclearStackExtension Stack derived from
+     * ParticleInterface of Inner stack class
+     */
+    template <template <typename> typename InnerParticleInterface,
+              typename StackIteratorInterface>
+    class NuclearParticleInterface
+        : public InnerParticleInterface<StackIteratorInterface> {
 
     public:
-      //template<typename >
-      using ExtendedParticleInterface = NuclearParticleInterface<InnerParticleInterface, StackIteratorInterface>;
-      
+      // template<typename >
+      using ExtendedParticleInterface =
+          NuclearParticleInterface<InnerParticleInterface, StackIteratorInterface>;
+
     protected:
       using InnerParticleInterface<StackIteratorInterface>::GetStackData;
       using InnerParticleInterface<StackIteratorInterface>::GetIndex;
@@ -49,57 +53,48 @@ namespace corsika::stack {
                            const corsika::units::si::HEPEnergyType vDataE,
                            const MomentumVector& vMomentum,
                            const corsika::geometry::Point& vPosition,
-                           const corsika::units::si::TimeType vTime,
-			   const int vA = 0,
-			   const int vZ = 0) {
-	if (vDataPID == corsika::particles::Code::Nucleus) {
-	  if (vA==0 || vZ==0) {
-	    std::ostringstream err;
-	    err << "NuclearStackExtension: no A and Z specified for new Nucleus!";
-	    throw std::runtime_error(err.str());
-	  }
-	  //SetNuclearRef(corsika::stack::ParticleBase<StackIteratorInterface>::GetStackData().GetNucleusNextRef()); // store this nucleus data ref
-	  SetNuclearRef(GetStackData().GetNucleusNextRef()); // store this nucleus data ref
-	  SetNuclearA(vA);
-	  SetNuclearZ(vZ);
-	} else {
-	  SetNuclearRef(-1); // this is not a nucleus
-	}
-        //corsika::stack::super_stupid::NuclearParticleInterface<StackIteratorInterface>::
-	InnerParticleInterface<StackIteratorInterface>::
-	//InnerParticleInterface::
-	  SetParticleData(vDataPID,
-			  vDataE,
-			  vMomentum,
-			  vPosition,
-			  vTime);
+                           const corsika::units::si::TimeType vTime, const int vA = 0,
+                           const int vZ = 0) {
+        if (vDataPID == corsika::particles::Code::Nucleus) {
+          if (vA == 0 || vZ == 0) {
+            std::ostringstream err;
+            err << "NuclearStackExtension: no A and Z specified for new Nucleus!";
+            throw std::runtime_error(err.str());
+          }
+          // SetNuclearRef(corsika::stack::ParticleBase<StackIteratorInterface>::GetStackData().GetNucleusNextRef());
+          // // store this nucleus data ref
+          SetNuclearRef(
+              GetStackData().GetNucleusNextRef()); // store this nucleus data ref
+          SetNuclearA(vA);
+          SetNuclearZ(vZ);
+        } else {
+          SetNuclearRef(-1); // this is not a nucleus
+        }
+        // corsika::stack::super_stupid::NuclearParticleInterface<StackIteratorInterface>::
+        InnerParticleInterface<StackIteratorInterface>::
+            // InnerParticleInterface::
+            SetParticleData(vDataPID, vDataE, vMomentum, vPosition, vTime);
       }
 
-      //      void SetParticleData(NuclearParticleInterface<StackIteratorInterface>& parent,
+      //      void SetParticleData(NuclearParticleInterface<StackIteratorInterface>&
+      //      parent,
       void SetParticleData(InnerParticleInterface<StackIteratorInterface>& parent,
-			   //void SetParticleData(InnerParticleInterface& parent,
+                           // void SetParticleData(InnerParticleInterface& parent,
                            const corsika::particles::Code vDataPID,
                            const corsika::units::si::HEPEnergyType vDataE,
                            const MomentumVector& vMomentum,
                            const corsika::geometry::Point& vPosition,
-                           const corsika::units::si::TimeType vTime,
-			   const int vA = 0,
-			   const int vZ = 0) {
-	SetParticleData(vDataPID,
-                        vDataE,
-                        vMomentum,
-                        vPosition,
-			vTime,
-			vA,
-			vZ);
+                           const corsika::units::si::TimeType vTime, const int vA = 0,
+                           const int vZ = 0) {
+        SetParticleData(vDataPID, vDataE, vMomentum, vPosition, vTime, vA, vZ);
       }
-      
+
       /**
        * @name individual setters
        * @{
        */
       void SetNuclearA(const int vA) { GetStackData().SetNuclearA(GetIndex(), vA); }
-      void SetNuclearZ(const int vZ) { GetStackData().SetNuclearZ(GetIndex(), vZ); }      
+      void SetNuclearZ(const int vZ) { GetStackData().SetNuclearZ(GetIndex(), vZ); }
       /// @}
 
       /**
@@ -114,12 +109,11 @@ namespace corsika::stack {
       void SetNuclearRef(const int vR) { GetStackData().SetNuclearRef(GetIndex(), vR); }
     };
 
-    
     /**
      * Memory implementation of the most simple (stupid) particle stack object.
      */
-    template<typename InnerStackImpl>
-      class NuclearStackExtensionImpl : public InnerStackImpl {
+    template <typename InnerStackImpl>
+    class NuclearStackExtensionImpl : public InnerStackImpl {
 
     public:
       void Init() { InnerStackImpl::Init(); }
@@ -134,91 +128,97 @@ namespace corsika::stack {
       unsigned int GetSize() const { return fNuclearRef.size(); }
       unsigned int GetCapacity() const { return fNuclearRef.size(); }
 
-      void SetNuclearA(const unsigned int i, const int vA) { fNuclearA[GetNucleusRef(i)] = vA; }
-      void SetNuclearZ(const unsigned int i, const int vZ) { fNuclearZ[GetNucleusRef(i)] = vZ; }
+      void SetNuclearA(const unsigned int i, const int vA) {
+        fNuclearA[GetNucleusRef(i)] = vA;
+      }
+      void SetNuclearZ(const unsigned int i, const int vZ) {
+        fNuclearZ[GetNucleusRef(i)] = vZ;
+      }
       void SetNuclearRef(const unsigned int i, const int v) { fNuclearRef[i] = v; }
-      
+
       int GetNuclearA(const unsigned int i) const { return fNuclearA[GetNucleusRef(i)]; }
       int GetNuclearZ(const unsigned int i) const { return fNuclearZ[GetNucleusRef(i)]; }
-      // this function will create new storage for Nuclear Properties, and return the reference to it
-      int GetNucleusNextRef() { fNuclearA.push_back(0); fNuclearZ.push_back(0); return fNuclearA.size()-1; }
+      // this function will create new storage for Nuclear Properties, and return the
+      // reference to it
+      int GetNucleusNextRef() {
+        fNuclearA.push_back(0);
+        fNuclearZ.push_back(0);
+        return fNuclearA.size() - 1;
+      }
 
       int GetNucleusRef(const unsigned int i) const {
-	if (fNuclearRef[i]>=0)
-	  return fNuclearRef[i];
-	std::ostringstream err;
-	err << "NuclearStackExtension: no nucleus at ref=" << i;
-	throw std::runtime_error(err.str());
+        if (fNuclearRef[i] >= 0) return fNuclearRef[i];
+        std::ostringstream err;
+        err << "NuclearStackExtension: no nucleus at ref=" << i;
+        throw std::runtime_error(err.str());
       }
-      
+
       /**
        *   Function to copy particle at location i1 in stack to i2
        */
       void Copy(const unsigned int i1, const unsigned int i2) {
-	if (i1>=GetSize() || i2>=GetSize()) {
-	  std::ostringstream err;
-	  err << "NuclearStackExtension: trying to access data beyond size of stack!";
-	  throw std::runtime_error(err.str());
-	}
+        if (i1 >= GetSize() || i2 >= GetSize()) {
+          std::ostringstream err;
+          err << "NuclearStackExtension: trying to access data beyond size of stack!";
+          throw std::runtime_error(err.str());
+        }
         InnerStackImpl::Copy(i1, i2);
-	const int ref1 = fNuclearRef[i1];
-	const int ref2 = fNuclearRef[i2];
-	if (ref2<0) {
-	  if (ref1>=0) {
-	    // i1 is nucleus, i2 is not
-	    fNuclearRef[i2] = GetNucleusNextRef();
-	    fNuclearA[fNuclearRef[i2]] = fNuclearA[ref1];
-	    fNuclearZ[fNuclearRef[i2]] = fNuclearZ[ref1];
-	  } else {
-	    // neither i1 nor i2 are nuclei
-	  }
-	} else {
-	  if (ref1>=0) {
-	    // both are nuclei, i2 is overwritten with nucleus i1
-	    fNuclearA[ref2] = fNuclearA[ref1];
-	    fNuclearZ[ref2] = fNuclearZ[ref1];
-	  } else {
-	    // i2 is overwritten with non-nucleus i1
-	    fNuclearA.erase(fNuclearA.cbegin() + ref2);
-	    fNuclearZ.erase(fNuclearZ.cbegin() + ref2);
-	    const int n = fNuclearRef.size();
-	    for (int i=0; i<n; ++i) {
-	      if (fNuclearRef[i]>=ref2) {
-		fNuclearRef[i] -= 1;
-	      }
-	    }
-	  }
-	}
+        const int ref1 = fNuclearRef[i1];
+        const int ref2 = fNuclearRef[i2];
+        if (ref2 < 0) {
+          if (ref1 >= 0) {
+            // i1 is nucleus, i2 is not
+            fNuclearRef[i2] = GetNucleusNextRef();
+            fNuclearA[fNuclearRef[i2]] = fNuclearA[ref1];
+            fNuclearZ[fNuclearRef[i2]] = fNuclearZ[ref1];
+          } else {
+            // neither i1 nor i2 are nuclei
+          }
+        } else {
+          if (ref1 >= 0) {
+            // both are nuclei, i2 is overwritten with nucleus i1
+            fNuclearA[ref2] = fNuclearA[ref1];
+            fNuclearZ[ref2] = fNuclearZ[ref1];
+          } else {
+            // i2 is overwritten with non-nucleus i1
+            fNuclearA.erase(fNuclearA.cbegin() + ref2);
+            fNuclearZ.erase(fNuclearZ.cbegin() + ref2);
+            const int n = fNuclearRef.size();
+            for (int i = 0; i < n; ++i) {
+              if (fNuclearRef[i] >= ref2) { fNuclearRef[i] -= 1; }
+            }
+          }
+        }
       }
 
       /**
        *   Function to copy particle at location i2 in stack to i1
        */
       void Swap(const unsigned int i1, const unsigned int i2) {
-	if (i1>=GetSize() || i2>=GetSize()) {
-	  std::ostringstream err;
-	  err << "NuclearStackExtension: trying to access data beyond size of stack!";
-	  throw std::runtime_error(err.str());
-	}
+        if (i1 >= GetSize() || i2 >= GetSize()) {
+          std::ostringstream err;
+          err << "NuclearStackExtension: trying to access data beyond size of stack!";
+          throw std::runtime_error(err.str());
+        }
         InnerStackImpl::Swap(i1, i2);
-	const int ref1 = fNuclearRef[i1];
-	const int ref2 = fNuclearRef[i2];
-	if (ref2<0) {
-	  if (ref1>=0) {
-	    // i1 is nucleus, i2 is not
-	    std::swap(fNuclearRef[i2], fNuclearRef[i1]);
-	  } else {
-	    // neither i1 nor i2 are nuclei
-	  }
-	} else {
-	  if (ref1>=0) {
-	    // both are nuclei, i2 is overwritten with nucleus i1
-	    std::swap(fNuclearRef[i2], fNuclearRef[i1]);
-	  } else {
-	    // i2 is overwritten with non-nucleus i1
-	    std::swap(fNuclearRef[i2], fNuclearRef[i1]);
-	  }
-	}
+        const int ref1 = fNuclearRef[i1];
+        const int ref2 = fNuclearRef[i2];
+        if (ref2 < 0) {
+          if (ref1 >= 0) {
+            // i1 is nucleus, i2 is not
+            std::swap(fNuclearRef[i2], fNuclearRef[i1]);
+          } else {
+            // neither i1 nor i2 are nuclei
+          }
+        } else {
+          if (ref1 >= 0) {
+            // both are nuclei, i2 is overwritten with nucleus i1
+            std::swap(fNuclearRef[i2], fNuclearRef[i1]);
+          } else {
+            // i2 is overwritten with non-nucleus i1
+            std::swap(fNuclearRef[i2], fNuclearRef[i1]);
+          }
+        }
       }
 
     protected:
@@ -230,19 +230,17 @@ namespace corsika::stack {
       void DecrementSize() {
         InnerStackImpl::DecrementSize();
         if (fNuclearRef.size() > 0) {
-	  const int ref = fNuclearRef.back();
-	  fNuclearRef.pop_back();
-	  if (ref>=0) {
-	    fNuclearA.erase(fNuclearA.begin() + ref);
-	    fNuclearZ.erase(fNuclearZ.begin() + ref);
-	    const int n = fNuclearRef.size();
-	    for (int i=0; i<n; ++i) {
-	      if (fNuclearRef[i] >= ref) {
-		fNuclearRef[i] -= 1;
-	      }
-	    }	    
-	  }
-	}
+          const int ref = fNuclearRef.back();
+          fNuclearRef.pop_back();
+          if (ref >= 0) {
+            fNuclearA.erase(fNuclearA.begin() + ref);
+            fNuclearZ.erase(fNuclearZ.begin() + ref);
+            const int n = fNuclearRef.size();
+            for (int i = 0; i < n; ++i) {
+              if (fNuclearRef[i] >= ref) { fNuclearRef[i] -= 1; }
+            }
+          }
+        }
       }
 
     private:
@@ -255,37 +253,48 @@ namespace corsika::stack {
     }; // end class NuclearStackExtensionImpl
 
     //    template<typename StackIteratorInterface>
-    // using NuclearParticleInterfaceType<StackIteratorInterface> = NuclearParticleInterface< ,StackIteratorInterface>
+    // using NuclearParticleInterfaceType<StackIteratorInterface> =
+    // NuclearParticleInterface< ,StackIteratorInterface>
 
-    
     // works, but requires stupd _PI class
-    //template<typename SS> using TEST = NuclearParticleInterface<corsika::stack::super_stupid::SuperStupidStack::PIType, SS>;
-    template <typename InnerStack, template<typename>typename _PI>
-    using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, _PI>;
-    
+    // template<typename SS> using TEST =
+    // NuclearParticleInterface<corsika::stack::super_stupid::SuperStupidStack::PIType,
+    // SS>;
+    template <typename InnerStack, template <typename> typename _PI>
+    using NuclearStackExtension =
+        Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, _PI>;
+
     // ----
-    
-    
+
     // I'm dont't manage to do this properly.......
     /*
-    template<typename TT, typename SS> using TESTi = typename NuclearParticleInterface<TT::template PIType, SS>::ExtendedParticleInterface;
-    template<typename TT, typename SS> using TEST1 = TESTi<TT, SS>;      
-    template<typename SS> using TEST2 = TEST1<typename corsika::stack::super_stupid::SuperStupidStack, SS>;
-
-    using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, TEST2>;
+    template<typename TT, typename SS> using TESTi = typename
+    NuclearParticleInterface<TT::template PIType, SS>::ExtendedParticleInterface;
+    template<typename TT, typename SS> using TEST1 = TESTi<TT, SS>;
+    template<typename SS> using TEST2 = TEST1<typename
+    corsika::stack::super_stupid::SuperStupidStack, SS>;
+
+    using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename
+    InnerStack::StackImpl>, TEST2>;
     */
     /*
       // .... this should be fixed ....
 
     template <typename InnerStack, typename SS=StackIteratorInterface>
-      //using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, NuclearParticleInterface<typename InnerStack::template PIType, StackIteratorInterface>::ExtendedParticleInterface>;
-      using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, TEST1<typename corsika::stack::super_stupid::SuperStupidStack, SS> >;
-    
+      //using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename
+    InnerStack::StackImpl>, NuclearParticleInterface<typename InnerStack::template PIType,
+    StackIteratorInterface>::ExtendedParticleInterface>; using NuclearStackExtension =
+    Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, TEST1<typename
+    corsika::stack::super_stupid::SuperStupidStack, SS> >;
+
     //template <typename InnerStack>
-      //  using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, TEST<typename corsika::stack::super_stupid::SuperStupidStack::PIType>>;
-    //using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename InnerStack::StackImpl>, TEST>;
+      //  using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename
+    InnerStack::StackImpl>, TEST<typename
+    corsika::stack::super_stupid::SuperStupidStack::PIType>>;
+    //using NuclearStackExtension = Stack<NuclearStackExtensionImpl<typename
+    InnerStack::StackImpl>, TEST>;
     */
-    
+
   } // namespace nuclear_extension
 } // namespace corsika::stack
 
diff --git a/Stack/NuclearStackExtension/testNuclearStackExtension.cc b/Stack/NuclearStackExtension/testNuclearStackExtension.cc
index ef0c22dbd..059837949 100644
--- a/Stack/NuclearStackExtension/testNuclearStackExtension.cc
+++ b/Stack/NuclearStackExtension/testNuclearStackExtension.cc
@@ -9,9 +9,9 @@
  * the license.
  */
 
+#include <corsika/geometry/RootCoordinateSystem.h>
 #include <corsika/stack/nuclear_extension/NuclearStackExtension.h>
 #include <corsika/stack/super_stupid/SuperStupidStack.h>
-#include <corsika/geometry/RootCoordinateSystem.h>
 #include <corsika/units/PhysicalUnits.h>
 
 #include <boost/type_index.hpp>
@@ -29,10 +29,13 @@ using namespace corsika::stack::nuclear_extension;
 
 // this is an auxiliary help typedef, which I don't know how to put
 // into NuclearStackExtension.h where it belongs...
-template<typename StackIter> using ExtendedParticleInterfaceType =
-  corsika::stack::nuclear_extension::NuclearParticleInterface<corsika::stack::super_stupid::SuperStupidStack::PIType, StackIter>;
+template <typename StackIter>
+using ExtendedParticleInterfaceType =
+    corsika::stack::nuclear_extension::NuclearParticleInterface<
+        corsika::stack::super_stupid::SuperStupidStack::PIType, StackIter>;
 
-using ExtStack = NuclearStackExtension<corsika::stack::super_stupid::SuperStupidStack, ExtendedParticleInterfaceType>;
+using ExtStack = NuclearStackExtension<corsika::stack::super_stupid::SuperStupidStack,
+                                       ExtendedParticleInterfaceType>;
 
 #include <iostream>
 using namespace std;
@@ -44,17 +47,20 @@ TEST_CASE("NuclearStackExtension", "[stack]") {
 
   // cout << "ParticleType=" << type_id_with_cvr<ParticleType>().pretty_name() << endl;
 
-  
   SECTION("write non nucleus") {
-    NuclearStackExtension<corsika::stack::super_stupid::SuperStupidStack, ExtendedParticleInterfaceType> s;
+    NuclearStackExtension<corsika::stack::super_stupid::SuperStupidStack,
+                          ExtendedParticleInterfaceType>
+        s;
     s.AddParticle(particles::Code::Electron, 1.5_GeV,
                   MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
                   Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s);
     REQUIRE(s.GetSize() == 1);
   }
-  
+
   SECTION("write nucleus") {
-    NuclearStackExtension<corsika::stack::super_stupid::SuperStupidStack, ExtendedParticleInterfaceType> s;
+    NuclearStackExtension<corsika::stack::super_stupid::SuperStupidStack,
+                          ExtendedParticleInterfaceType>
+        s;
     s.AddParticle(particles::Code::Nucleus, 1.5_GeV,
                   MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
                   Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s, 10, 10);
@@ -63,9 +69,9 @@ TEST_CASE("NuclearStackExtension", "[stack]") {
 
   SECTION("write invalid nucleus") {
     ExtStack s;
-    REQUIRE_THROWS(s.AddParticle(particles::Code::Nucleus, 1.5_GeV,
-				 MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
-				 Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s, 0, 0));
+    REQUIRE_THROWS(s.AddParticle(
+        particles::Code::Nucleus, 1.5_GeV, MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
+        Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s, 0, 0));
   }
 
   SECTION("read non nucleus") {
@@ -78,7 +84,7 @@ TEST_CASE("NuclearStackExtension", "[stack]") {
     REQUIRE(pout.GetEnergy() == 1.5_GeV);
     REQUIRE(pout.GetTime() == 100_s);
   }
-  
+
   SECTION("read nucleus") {
     ExtStack s;
     s.AddParticle(particles::Code::Nucleus, 1.5_GeV,
@@ -101,119 +107,115 @@ TEST_CASE("NuclearStackExtension", "[stack]") {
     REQUIRE_THROWS(pout.GetNuclearA());
     REQUIRE_THROWS(pout.GetNuclearZ());
   }
-  
 
   SECTION("stack fill and cleanup") {
 
     ExtStack s;
     // add 99 particles, each 10th particle is a nucleus with A=i and Z=A/2!
     for (int i = 0; i < 99; ++i) {
-      if ((i+1)%10 == 0) {
-	s.AddParticle(particles::Code::Nucleus, 1.5_GeV,
-		      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
-		      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s, i, i/2);
+      if ((i + 1) % 10 == 0) {
+        s.AddParticle(particles::Code::Nucleus, 1.5_GeV,
+                      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
+                      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s, i, i / 2);
       } else {
-	s.AddParticle(particles::Code::Electron, 1.5_GeV,
-		      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
-		      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s);
+        s.AddParticle(particles::Code::Electron, 1.5_GeV,
+                      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
+                      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s);
       }
     }
 
-    REQUIRE(s.GetSize() == 99);   
+    REQUIRE(s.GetSize() == 99);
     for (int i = 0; i < 99; ++i) s.GetNextParticle().Delete();
     REQUIRE(s.GetSize() == 0);
   }
 
-
   SECTION("stack operations") {
 
     ExtStack s;
     // add 99 particles, each 10th particle is a nucleus with A=i and Z=A/2!
     for (int i = 0; i < 99; ++i) {
-      if ((i+1)%10 == 0) {
-	s.AddParticle(particles::Code::Nucleus, i*15_GeV,
-		      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
-		      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s, i, i/2);
+      if ((i + 1) % 10 == 0) {
+        s.AddParticle(particles::Code::Nucleus, i * 15_GeV,
+                      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
+                      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s, i, i / 2);
       } else {
-	s.AddParticle(particles::Code::Electron, i*1.5_GeV,
-		      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
-		      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s);
+        s.AddParticle(particles::Code::Electron, i * 1.5_GeV,
+                      MomentumVector(dummyCS, {1_GeV, 1_GeV, 1_GeV}),
+                      Point(dummyCS, {1 * meter, 1 * meter, 1 * meter}), 100_s);
       }
     }
 
     // copy
     {
-      s.Copy(s.begin()+9, s.begin()+10); // nuclei to non-nuclei
+      s.Copy(s.begin() + 9, s.begin() + 10); // nuclei to non-nuclei
       const auto& p9 = s.cbegin() + 9;
       const auto& p10 = s.cbegin() + 10;
-      
+
       REQUIRE(p9.GetPID() == particles::Code::Nucleus);
-      REQUIRE(p9.GetEnergy() == 9*15_GeV);
+      REQUIRE(p9.GetEnergy() == 9 * 15_GeV);
       REQUIRE(p9.GetTime() == 100_s);
       REQUIRE(p9.GetNuclearA() == 9);
-      REQUIRE(p9.GetNuclearZ() == 9/2);
-      
+      REQUIRE(p9.GetNuclearZ() == 9 / 2);
+
       REQUIRE(p10.GetPID() == particles::Code::Nucleus);
-      REQUIRE(p10.GetEnergy() == 9*15_GeV);
+      REQUIRE(p10.GetEnergy() == 9 * 15_GeV);
       REQUIRE(p10.GetTime() == 100_s);
       REQUIRE(p10.GetNuclearA() == 9);
-      REQUIRE(p10.GetNuclearZ() == 9/2);
+      REQUIRE(p10.GetNuclearZ() == 9 / 2);
     }
 
     // copy
     {
-      s.Copy(s.begin()+93, s.begin()+9); // non-nuclei to nuclei
+      s.Copy(s.begin() + 93, s.begin() + 9); // non-nuclei to nuclei
       const auto& p93 = s.cbegin() + 93;
       const auto& p9 = s.cbegin() + 9;
-      
+
       REQUIRE(p9.GetPID() == particles::Code::Electron);
-      REQUIRE(p9.GetEnergy() == 93*1.5_GeV);
+      REQUIRE(p9.GetEnergy() == 93 * 1.5_GeV);
       REQUIRE(p9.GetTime() == 100_s);
-      
+
       REQUIRE(p93.GetPID() == particles::Code::Electron);
-      REQUIRE(p93.GetEnergy() == 93*1.5_GeV);
+      REQUIRE(p93.GetEnergy() == 93 * 1.5_GeV);
       REQUIRE(p93.GetTime() == 100_s);
     }
 
     // swap
     {
-      s.Swap(s.begin()+11, s.begin()+10);
+      s.Swap(s.begin() + 11, s.begin() + 10);
       const auto& p11 = s.cbegin() + 11; // now: nucleus
       const auto& p10 = s.cbegin() + 10; // now: electron
-      
+
       REQUIRE(p11.GetPID() == particles::Code::Nucleus);
-      REQUIRE(p11.GetEnergy() == 9*15_GeV);
+      REQUIRE(p11.GetEnergy() == 9 * 15_GeV);
       REQUIRE(p11.GetTime() == 100_s);
       REQUIRE(p11.GetNuclearA() == 9);
-      REQUIRE(p11.GetNuclearZ() == 9/2);
-      
+      REQUIRE(p11.GetNuclearZ() == 9 / 2);
+
       REQUIRE(p10.GetPID() == particles::Code::Electron);
-      REQUIRE(p10.GetEnergy() == 11*1.5_GeV);
+      REQUIRE(p10.GetEnergy() == 11 * 1.5_GeV);
       REQUIRE(p10.GetTime() == 100_s);
     }
 
     // swap two nuclei
     {
-      s.Swap(s.begin()+29, s.begin()+59);
+      s.Swap(s.begin() + 29, s.begin() + 59);
       const auto& p29 = s.cbegin() + 29;
       const auto& p59 = s.cbegin() + 59;
-      
+
       REQUIRE(p29.GetPID() == particles::Code::Nucleus);
-      REQUIRE(p29.GetEnergy() == 59*15_GeV);
+      REQUIRE(p29.GetEnergy() == 59 * 15_GeV);
       REQUIRE(p29.GetTime() == 100_s);
       REQUIRE(p29.GetNuclearA() == 59);
-      REQUIRE(p29.GetNuclearZ() == 59/2);
+      REQUIRE(p29.GetNuclearZ() == 59 / 2);
 
       REQUIRE(p59.GetPID() == particles::Code::Nucleus);
-      REQUIRE(p59.GetEnergy() == 29*15_GeV);
+      REQUIRE(p59.GetEnergy() == 29 * 15_GeV);
       REQUIRE(p59.GetTime() == 100_s);
       REQUIRE(p59.GetNuclearA() == 29);
-      REQUIRE(p59.GetNuclearZ() == 29/2);
+      REQUIRE(p59.GetNuclearZ() == 29 / 2);
     }
-    
+
     for (int i = 0; i < 99; ++i) s.DeleteLast();
     REQUIRE(s.GetSize() == 0);
-
   }
-
 }
diff --git a/Stack/SuperStupidStack/SuperStupidStack.h b/Stack/SuperStupidStack/SuperStupidStack.h
index b4c8c858c..3daa825ab 100644
--- a/Stack/SuperStupidStack/SuperStupidStack.h
+++ b/Stack/SuperStupidStack/SuperStupidStack.h
@@ -126,21 +126,33 @@ namespace corsika::stack {
       unsigned int GetSize() const { return fDataPID.size(); }
       unsigned int GetCapacity() const { return fDataPID.size(); }
 
-      void SetPID(const unsigned int i, const corsika::particles::Code id) { fDataPID[i] = id; }
+      void SetPID(const unsigned int i, const corsika::particles::Code id) {
+        fDataPID[i] = id;
+      }
       void SetEnergy(const unsigned int i, const corsika::units::si::HEPEnergyType e) {
         fDataE[i] = e;
       }
-      void SetMomentum(const unsigned int i, const MomentumVector& v) { fMomentum[i] = v; }
+      void SetMomentum(const unsigned int i, const MomentumVector& v) {
+        fMomentum[i] = v;
+      }
       void SetPosition(const unsigned int i, const corsika::geometry::Point& v) {
         fPosition[i] = v;
       }
-      void SetTime(const unsigned int i, const corsika::units::si::TimeType& v) { fTime[i] = v; }
+      void SetTime(const unsigned int i, const corsika::units::si::TimeType& v) {
+        fTime[i] = v;
+      }
 
       corsika::particles::Code GetPID(const unsigned int i) const { return fDataPID[i]; }
-      corsika::units::si::HEPEnergyType GetEnergy(const unsigned int i) const { return fDataE[i]; }
+      corsika::units::si::HEPEnergyType GetEnergy(const unsigned int i) const {
+        return fDataE[i];
+      }
       MomentumVector GetMomentum(const unsigned int i) const { return fMomentum[i]; }
-      corsika::geometry::Point GetPosition(const unsigned int i) const { return fPosition[i]; }
-      corsika::units::si::TimeType GetTime(const unsigned int i) const { return fTime[i]; }
+      corsika::geometry::Point GetPosition(const unsigned int i) const {
+        return fPosition[i];
+      }
+      corsika::units::si::TimeType GetTime(const unsigned int i) const {
+        return fTime[i];
+      }
 
       /**
        *   Function to copy particle at location i2 in stack to i1
@@ -204,7 +216,7 @@ namespace corsika::stack {
     }; // end class SuperStupidStackImpl
 
     typedef Stack<SuperStupidStackImpl, ParticleInterface> SuperStupidStack;
-    
+
   } // namespace super_stupid
 
 } // namespace corsika::stack
diff --git a/Stack/SuperStupidStack/testSuperStupidStack.cc b/Stack/SuperStupidStack/testSuperStupidStack.cc
index 8076ac1d8..0e3628b46 100644
--- a/Stack/SuperStupidStack/testSuperStupidStack.cc
+++ b/Stack/SuperStupidStack/testSuperStupidStack.cc
@@ -9,7 +9,6 @@
  * the license.
  */
 
-
 #include <corsika/geometry/RootCoordinateSystem.h>
 #include <corsika/stack/super_stupid/SuperStupidStack.h>
 #include <corsika/units/PhysicalUnits.h>
diff --git a/test.cc b/test.cc
index 4227e0de4..6839def48 100644
--- a/test.cc
+++ b/test.cc
@@ -8,5 +8,3 @@
  * Licence version 3 (GPL Version 3). See file LICENSE for a full version of
  * the license.
  */
-
-
-- 
GitLab