diff --git a/Documentation/Examples/logger_example.cc b/Documentation/Examples/logger_example.cc
index fdb8e4a06e446413a908b37941e83c545d2df5b4..94fcb588a2b4ebe225dd7750a17d5beb66abda38 100644
--- a/Documentation/Examples/logger_example.cc
+++ b/Documentation/Examples/logger_example.cc
@@ -1,16 +1,13 @@
 #include <corsika/logging/Logger.h>
 #include <boost/format.hpp>
-#include <string>
-#include <iostream>
 #include <fstream>
-
+#include <iostream>
+#include <string>
 
 using namespace std;
 using namespace corsika::logging;
 
-int
-main()
-{
+int main() {
   {
     cout << "writing to \"another.log\"" << endl;
     ofstream logfile("another.log");
@@ -18,28 +15,32 @@ main()
     sink::BufferedSinkStream sink(logfile, sink::StdBuffer(10000));
     Logger<MessageOn, sink::BufferedSinkStream> info("\033[32m", "info", sink);
     Logger<MessageOn, sink::BufferedSinkStream> err("\033[31m", "error", sink);
-    //logger<ostream,messageconst,StdBuffer> info(std::cout, StdBuffer(10000));
-    
+    // logger<ostream,messageconst,StdBuffer> info(std::cout, StdBuffer(10000));
+
     /*
       Logging& logs = Logging::GetInstance();
       logs.AddLogger<>("info", info);
-      auto& log_1 = logs.GetLogger("info"); // no so useful, since type of log_1 is std::any
+      auto& log_1 = logs.GetLogger("info"); // no so useful, since type of log_1 is
+      std::any
     */
-    
-    for (int i=0; i<100000; ++i) {
-      LOG(info, "irgendwas"," ", string("and more")," ", boost::format("error: %i message: %s. done."), i, "stupido");
+
+    for (int i = 0; i < 100000; ++i) {
+      LOG(info, "irgendwas", " ", string("and more"), " ",
+          boost::format("error: %i message: %s. done."), i, "stupido");
       LOG(err, "Fehler");
     }
   }
-  
+
   {
     sink::NoSink off;
     Logger<MessageOff> info("", "", off);
-    
-    for (int i=0; i<100000; ++i) {
-      LOG(info, "irgendwas", string("and more"), boost::format("error: %i message: %s. done."), i, "stupido", "a-number:", 8.99, "ENDE" );
+
+    for (int i = 0; i < 100000; ++i) {
+      LOG(info, "irgendwas", string("and more"),
+          boost::format("error: %i message: %s. done."), i, "stupido", "a-number:", 8.99,
+          "ENDE");
     }
   }
-  
+
   return 0;
 }
diff --git a/Documentation/Examples/stack_example.cc b/Documentation/Examples/stack_example.cc
index 8f65dbe7e751ab144d45217c4277af38f16566f3..d54f204341bb878bdc663690c515be9c201b4bc3 100644
--- a/Documentation/Examples/stack_example.cc
+++ b/Documentation/Examples/stack_example.cc
@@ -1,5 +1,5 @@
-#include <corsika/stack/super_stupid/SuperStupidStack.h>
 #include <corsika/particles/ParticleProperties.h>
+#include <corsika/stack/super_stupid/SuperStupidStack.h>
 #include <iomanip>
 #include <iostream>
 
@@ -10,7 +10,6 @@ using namespace std;
 using namespace corsika::units;
 using namespace corsika::stack;
 
-
 void fill(corsika::stack::super_stupid::SuperStupidStack& s) {
   for (int i = 0; i < 11; ++i) {
     auto p = s.NewParticle();
diff --git a/Framework/Cascade/Cascade.cc b/Framework/Cascade/Cascade.cc
index d4e1320a5fa5685064123e6ff635ab50a529b2fe..f4496f536634ba9b82a0a740199ad38b2f2054e4 100644
--- a/Framework/Cascade/Cascade.cc
+++ b/Framework/Cascade/Cascade.cc
@@ -2,27 +2,20 @@
 
 namespace cascade;
 
-template<typename Sequence, typename Trajectory>
-void
-Cascade::Cascade() {
+template <typename Sequence, typename Trajectory>
+void Cascade::Cascade() {
   kkk;
   kk;
 }
 
-
-template<typename Sequence, typename Trajectory>
-void
-Cascade::Init()
-{
+template <typename Sequence, typename Trajectory>
+void Cascade::Init() {
   fStack.Init();
   fProcesseList.Init();
 }
 
-
-template<typename Sequence, typename Trajectory>
-void
-Cascade::Run()
-{
+template <typename Sequence, typename Trajectory>
+void Cascade::Run() {
   if (!fStack.IsEmpty()) {
     if (!fStack.IsEmpty()) {
       Particle& p = fStack.GetNextParticle();
@@ -34,14 +27,10 @@ Cascade::Run()
   }
 }
 
-
-template<typename Sequence, typename Trajectory>
-void
-Cascade::Step(Particle& particle)
-{
+template <typename Sequence, typename Trajectory>
+void Cascade::Step(Particle& particle) {
   double nextStep = fProcesseList.MinStepLength(particle);
   Trajectory trajectory = fProcesseList.Transport(particle, nextStep);
   sequence.DoContinuous(particle, trajectory);
   sequence.DoDiscrete(particle);
 }
-
diff --git a/Framework/Cascade/Cascade.h b/Framework/Cascade/Cascade.h
index 8513a95f809632f495548666ff25d24edbfe24ae..a8af260b512c91a62d12a776fb74b3ecf5520917 100644
--- a/Framework/Cascade/Cascade.h
+++ b/Framework/Cascade/Cascade.h
@@ -3,9 +3,9 @@
 
 namespace cascade {
 
-  template<typename Processes, typename Trajectory, typename Stack>
+  template <typename Processes, typename Trajectory, typename Stack>
   class Cascade {
-    
+
   public:
     Cascade();
 
@@ -16,9 +16,8 @@ namespace cascade {
   private:
     Stack fStack;
     Processes fProcesseList;
-    
   };
-  
-}
+
+} // namespace cascade
 
 #endif
diff --git a/Framework/Cascade/Step.cc b/Framework/Cascade/Step.cc
index 5a04f06a60b25f0a35ec27e93ba917f478fac104..60349c748f8438857a5dc4ffda338063a180634f 100644
--- a/Framework/Cascade/Step.cc
+++ b/Framework/Cascade/Step.cc
@@ -2,13 +2,9 @@
 
 namespace cascade;
 
-
-void
-Cascade::Step(auto& sequence, Particle& particle)
-{
+void Cascade::Step(auto& sequence, Particle& particle) {
   double nextStep = sequence.MinStepLength(particle);
   Trajectory trajectory = sequence.Transport(particle, nextStep);
   sequence.DoContinuous(particle, trajectory);
   sequence.DoDiscrete(particle);
 }
-
diff --git a/Framework/Geometry/CoordinateSystem.h b/Framework/Geometry/CoordinateSystem.h
index 695ae50232efbdfa63e15580941ae2315daf7513..b8a7afc25be0f3ab800fd7d4f4a69ae9646578e1 100644
--- a/Framework/Geometry/CoordinateSystem.h
+++ b/Framework/Geometry/CoordinateSystem.h
@@ -11,7 +11,7 @@ typedef Eigen::Translation<double, 3> EigenTranslation;
 namespace corsika::geometry {
 
   using corsika::units::length_d;
-  
+
   class CoordinateSystem {
     CoordinateSystem const* reference = nullptr;
     EigenTransform transf;
@@ -59,6 +59,6 @@ namespace corsika::geometry {
     auto const& GetTransform() const { return transf; }
   };
 
-} // namespace corsika
+} // namespace corsika::geometry
 
 #endif
diff --git a/Framework/Geometry/Helix.h b/Framework/Geometry/Helix.h
index fe123e26f0869b5c008db2a223c2486a193d944f..c392356d46e64d63d156ca76f848845e916cde36 100644
--- a/Framework/Geometry/Helix.h
+++ b/Framework/Geometry/Helix.h
@@ -8,12 +8,12 @@
 
 namespace corsika::geometry {
 
-  using corsika::units::SpeedType;
-  using corsika::units::TimeType;
+  using corsika::units::frequency_d;
   using corsika::units::FrequencyType;
   using corsika::units::quantity;
-  using corsika::units::frequency_d;
-  
+  using corsika::units::SpeedType;
+  using corsika::units::TimeType;
+
   class Helix // TODO: inherit from to-be-implemented "Trajectory"
   {
     using SpeedVec = Vector<SpeedType::dimension_type>;
@@ -26,8 +26,8 @@ namespace corsika::geometry {
     LengthType const radius;
 
   public:
-    Helix(Point const& pR0, quantity<frequency_d> pOmegaC,
-          SpeedVec const& pvPar, SpeedVec const& pvPerp)
+    Helix(Point const& pR0, quantity<frequency_d> pOmegaC, SpeedVec const& pvPar,
+          SpeedVec const& pvPerp)
         : r0(pR0)
         , omegaC(pOmegaC)
         , vPar(pvPar)
@@ -43,6 +43,6 @@ namespace corsika::geometry {
     auto GetRadius() const { return radius; }
   };
 
-} // namespace corsika
+} // namespace corsika::geometry
 
 #endif
diff --git a/Framework/Geometry/LineTrajectory.h b/Framework/Geometry/LineTrajectory.h
index 1e899269b71eeb180d10dd7bd4121a2de8a50fea..4d56a598f58b8a5073b583654b1377c09d4d92f6 100644
--- a/Framework/Geometry/LineTrajectory.h
+++ b/Framework/Geometry/LineTrajectory.h
@@ -1,29 +1,25 @@
 #ifndef _include_LINETRAJECTORY_H
 #define _include_LINETRAJECTORY_H
 
+#include <Units/PhysicalUnits.h>
 #include <corsika/Point.h>
 #include <corsika/Vector.h>
-#include <Units/PhysicalUnits.h>
 
 namesapce corsika {
 
-class LineTrajectory // TODO: inherit from Trajectory
-{
+  class LineTrajectory // TODO: inherit from Trajectory
+  {
     using SpeedVec = Vector<Speed::dimension_type>;
-    
+
     Point const r0;
     SpeedVec const v0;
-    
-    LineTrajectory(Point const& pR0, SpeedVec const& pV0) :
-        r0(r0), v0(pV0)
-    {
-    }
-    
-    auto GetPosition(Time t) const
-    {
-        return r0 + v0 * t;
-    }
-};
+
+    LineTrajectory(Point const& pR0, SpeedVec const& pV0)
+        : r0(r0)
+        , v0(pV0) {}
+
+    auto GetPosition(Time t) const { return r0 + v0 * t; }
+  };
 
 } // end namesapce
 
diff --git a/Framework/Geometry/Point.h b/Framework/Geometry/Point.h
index 8de3e1bd237b07c645670d11766354e979a0ce67..108fe87f4aadd5339d93160a0b5f0efaab80199a 100644
--- a/Framework/Geometry/Point.h
+++ b/Framework/Geometry/Point.h
@@ -8,9 +8,9 @@
 
 namespace corsika::geometry {
 
-  using corsika::units::LengthType;
   using corsika::units::length_d;
-  
+  using corsika::units::LengthType;
+
   /*!
    * A Point represents a point in position space. It is defined by its
    * coordinates with respect to some CoordinateSystem.
@@ -60,6 +60,6 @@ namespace corsika::geometry {
     }
   };
 
-} // namespace corsika
+} // namespace corsika::geometry
 
 #endif
diff --git a/Framework/Geometry/Vector.h b/Framework/Geometry/Vector.h
index e8be6bea15b0ae60e5183e6a1d30a69bc65d44fa..fcebc10f73a12ad37494a59d32614c88e9697a31 100644
--- a/Framework/Geometry/Vector.h
+++ b/Framework/Geometry/Vector.h
@@ -172,6 +172,6 @@ namespace corsika::geometry {
     }
   };
 
-} // namespace corsika
+} // namespace corsika::geometry
 
 #endif
diff --git a/Framework/Logging/BufferedSink.h b/Framework/Logging/BufferedSink.h
index c082cad63f99b3c7947f015f34a2dcc6a89e4f5f..7ad36927fec13087d8875af96279013a82003a4e 100644
--- a/Framework/Logging/BufferedSink.h
+++ b/Framework/Logging/BufferedSink.h
@@ -4,7 +4,6 @@
 namespace corsika::logging {
 
   namespace sink {
-    
 
     /**
        Output buffer template. NoBuffer does nothingk.
@@ -19,47 +18,53 @@ namespace corsika::logging {
     */
     /**
        Output buffer template. StdBuffer records fSize characters in
-       local memeory before passing it on to further output stages. 
+       local memeory before passing it on to further output stages.
     */
-    
+
     struct StdBuffer {
-    StdBuffer(const int size) : fSize(size) {}
-      inline bool Test(const std::string& s) { return int(fBuffer.tellp())+s.length() < fSize; }
+      StdBuffer(const int size)
+          : fSize(size) {}
+      inline bool Test(const std::string& s) {
+        return int(fBuffer.tellp()) + s.length() < fSize;
+      }
       inline std::string GetString() const { return fBuffer.str(); }
       inline void Clear() { fBuffer.str(""); }
       inline void Add(const std::string& s) { fBuffer << s; }
+
     private:
       int fSize;
       std::ostringstream fBuffer;
     };
-    
-    
+
     /**
-       Definition of Sink for log output. 
-    */  
-    template<typename TStream, typename TBuffer=StdBuffer> 
+       Definition of Sink for log output.
+    */
+    template <typename TStream, typename TBuffer = StdBuffer>
     class BufferedSink {
     public:
-    BufferedSink(TStream& out, TBuffer buffer = {} ) : fOutput(out), fBuffer(std::move(buffer)) {} 
-    void operator<<(const std::string& msg) {
-      if (!fBuffer.Test(msg)) {
-        fOutput << fBuffer.GetString();
-        fBuffer.Clear();
+      BufferedSink(TStream& out, TBuffer buffer = {})
+          : fOutput(out)
+          , fBuffer(std::move(buffer)) {}
+      void operator<<(const std::string& msg) {
+        if (!fBuffer.Test(msg)) {
+          fOutput << fBuffer.GetString();
+          fBuffer.Clear();
+        }
+        if (!fBuffer.Test(msg))
+          fOutput << msg;
+        else
+          fBuffer.Add(msg);
       }
-      if (!fBuffer.Test(msg))
-        fOutput << msg;
-      else 
-        fBuffer.Add(msg);
-    }
-    void Close() { fOutput << fBuffer.GetString(); }
+      void Close() { fOutput << fBuffer.GetString(); }
+
     private:
-    TStream& fOutput;
-    TBuffer fBuffer;
+      TStream& fOutput;
+      TBuffer fBuffer;
     };
-    
+
     typedef BufferedSink<std::ostream, StdBuffer> BufferedSinkStream;
 
-  }// end namespace
-} // end namespace
-  
+  } // namespace sink
+} // namespace corsika::logging
+
 #endif
diff --git a/Framework/Logging/Logger.h b/Framework/Logging/Logger.h
index 351282b59cc0e8a5b2182a80ef237eef8e89e2c7..fca23d70caa28a899af91f025852df0089c10b81 100644
--- a/Framework/Logging/Logger.h
+++ b/Framework/Logging/Logger.h
@@ -8,25 +8,22 @@
 #define _include_logger_h_
 
 #include <iosfwd>
-#include <string>
 #include <sstream>
+#include <string>
 #include <typeinfo>
 
 #include <boost/format.hpp>
 
-#include <corsika/logging/MessageOn.h>
+#include <corsika/logging/BufferedSink.h>
 #include <corsika/logging/MessageOff.h>
-#include <corsika/logging/Sink.h>
+#include <corsika/logging/MessageOn.h>
 #include <corsika/logging/NoSink.h>
-#include <corsika/logging/BufferedSink.h>
-
+#include <corsika/logging/Sink.h>
 
 using namespace std;
 using namespace boost;
 
-
 namespace corsika::logging {
-  
 
   /**
      @class Logger
@@ -36,50 +33,51 @@ namespace corsika::logging {
      compile-time into message strings. The helper class MessageOff,
      will just do nothing and will be optimized away at compile time.
   */
-  template<typename MSG=MessageOn, typename TSink=sink::NoSink> 
+  template <typename MSG = MessageOn, typename TSink = sink::NoSink>
   class Logger : private MSG {
-    
+
     using MSG::Message;
-    
+
   public:
     // Logger() : fName("") {}
-    Logger(const std::string color, const std::string name, TSink& sink) : fSink(sink), fName(color+"["+name+"]\033[39m ")  {} 
-    ~Logger() { fSink.Close(); }    
+    Logger(const std::string color, const std::string name, TSink& sink)
+        : fSink(sink)
+        , fName(color + "[" + name + "]\033[39m ") {}
+    ~Logger() { fSink.Close(); }
     // Logger(const Logger&) = delete;
 
     /**
        Function to add string-concatenation of all inputs to output
        sink.
      */
-    template<typename ... Strings>
+    template <typename... Strings>
     void Log(const Strings&... inputs) {
       fSink << MSG::Message(inputs...);
     }
-    
+
     const std::string& GetName() const { return fName; }
-    
+
   private:
     TSink& fSink;
     std::string fName;
   };
 
-} // end namesapce 
-
+} // namespace corsika::logging
 
 /**
  * @def LOG(...)
- *  
+ *
  * This is the main interface to the logging facilities. If Logger
- * object are defined (e.g. log1) use as 
- * @example LOG(log1, "var1=", variable1int, "var2=", variabl2double) 
+ * object are defined (e.g. log1) use as
+ * @example LOG(log1, "var1=", variable1int, "var2=", variabl2double)
  * for arbitrary long sequence
  * of arguments. This may also include boost::format objects the
  * output is concatenated, if log1 is switched off at compile time,
  * the whole LOG command is optimized away by the compiler.
  */
 
-#define LOG(__LOGGER,...)                                               \
-  __LOGGER.Log(__LOGGER.GetName(), __FILE__,":", __LINE__, " (", __func__, ") -> ", ##__VA_ARGS__);
+#define LOG(__LOGGER, ...)                                                           \
+  __LOGGER.Log(__LOGGER.GetName(), __FILE__, ":", __LINE__, " (", __func__, ") -> ", \
+               ##__VA_ARGS__);
 
 #endif
- 
diff --git a/Framework/Logging/MessageOff.h b/Framework/Logging/MessageOff.h
index 87b49ef5e825c94e547906e60f82fb1c437f8235..d60070002cbcb25e76eb641b19597bc6c2fac752 100644
--- a/Framework/Logging/MessageOff.h
+++ b/Framework/Logging/MessageOff.h
@@ -9,11 +9,12 @@ namespace corsika::logging {
    */
   class MessageOff {
   protected:
-    template<typename First, typename ... Strings> std::string Message(const First& arg, const Strings&... rest) {
+    template <typename First, typename... Strings>
+    std::string Message(const First& arg, const Strings&... rest) {
       return "";
     }
   };
 
-} // end namespace
+} // namespace corsika::logging
 
 #endif
diff --git a/Framework/Logging/MessageOn.h b/Framework/Logging/MessageOn.h
index bcab9845cfb4856622593576b789ea68a71051b3..a25928674a73ccbe1837190043a2688be4118ea1 100644
--- a/Framework/Logging/MessageOn.h
+++ b/Framework/Logging/MessageOn.h
@@ -1,7 +1,6 @@
 #ifndef _include_MessageOn_h_
 #define _include_MessageOn_h_
 
-
 namespace corsika::logging {
 
   /**
@@ -11,44 +10,51 @@ namespace corsika::logging {
   class MessageOn {
   protected:
     std::string Message() { return "\n"; }
-    
-    template<typename First, typename ... Strings> std::string Message(const First& arg, const Strings&... rest) {
+
+    template <typename First, typename... Strings>
+    std::string Message(const First& arg, const Strings&... rest) {
       std::ostringstream ss;
       ss << arg << Message(rest...);
       return ss.str();
     }
-    
-    template<typename ... Strings> std::string Message(const int& arg, const Strings&... rest) {
+
+    template <typename... Strings>
+    std::string Message(const int& arg, const Strings&... rest) {
       return std::to_string(arg) + Message(rest...);
     }
-    
-    template<typename ... Strings> std::string Message(const double& arg, const Strings&... rest) {
+
+    template <typename... Strings>
+    std::string Message(const double& arg, const Strings&... rest) {
       return std::to_string(arg) + Message(rest...);
     }
-    
-    template<typename ... Strings> std::string Message(char const * arg, const Strings&... rest) {
+
+    template <typename... Strings>
+    std::string Message(char const* arg, const Strings&... rest) {
       return std::string(arg) + Message(rest...);
     }
-    
-    template<typename ... Strings> std::string Message(const std::string& arg, const Strings&... rest) {
+
+    template <typename... Strings>
+    std::string Message(const std::string& arg, const Strings&... rest) {
       return arg + Message(rest...);
     }
-    
+
     // ----------------------
     // boost format
-    template<typename ... Strings> std::string Message(const boost::format& fmt, const Strings&... rest) {
+    template <typename... Strings>
+    std::string Message(const boost::format& fmt, const Strings&... rest) {
       boost::format FMT(fmt);
       return bformat(FMT, rest...);
     }
-    
-    template<typename Arg, typename ... Strings> std::string bformat(boost::format& fmt, const Arg& arg, const Strings&... rest) {
+
+    template <typename Arg, typename... Strings>
+    std::string bformat(boost::format& fmt, const Arg& arg, const Strings&... rest) {
       fmt % arg;
       return bformat(fmt, rest...);
     }
-    
+
     std::string bformat(boost::format& fmt) { return fmt.str() + "\n"; }
   };
 
-}// end namesapce
+} // namespace corsika::logging
 
 #endif
diff --git a/Framework/Logging/NoSink.h b/Framework/Logging/NoSink.h
index 96cebd60936c2025f959c74843f23ade204cf7ee..d0ba53649f2f4654e9b19fd75c1e84445eed84f6 100644
--- a/Framework/Logging/NoSink.h
+++ b/Framework/Logging/NoSink.h
@@ -10,7 +10,7 @@ namespace corsika::logging {
       inline void Close() {}
     };
 
-  }// end namespace
-} // end namespace
-  
+  } // namespace sink
+} // namespace corsika::logging
+
 #endif
diff --git a/Framework/Logging/Sink.h b/Framework/Logging/Sink.h
index 5b6c64b0add00b84d2c74912865df11e75452590..f51b70294ebdf4ac63362448e5b851d7a52b62b3 100644
--- a/Framework/Logging/Sink.h
+++ b/Framework/Logging/Sink.h
@@ -5,33 +5,33 @@ namespace corsika::logging {
 
   /**
      a sink for the logger must implement the two functions
-     operator<<(const std::string&) 
+     operator<<(const std::string&)
      and
      Close()
-     
+
      See example: NoSink
    */
-  
+
   namespace sink {
-    
+
     /**
-       Definition of Sink for log output. 
-    */  
-    template<typename TStream> 
+       Definition of Sink for log output.
+    */
+    template <typename TStream>
     class Sink {
     public:
-    Sink(TStream& out) : fOutput(out) {}
-    void operator<<(const std::string& msg) {
-      fOutput << msg;
-    }
-    void Close() {}
+      Sink(TStream& out)
+          : fOutput(out) {}
+      void operator<<(const std::string& msg) { fOutput << msg; }
+      void Close() {}
+
     private:
-    TStream& fOutput;
+      TStream& fOutput;
     };
-    
+
     typedef Sink<std::ostream> SinkStream;
 
-  }// end namespace
-} // end namespace
-  
+  } // namespace sink
+} // namespace corsika::logging
+
 #endif
diff --git a/Framework/Particles/testParticles.cc b/Framework/Particles/testParticles.cc
index 616973145e7119fa48e08e71d85d25c13d0d809e..476264171bb8be56f715f0eee3ee9fe74f77116b 100644
--- a/Framework/Particles/testParticles.cc
+++ b/Framework/Particles/testParticles.cc
@@ -1,6 +1,6 @@
 
-#include <corsika/units/PhysicalUnits.h>
 #include <corsika/particles/ParticleProperties.h>
+#include <corsika/units/PhysicalUnits.h>
 
 #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one
                           // cpp file
@@ -18,8 +18,7 @@ TEST_CASE("Particles", "[Particles]") {
     REQUIRE(Electron::GetMass() / GetMass(Code::Electron) == Approx(1));
     REQUIRE(Electron::GetCharge() / constants::e == Approx(-1));
     REQUIRE(Positron::GetCharge() / constants::e == Approx(+1));
-    REQUIRE(GetElectricCharge(Positron::GetAntiParticle()) / constants::e ==
-            Approx(-1));
+    REQUIRE(GetElectricCharge(Positron::GetAntiParticle()) / constants::e == Approx(-1));
     REQUIRE(Electron::GetName() == "e-");
   }
 }
diff --git a/Framework/StackInterface/StackIterator.h b/Framework/StackInterface/StackIterator.h
index d7491867b9ef8b3f69c6fd2ebe463f778cc73726..4a951f00af33ddb865c6c7b7723a248bc44331b5 100644
--- a/Framework/StackInterface/StackIterator.h
+++ b/Framework/StackInterface/StackIterator.h
@@ -111,6 +111,6 @@ namespace corsika::stack {
     }
   };
 
-} // end namespace stack
+} // namespace corsika::stack
 
 #endif
diff --git a/Framework/Units/PhysicalConstants.h b/Framework/Units/PhysicalConstants.h
index e8be8197745f6cfa183986d5a4906cbd4c9dc1c5..a666f15ef3bfc61d7abfb589a9763597db4f7d62 100644
--- a/Framework/Units/PhysicalConstants.h
+++ b/Framework/Units/PhysicalConstants.h
@@ -27,37 +27,34 @@
 
 #include <phys/units/quantity.hpp>
 
-
-
 namespace corsika::units::constants {
 
   using namespace phys::units;
-  
-        // acceleration of free-fall, standard
-  constexpr phys::units::quantity<phys::units::acceleration_d> g_sub_n{phys::units::Rep(9.80665L) * phys::units::meter / phys::units::square(phys::units::second)};
 
-      // Avogadro constant
-      constexpr quantity<dimensions<0, 0, 0, 0, 0, -1> > N_sub_A{Rep(6.02214199e+23L) /
-                                                                 mole};
-      // electronvolt
-      constexpr quantity<energy_d> eV{Rep(1.60217733e-19L) * joule};
+  // acceleration of free-fall, standard
+  constexpr phys::units::quantity<phys::units::acceleration_d> g_sub_n{
+      phys::units::Rep(9.80665L) * phys::units::meter /
+      phys::units::square(phys::units::second)};
 
-      // elementary charge
-      constexpr quantity<electric_charge_d> e{Rep(1.602176462e-19L) * coulomb};
+  // Avogadro constant
+  constexpr quantity<dimensions<0, 0, 0, 0, 0, -1> > N_sub_A{Rep(6.02214199e+23L) / mole};
+  // electronvolt
+  constexpr quantity<energy_d> eV{Rep(1.60217733e-19L) * joule};
 
-      // Planck constant
-      constexpr quantity<dimensions<2, 1, -1> > h{Rep(6.62606876e-34L) * joule * second};
+  // elementary charge
+  constexpr quantity<electric_charge_d> e{Rep(1.602176462e-19L) * coulomb};
 
-      // speed of light in a vacuum
-      constexpr quantity<speed_d> c{Rep(299792458L) * meter / second};
+  // Planck constant
+  constexpr quantity<dimensions<2, 1, -1> > h{Rep(6.62606876e-34L) * joule * second};
 
-      // unified atomic mass unit
-      constexpr quantity<mass_d> u{Rep(1.6605402e-27L) * kilogram};
+  // speed of light in a vacuum
+  constexpr quantity<speed_d> c{Rep(299792458L) * meter / second};
 
-      // etc.
+  // unified atomic mass unit
+  constexpr quantity<mass_d> u{Rep(1.6605402e-27L) * kilogram};
 
-  
-} // namespace corsika
+  // etc.
 
-#endif // PHYS_UNITS_PHYSICAL_CONSTANTS_HPP_INCLUDED
+} // namespace corsika::units::constants
 
+#endif // PHYS_UNITS_PHYSICAL_CONSTANTS_HPP_INCLUDED
diff --git a/Framework/Units/PhysicalUnits.h b/Framework/Units/PhysicalUnits.h
index 71858e36174dcb6868cb30286343930c95cc1d21..9aeefb15124b182add95860a197b4bebc213d98b 100644
--- a/Framework/Units/PhysicalUnits.h
+++ b/Framework/Units/PhysicalUnits.h
@@ -15,23 +15,24 @@
 namespace phys {
   namespace units {
     namespace literals {
-      QUANTITY_DEFINE_SCALING_LITERALS(eV, energy_d, magnitude(corsika::units::constants::eV))
+      QUANTITY_DEFINE_SCALING_LITERALS(eV, energy_d,
+                                       magnitude(corsika::units::constants::eV))
     }
   } // namespace units
 } // namespace phys
 
-
 namespace corsika::units {
-  
+
   using namespace phys::units;
   using namespace phys::units::literals;
-   //namespace literals = phys::units::literals;    
-  
+  // namespace literals = phys::units::literals;
+
   using LengthType = phys::units::quantity<phys::units::length_d, double>;
   using TimeType = phys::units::quantity<phys::units::time_interval_d, double>;
   using SpeedType = phys::units::quantity<phys::units::speed_d, double>;
   using FrequencyType = phys::units::quantity<phys::units::frequency_d, double>;
-  using ElectricChargeType = phys::units::quantity<phys::units::electric_charge_d, double>;
+  using ElectricChargeType =
+      phys::units::quantity<phys::units::electric_charge_d, double>;
   using EnergyType = phys::units::quantity<phys::units::energy_d, double>;
 
 } // end namespace corsika::units
diff --git a/Main/shower.cc b/Main/shower.cc
index a0f78b5a8bcea889e582c07b6e11f1600010b2c7..7bc09673a29ed82e49f1939a52b3f5c86f31adad 100644
--- a/Main/shower.cc
+++ b/Main/shower.cc
@@ -1,10 +1,3 @@
 #include <utl/Stack.h>
 
-int
-main(int argc, char** argv)
-{
-  
-  
-  
-  return 0;
-}
+int main(int argc, char** argv) { return 0; }
diff --git a/Processes/NullModel/NullModel.h b/Processes/NullModel/NullModel.h
index 6cbee61a82285986a49726a40417472446fe7650..98782765696e7d0a87d19611bba0d9fc1e9f4c7f 100644
--- a/Processes/NullModel/NullModel.h
+++ b/Processes/NullModel/NullModel.h
@@ -17,7 +17,7 @@ namespace corsika::process {
     };
 
   } // namespace null_model
-  
-} // namespace process
+
+} // namespace corsika::process
 
 #endif
diff --git a/Processes/NullModel/testNullModel.cc b/Processes/NullModel/testNullModel.cc
index 469f35c3467b0d315d879ba99f12211748e177d1..311c732cec4b3cbdb8bcb4d4886b37df0e940696 100644
--- a/Processes/NullModel/testNullModel.cc
+++ b/Processes/NullModel/testNullModel.cc
@@ -9,5 +9,4 @@ TEST_CASE("NullModel", "[processes]") {
   SECTION("bla") {}
 
   SECTION("blubb") {}
-
 }
diff --git a/Processes/Sibyll/ParticleConversion.cc b/Processes/Sibyll/ParticleConversion.cc
index 2e8cbdfa81e9c23e45625aa183eb6ef90d9e91ab..6aca2fcf0a07a1ee89eeb859fbb6b40b37e96ec3 100644
--- a/Processes/Sibyll/ParticleConversion.cc
+++ b/Processes/Sibyll/ParticleConversion.cc
@@ -1,9 +1,9 @@
-#include <corsika/process/sibyll/ParticleConversion.h>
 #include <corsika/particles/ParticleProperties.h>
+#include <corsika/process/sibyll/ParticleConversion.h>
 
 using namespace corsika::process::sibyll;
 
-//const std::map<sibyll::PID, ParticleProperties::InternalParticleCode>
+// const std::map<sibyll::PID, ParticleProperties::InternalParticleCode>
 //   process::sibyll::Sibyll2Corsika = {
 //        {PID::E_MINUS, InternalParticleCode::Electron},
 //};
diff --git a/Processes/Sibyll/ParticleConversion.h b/Processes/Sibyll/ParticleConversion.h
index 500ad53e4137460c11aef0b0326f38c565fcdc41..f39c1297964d33846bedcb6160203f11f882c95d 100644
--- a/Processes/Sibyll/ParticleConversion.h
+++ b/Processes/Sibyll/ParticleConversion.h
@@ -102,15 +102,15 @@ namespace corsika::process {
 
     static const std::map<sibyll::PID, corsika::particles::Code> Sibyll2Corsika = {
         {PID::E_MINUS, corsika::particles::Code::Electron},
-	{PID::E_PLUS, corsika::particles::Code::Positron},
-	{PID::NU_E, corsika::particles::Code::NuE},
-	{PID::NU_E_BAR, corsika::particles::Code::NuEBar},
-	{PID::MU_MINUS, corsika::particles::Code::MuMinus},
-	{PID::MU_PLUS, corsika::particles::Code::MuPlus},
-	{PID::NU_MU, corsika::particles::Code::NuMu},
-	{PID::NU_MU_BAR, corsika::particles::Code::NuMuBar},
-	{PID::TAU_MINUS, corsika::particles::Code::TauMinus},
-	/*
+        {PID::E_PLUS, corsika::particles::Code::Positron},
+        {PID::NU_E, corsika::particles::Code::NuE},
+        {PID::NU_E_BAR, corsika::particles::Code::NuEBar},
+        {PID::MU_MINUS, corsika::particles::Code::MuMinus},
+        {PID::MU_PLUS, corsika::particles::Code::MuPlus},
+        {PID::NU_MU, corsika::particles::Code::NuMu},
+        {PID::NU_MU_BAR, corsika::particles::Code::NuMuBar},
+        {PID::TAU_MINUS, corsika::particles::Code::TauMinus},
+        /*
       TAU_PLUS = 90,
       NU_TAU = 92,
       NU_TAU_BAR = 93,
@@ -194,6 +194,6 @@ namespace corsika::process {
 
   } // namespace sibyll
 
-} // namespace process
+} // namespace corsika::process
 
 #endif
diff --git a/Stack/SuperStupidStack/SuperStupidStack.h b/Stack/SuperStupidStack/SuperStupidStack.h
index a2d7aa38084655b25782d153f4835a666baa3eda..1f02e9087b82f18ef8674c149aad73786d0d3cda 100644
--- a/Stack/SuperStupidStack/SuperStupidStack.h
+++ b/Stack/SuperStupidStack/SuperStupidStack.h
@@ -4,18 +4,18 @@
 #include <string>
 #include <vector>
 
-#include <corsika/stack/Stack.h>
 #include <corsika/particles/ParticleProperties.h>
+#include <corsika/stack/Stack.h>
 #include <corsika/units/PhysicalUnits.h>
 
 namespace corsika::stack {
 
   namespace super_stupid {
 
-    using corsika::units::EnergyType;
     using corsika::particles::Code;
-    using corsika::units::operator""_GeV;//literals;
-    
+    using corsika::units::EnergyType;
+    using corsika::units::operator""_GeV; // literals;
+
     /**
      * Example of a particle object on the stack.
      */
@@ -92,5 +92,4 @@ namespace corsika::stack {
 
 } // namespace corsika::stack
 
- 
 #endif