IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 7ca2ee5d authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

use ShowerAxis in stoppingPower.cc

parent 964cfb94
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@
*/
#include <corsika/environment/Environment.h>
#include <corsika/environment/ShowerAxis.h>
#include <corsika/geometry/Sphere.h>
#include <corsika/process/energy_loss/EnergyLoss.h>
#include <corsika/setup/SetupStack.h>
......@@ -44,9 +45,9 @@ int main() {
rootCS, 0_m, 0_m,
112.8_km); // this is the CORSIKA 7 start of atmosphere/universe
Vector<dimensionless_d> showerAxis(rootCS, {0, 0, -1});
process::energy_loss::EnergyLoss eLoss(injectionPos, showerAxis);
environment::ShowerAxis showerAxis{injectionPos,
Vector<length_d>{rootCS, 0_m, 0_m, 1_m}, env};
process::energy_loss::EnergyLoss eLoss{showerAxis};
setup::Stack stack;
......
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