IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ef399c12 authored by ralfulrich's avatar ralfulrich
Browse files

Fixed missing include

parent c5fe5e58
No related branches found
No related tags found
1 merge request!318Resolve "EPOS is missing"
...@@ -564,8 +564,7 @@ namespace corsika::epos { ...@@ -564,8 +564,7 @@ namespace corsika::epos {
" id= {}" " id= {}"
" p= {}", " p= {}",
pid, momentum.getComponents() / 1_GeV); pid, momentum.getComponents() / 1_GeV);
auto pnew = auto pnew = view.addSecondary(std::make_tuple(pid, momentum, pOrig, tOrig));
view.addSecondary(std::make_tuple(pid, energy, momentum, pOrig, tOrig));
Plab_final += pnew.getMomentum(); Plab_final += pnew.getMomentum();
Elab_final += pnew.getEnergy(); Elab_final += pnew.getEnergy();
} }
......
/*
* (c) Copyright 2021 CORSIKA Project, corsika-project@lists.kit.edu
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
#pragma once #pragma once
/* /*
......
...@@ -72,9 +72,7 @@ ...@@ -72,9 +72,7 @@
executable. If you include the header below multiple times and executable. If you include the header below multiple times and
link this togehter, it will fail. link this togehter, it will fail.
*/ */
#include <corsika/modules/sibyll/Random.hpp> #include <corsika/modules/Random.hpp>
#include <corsika/modules/urqmd/Random.hpp>
#include <corsika/modules/qgsjetII/Random.hpp>
using namespace corsika; using namespace corsika;
using namespace std; using namespace std;
......
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