Message: G4hLowEnergyIonisation step length for low energy particles Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4hLowEnergyIonisation step length for low energy particles 

Forum: Electromagnetic Processes
Date: Oct 16, 07:33
From: Edward Santos <Edward Santos>

Hi, all!

In G4hLowEnergyIonisation process, why do we have a nonrandom step in the low energy range? Is there any physical reason for this, or is it just to minimise computational time?

My question concerns the piece of code that follows, which you can find in G4hLowEnergyIonisation.cc:

////////////////////////////////////////////////////////////////////////////
 if (fRangeNow > r) {
    stepLimit = dRoverRange*fRangeNow + r*(1.0 - dRoverRange)*(2.0 - r/fRangeNow);
    if (stepLimit > fRangeNow) stepLimit = fRangeNow;
  }
  // compute the (random) Step limit in standard energy range
  if(tscaled > highEnergy ) {

    // add Barkas correction directly to dedx
    fdEdx  += fBarkas;

    if(stepLimit > fRangeNow - dx*0.9) stepLimit = fRangeNow - dx*0.9 ;

  // Step limit in low energy range
  } else {
    G4double x = dx*paramStepLimit;
    if (stepLimit > x) stepLimit = x;
  }
  return stepLimit 
////////////////////////////////////////////////////////////////////////////

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: G4hLowEnergyIonisation step length for low energy particles   (Sebastien INCERTI - Oct 21, 09:28)
 Add Message Add Message
to: "G4hLowEnergyIonisation step length for low energy particles"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]