From bdd19a52f2815bd17f09b30cd2e76f7ed5771b47 Mon Sep 17 00:00:00 2001 From: JuanGonzalezCaminero Date: Tue, 19 Nov 2024 16:47:08 +0100 Subject: [PATCH] Scoring re-structured, cuts still disabled --- include/AdePT/kernels/electrons.cuh | 3 ++- include/AdePT/kernels/gammas.cuh | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/AdePT/kernels/electrons.cuh b/include/AdePT/kernels/electrons.cuh index 3d929bd4..76a2e693 100644 --- a/include/AdePT/kernels/electrons.cuh +++ b/include/AdePT/kernels/electrons.cuh @@ -458,7 +458,8 @@ static __device__ __forceinline__ void TransportElectrons(adept::TrackManager *gammas, Secondaries // if (APPLY_CUTS && elKinEnergy < theElCut) { // Deposit the energy here and kill the secondary edep += elKinEnergy; - } else { @@ -227,8 +226,6 @@ __global__ void TransportGammas(adept::TrackManager *gammas, Secondaries // (copcore::units::kElectronMassC2 < theGammaCut && posKinEnergy < theElCut)) { // Deposit: posKinEnergy + 2 * copcore::units::kElectronMassC2 and kill the secondary edep += posKinEnergy + 2 * copcore::units::kElectronMassC2; - - } else {