diff --git a/Documentation/Examples/cascade_example.cc b/Documentation/Examples/cascade_example.cc index cb06341c84be104542fd64451d1b72e6f5d8539c..2ef7cdcf0d03a973e5e57099d0fa11f48eabd58f 100644 --- a/Documentation/Examples/cascade_example.cc +++ b/Documentation/Examples/cascade_example.cc @@ -207,7 +207,6 @@ public: HEPEnergyType GetEmEnergy() const { return fEmEnergy; } }; - // // The example main program for a particle cascade // diff --git a/Documentation/Examples/vertical_EAS.cc b/Documentation/Examples/vertical_EAS.cc index 526498b2421055dc21596c76db08adf23842c38a..d029a35cf6c9eb0d1af938c5522d2ee68a4bf75a 100644 --- a/Documentation/Examples/vertical_EAS.cc +++ b/Documentation/Examples/vertical_EAS.cc @@ -210,7 +210,6 @@ public: HEPEnergyType GetEmEnergy() const { return fEmEnergy; } }; - // // The example main program for a particle cascade // diff --git a/Framework/StackInterface/testCombinedStack.cc b/Framework/StackInterface/testCombinedStack.cc index 8fe244b667bf736cc418368ee2e06116ef845608..aceccd1b472a99c57168eef4d78851b3641c092c 100644 --- a/Framework/StackInterface/testCombinedStack.cc +++ b/Framework/StackInterface/testCombinedStack.cc @@ -333,7 +333,8 @@ using StackTest2 = CombinedStack<typename StackTest::StackImpl, TestStackData3, CombinedTestInterfaceType2>; #if defined(__clang__) -using StackTestView = SecondaryView<typename StackTest2::StackImpl, CombinedTestInterfaceType2>; +using StackTestView = + SecondaryView<typename StackTest2::StackImpl, CombinedTestInterfaceType2>; #elif defined(__GNUC__) || defined(__GNUG__) using StackTestView = corsika::stack::MakeView<StackTest2>::type; #endif diff --git a/Framework/Units/PhysicalConstants.h b/Framework/Units/PhysicalConstants.h index 78f9ecd35a5872ccc05ddebab3dd5f6873a65d1f..23494f036ed2f692de71984c8fc1b81a6d919112 100644 --- a/Framework/Units/PhysicalConstants.h +++ b/Framework/Units/PhysicalConstants.h @@ -50,7 +50,7 @@ namespace corsika::units::constants { constexpr quantity<mass_d> u{Rep(1.6605402e-27L) * kilogram}; auto constexpr nucleonMass = 0.5 * (0.93827 + 0.93957) * 1e9 * electronvolt; - + // molar gas constant auto constexpr R = Rep(8.314'459'8) * joule / (mole * kelvin); diff --git a/Framework/Utilities/sgn.h b/Framework/Utilities/sgn.h index 71d5bec5bbb59fe8c71ef35d0c3f9da1a40b27b7..43d9a9fad728785ec851424b2113f5e7dac60af1 100644 --- a/Framework/Utilities/sgn.h +++ b/Framework/Utilities/sgn.h @@ -3,12 +3,12 @@ namespace corsika::utl { -//! sign function without branches -template <typename T> -static int sgn(T val) { - return (T(0) < val) - (val < T(0)); -} + //! sign function without branches + template <typename T> + static int sgn(T val) { + return (T(0) < val) - (val < T(0)); + } -} +} // namespace corsika::utl #endif diff --git a/Processes/EnergyLoss/EnergyLoss.h b/Processes/EnergyLoss/EnergyLoss.h index 711e135f716099fc3204a9be14239239a97a3016..d0726d9d44220f27c356f5128a43a0092cecc558 100644 --- a/Processes/EnergyLoss/EnergyLoss.h +++ b/Processes/EnergyLoss/EnergyLoss.h @@ -44,7 +44,8 @@ namespace corsika::process::energy_loss { static units::si::HEPEnergyType BetheBloch(setup::Stack::ParticleType const& p, const units::si::GrammageType dX); - int GetXbin(setup::Stack::ParticleType const&, setup::Trajectory const&, units::si::HEPEnergyType); + int GetXbin(setup::Stack::ParticleType const&, setup::Trajectory const&, + units::si::HEPEnergyType); units::si::HEPEnergyType fEnergyLossTot; units::si::GrammageType fdX; // profile binning diff --git a/Processes/Pythia/Decay.cc b/Processes/Pythia/Decay.cc index 670d24196423606bbce79329ce95272630412633..20d2aaa5044e484b2727e5cdc03f011fe36be83b 100644 --- a/Processes/Pythia/Decay.cc +++ b/Processes/Pythia/Decay.cc @@ -147,7 +147,6 @@ namespace corsika::process::pythia { // set particle stable Decay::SetStable(vP.GetPID()); - } } // namespace corsika::process::pythia