IAP GITLAB

Skip to content
Snippets Groups Projects
Commit c2216f0a authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by ralfulrich
Browse files

removed Xcut argument

parent f1595965
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
......@@ -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&);
......
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