IAP GITLAB

Skip to content
Snippets Groups Projects
Commit cba41ff4 authored by Remy Prechelt's avatar Remy Prechelt Committed by ralfulrich
Browse files

Remove Setup from CONEX.

parent ad793f82
No related branches found
No related tags found
2 merge requests!365Ci improve,!356Remove Setup and setup:: from framework
...@@ -125,7 +125,8 @@ namespace corsika { ...@@ -125,7 +125,8 @@ namespace corsika {
::conex::conexrun_(ipart, eprima, theta, phi, xminp, dimpact, ioseed.data()); ::conex::conexrun_(ipart, eprima, theta, phi, xminp, dimpact, ioseed.data());
} }
inline void CONEXhybrid::doSecondaries(setup::StackView& vS) { template <typename TStackView>
inline void CONEXhybrid::doSecondaries(TStackView& vS) {
auto p = vS.begin(); auto p = vS.begin();
while (p != vS.end()) { while (p != vS.end()) {
Code const pid = p.getPID(); Code const pid = p.getPID();
......
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#include <corsika/framework/geometry/Vector.hpp> #include <corsika/framework/geometry/Vector.hpp>
#include <corsika/framework/process/SecondariesProcess.hpp> #include <corsika/framework/process/SecondariesProcess.hpp>
#include <corsika/media/ShowerAxis.hpp> #include <corsika/media/ShowerAxis.hpp>
#include <corsika/setup/SetupStack.hpp>
#include <corsika/modules/conex/CONEX_f.hpp> #include <corsika/modules/conex/CONEX_f.hpp>
...@@ -29,7 +28,9 @@ namespace corsika { ...@@ -29,7 +28,9 @@ namespace corsika {
public: public:
CONEXhybrid(Point center, ShowerAxis const& showerAxis, LengthType groundDist, CONEXhybrid(Point center, ShowerAxis const& showerAxis, LengthType groundDist,
LengthType injectionHeight, HEPEnergyType primaryEnergy, PDGCode pdg); LengthType injectionHeight, HEPEnergyType primaryEnergy, PDGCode pdg);
void doSecondaries(setup::StackView&);
template <typename TStackView>
void doSecondaries(TStackView&);
void solveCE(); void solveCE();
......
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