From 6cafbece5fc8f8142b78c1af7b6c09e23b6ca623 Mon Sep 17 00:00:00 2001
From: Felix Riehn <felix@matilda>
Date: Thu, 21 Jan 2021 13:26:22 +0000
Subject: [PATCH] clang

---
 corsika/detail/modules/ParticleCut.inl | 11 ++++-------
 corsika/modules/ParticleCut.hpp        |  4 ++--
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/corsika/detail/modules/ParticleCut.inl b/corsika/detail/modules/ParticleCut.inl
index a73d0c1c1..551234fc9 100644
--- a/corsika/detail/modules/ParticleCut.inl
+++ b/corsika/detail/modules/ParticleCut.inl
@@ -104,18 +104,15 @@ namespace corsika {
     }
   }
 
-  bool ParticleCut::isInvisible(Code const &vCode) const {
-    return is_neutrino(vCode);
-  }
-  
+  bool ParticleCut::isInvisible(Code const& vCode) const { return is_neutrino(vCode); }
+
   template <typename TParticle>
   bool ParticleCut::checkCutParticle(const TParticle& particle) {
 
     const Code pid = particle.getPID();
     HEPEnergyType energy = particle.getEnergy();
-    CORSIKA_LOG_DEBUG("ParticleCut: checking {}, E= {} GeV, EcutTot={} GeV",
-                                  pid, energy / 1_GeV,
-                                  (em_energy_ + inv_energy_ + energy_) / 1_GeV);
+    CORSIKA_LOG_DEBUG("ParticleCut: checking {}, E= {} GeV, EcutTot={} GeV", pid,
+                      energy / 1_GeV, (em_energy_ + inv_energy_ + energy_) / 1_GeV);
     if (doCutEm_ && is_em(pid)) {
       CORSIKA_LOG_DEBUG("removing em. particle...");
       em_energy_ += energy;
diff --git a/corsika/modules/ParticleCut.hpp b/corsika/modules/ParticleCut.hpp
index 61f832898..c9771c936 100644
--- a/corsika/modules/ParticleCut.hpp
+++ b/corsika/modules/ParticleCut.hpp
@@ -79,8 +79,8 @@ namespace corsika {
     bool isBelowEnergyCut(TParticle const&) const;
 
     //! defines which particles are invisible, by default only neutrinos
-    bool isInvisible(Code const &) const;
-    
+    bool isInvisible(Code const&) const;
+
   private:
     bool doCutEm_;
     bool doCutInv_;
-- 
GitLab