IAP GITLAB

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

Removed Setup from PYTHIA.

parent 82fe8b75
No related branches found
No related tags found
2 merge requests!365Ci improve,!356Remove Setup and setup:: from framework
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
#include <corsika/framework/utility/COMBoost.hpp> #include <corsika/framework/utility/COMBoost.hpp>
#include <corsika/setup/SetupStack.hpp>
#include <corsika/setup/SetupTrajectory.hpp>
namespace corsika::pythia8 { namespace corsika::pythia8 {
......
...@@ -15,8 +15,6 @@ ...@@ -15,8 +15,6 @@
#include <corsika/media/Environment.hpp> #include <corsika/media/Environment.hpp>
#include <corsika/media/NuclearComposition.hpp> #include <corsika/media/NuclearComposition.hpp>
#include <corsika/setup/SetupStack.hpp>
#include <tuple> #include <tuple>
namespace corsika::pythia8 { namespace corsika::pythia8 {
...@@ -155,8 +153,9 @@ namespace corsika::pythia8 { ...@@ -155,8 +153,9 @@ namespace corsika::pythia8 {
} }
} }
template <typename TParticle>
inline GrammageType Interaction::getInteractionLength( inline GrammageType Interaction::getInteractionLength(
corsika::setup::Stack::particle_type const& particle) { TParticle const& particle) {
// coordinate system, get global frame of reference // coordinate system, get global frame of reference
MomentumVector const& pMomentum = particle.getMomentum(); MomentumVector const& pMomentum = particle.getMomentum();
......
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#include <corsika/framework/process/InteractionProcess.hpp> #include <corsika/framework/process/InteractionProcess.hpp>
#include <corsika/modules/pythia8/Pythia8.hpp> #include <corsika/modules/pythia8/Pythia8.hpp>
#include <corsika/setup/SetupStack.hpp>
#include <tuple> #include <tuple>
namespace corsika::pythia8 { namespace corsika::pythia8 {
...@@ -38,7 +36,8 @@ namespace corsika::pythia8 { ...@@ -38,7 +36,8 @@ namespace corsika::pythia8 {
std::tuple<CrossSectionType, CrossSectionType> getCrossSection( std::tuple<CrossSectionType, CrossSectionType> getCrossSection(
const Code BeamId, const Code TargetId, const HEPEnergyType CoMenergy); const Code BeamId, const Code TargetId, const HEPEnergyType CoMenergy);
GrammageType getInteractionLength(corsika::setup::Stack::particle_type const&); template <typename TParticle>
GrammageType getInteractionLength(TParticle const&);
/** /**
In this function PYTHIA is called to produce one event. The In this function PYTHIA is called to produce one event. The
......
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