Message: Re: question about tutorial B4a Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: question about tutorial B4a 

Forum: Documentation and Examples
Re: None question about tutorial B4a (Sarah Eno)
Date: Mar 08, 09:31
From: michel maire <michel maire>

On Tue, 05 Mar 2019 03:24:16 GMT, Sarah Eno wrote:
> I am a professor at the University of Maryland. I am working with some
> students on example B4a. We have noticed that when the incident particle
> is a hadron, the sums fEnergyAbs and fEnergyGap does not equal the
> incident energy of the particle (it does a pretty good job for
> electrons). I assume this is from particle escaping the calorimeter. Is
> there an easy way to get the total energy of particles escaping the
> "World"?
> 

 In SteppingAction :
  G4StepStatus status = step->GetPostStepPoint()->GetStepStatus();
  if (status == fWorldBoundary) { G4double Ekin = step->GetTrack()->GetKineticEnergy();}

 Add Message Add Message
to: "Re: question about tutorial B4a"

 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 ]