Skip to content

Commit

Permalink
Scoring re-structured, cuts still disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanGonzalezCaminero committed Nov 19, 2024
1 parent 31e10ee commit bdd19a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion include/AdePT/kernels/electrons.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ static __device__ __forceinline__ void TransportElectrons(adept::TrackManager<Tr
gamma1.eKin = theGamma1Ekin;
gamma1.dir.Set(theGamma1Dir[0], theGamma1Dir[1], theGamma1Dir[2]);
}
if (APPLY_CUTS && (theGamma2Ekin < theGammaCut)) {
if (false) {
// if (APPLY_CUTS && (theGamma2Ekin < theGammaCut)) {
// Deposit the energy here and kill the secondaries
energyDeposit += theGamma2Ekin;

Expand Down
3 changes: 0 additions & 3 deletions include/AdePT/kernels/gammas.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ __global__ void TransportGammas(adept::TrackManager<Track> *gammas, Secondaries
// if (APPLY_CUTS && elKinEnergy < theElCut) {
// Deposit the energy here and kill the secondary
edep += elKinEnergy;

}
else
{
Expand All @@ -227,8 +226,6 @@ __global__ void TransportGammas(adept::TrackManager<Track> *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
{
Expand Down

0 comments on commit bdd19a5

Please sign in to comment.