From c2216f0af62827cb4433c32bc7165e0bbb3937fb Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@kit.edu> Date: Tue, 7 Jul 2020 12:19:35 +0200 Subject: [PATCH] removed Xcut argument --- Processes/CONEXSourceCut/CONEXSourceCut.cc | 4 ++-- Processes/CONEXSourceCut/CONEXSourceCut.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Processes/CONEXSourceCut/CONEXSourceCut.cc b/Processes/CONEXSourceCut/CONEXSourceCut.cc index a31234908..e1455a3b2 100644 --- a/Processes/CONEXSourceCut/CONEXSourceCut.cc +++ b/Processes/CONEXSourceCut/CONEXSourceCut.cc @@ -89,7 +89,7 @@ void CONEXSourceCut::SolveCE() { conex::conexcascade_(); } CONEXSourceCut::CONEXSourceCut(geometry::Point center, environment::ShowerAxis showerAxis, units::si::LengthType groundDist, - units::si::GrammageType Xcut, + //units::si::GrammageType Xcut, units::si::HEPEnergyType primaryEnergy, particles::PDGCode primaryID) : center_{center} @@ -125,7 +125,7 @@ CONEXSourceCut::CONEXSourceCut(geometry::Point center, environment::ShowerAxis s showerAxis_.GetDirection().GetComponents(conexObservationCS_); double phi = 180 * std::atan2(-showerAxisConex.GetY().magnitude(), showerAxisConex.GetX().magnitude()); - double XmaxP_ = Xcut / (1_g / 1_cm / 1_cm); + //double XmaxP_ = Xcut / (1_g / 1_cm / 1_cm); int ipart = static_cast<int>(primaryID); auto rng = corsika::random::RNGManager::GetInstance().GetRandomStream("cascade"); diff --git a/Processes/CONEXSourceCut/CONEXSourceCut.h b/Processes/CONEXSourceCut/CONEXSourceCut.h index 918f6b1f3..477261c58 100644 --- a/Processes/CONEXSourceCut/CONEXSourceCut.h +++ b/Processes/CONEXSourceCut/CONEXSourceCut.h @@ -11,6 +11,8 @@ #ifndef _corsika_process_particle_cut_CONEXSourceCut_h_ #define _corsika_process_particle_cut_CONEXSourceCut_h_ +#include <ConexDynamicInterface.h> + #include <corsika/environment/ShowerAxis.h> #include <corsika/geometry/Point.h> #include <corsika/geometry/Vector.h> @@ -70,7 +72,7 @@ namespace corsika::process { public: CONEXSourceCut(geometry::Point center, environment::ShowerAxis showerAxis, - units::si::LengthType groundDist, units::si::GrammageType Xcut, + units::si::LengthType groundDist, /*units::si::GrammageType Xcut,*/ units::si::HEPEnergyType primaryEnergy, particles::PDGCode primaryID); corsika::process::EProcessReturn DoSecondaries(corsika::setup::StackView&); -- GitLab