IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 86bbba26 authored by Felix Riehn's avatar Felix Riehn
Browse files

do-clang

parent 5f56220e
No related branches found
No related tags found
No related merge requests found
......@@ -40,9 +40,8 @@ int main() {
cout << std::setw(20) << std::setfill(' ') << p << " | " << std::setw(10)
<< static_cast<int>(GetPDG(p)) << " | " << std::setw(10)
<< static_cast<int>(corsika::process::sibyll::ConvertToSibyll(p)) << " | "
<< std::setw(18) << GetMass(p) / 1_GeV << " | "
<< std::setw(18) << corsika::process::sibyll::GetSibyllMass(p) / 1_GeV << " | "
<< endl;
<< std::setw(18) << GetMass(p) / 1_GeV << " | " << std::setw(18)
<< corsika::process::sibyll::GetSibyllMass(p) / 1_GeV << " | " << endl;
}
cout << std::setw(54) << std::setfill('-') << "-" << endl;
}
......@@ -13,7 +13,8 @@
using namespace corsika::process::sibyll;
corsika::units::si::HEPMassType corsika::process::sibyll::GetSibyllMass(corsika::particles::Code const pCode) {
corsika::units::si::HEPMassType corsika::process::sibyll::GetSibyllMass(
corsika::particles::Code const pCode) {
using namespace corsika::units;
using namespace corsika::units::si;
if (pCode == corsika::particles::Code::Nucleus)
......
......@@ -11,9 +11,9 @@
#ifndef _include_processes_sibyll_particles_h_
#define _include_processes_sibyll_particles_h_
#include <corsika/units/PhysicalUnits.h>
#include <corsika/particles/ParticleProperties.h>
#include <corsika/process/sibyll/sibyll2.3c.h>
#include <corsika/units/PhysicalUnits.h>
#include <string>
......@@ -53,7 +53,6 @@ namespace corsika::process::sibyll {
}
corsika::units::si::HEPMassType GetSibyllMass(corsika::particles::Code const);
} // namespace corsika::process::sibyll
......
......@@ -67,7 +67,6 @@ TEST_CASE("Sibyll", "[processes]") {
REQUIRE_FALSE(process::sibyll::GetSibyllMass(particles::Code::Electron) == 0_GeV);
}
}
#include <corsika/geometry/Point.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment