Message: Energy of the incident particle from the tracks Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Energy of the incident particle from the tracks 

Forum: Event and Track Management
Date: 23 Jun, 2013
From: Shilpi Jain <Shilpi Jain>

Dear all,

I am trying to calculate the energy of the incident particle by summing up all the tracks' energy like this:

if (aStep->GetTrack()->GetTrackStatus() != fAlive){

       G4double response = aStep->GetTrack()->GetTotalEnergy();


This way I expect the added response from all such tracks should be exactly = the incident energy.

However, I ran this for a 1 GeV electron and I see summed up energy sometimes of the order of a TeV and sometimes 100's of GeV.

Could you please tell as to where I am going wrong?

Thanks in advance, Best Regards, Shilpi Jain

 Add Message Add Message
to: "Energy of the incident particle from the tracks"

 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 ]