IAP GITLAB

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

print also unknown

parent f259f973
No related branches found
No related tags found
1 merge request!186Resolve "particle list example"
Pipeline #1228 passed
...@@ -39,7 +39,7 @@ int main() { ...@@ -39,7 +39,7 @@ int main() {
<< " | " << endl; << " | " << endl;
cout << std::setw(104) << std::setfill('-') << "-" << endl; cout << std::setw(104) << std::setfill('-') << "-" << endl;
for (auto p : corsika::particles::detail::all_particles) { for (auto p : corsika::particles::detail::all_particles) {
if (p != Code::Unknown && !IsNucleus(p)) { if (!IsNucleus(p)) {
auto const sib_id = static_cast<int>(corsika::process::sibyll::ConvertToSibyll(p)); auto const sib_id = static_cast<int>(corsika::process::sibyll::ConvertToSibyll(p));
auto const sib_mass = corsika::process::sibyll::GetSibyllMass(p) / 1_GeV; auto const sib_mass = corsika::process::sibyll::GetSibyllMass(p) / 1_GeV;
auto const qgs_id = auto const qgs_id =
......
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