Message: Re: Energy deposited by secondary particles Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Energy deposited by secondary particles 

Forum: Hadronic Processes
Re: None Energy deposited by secondary particles
Re: None Re: Energy deposited by secondary particles (Ivan Brilkov)
Date: 10 Apr, 2014
From: <Sarah>

On Thu, 10 Apr 2014 09:05:53 GMT, Ivan Brilkov wrote:
> I'm currently working on similar problem. May be you should see example
> named "radioprotection": there are code that collects energies of
> secondary particles in root histograms. Look at
>        // Retrieve the secondary particles
>        G4TrackVector* fSecondary = steppingManager -> GetfSecondary();    
>        // Retrieve the info about the generation of secondary particles in the phantom and
>        // in the vehicle
>        G4String volumeName = (*fSecondary)[lp1] -> GetVolume() -> GetName(); 
>        G4String secondaryParticleName =  (*fSecondary)[lp1]->GetDefinition() -> GetParticleName();  
>        G4double secondaryParticleKineticEnergy =  (*fSecondary)[lp1] -> GetKineticEnergy(); 
>        G4String process = (*fSecondary)[lp1]-> GetCreatorProcess()-> GetProcessName();   
> In another example this code is used for getting Energy deposit, but
> it's applicable only for primary particles:
>   // collect energy and track length step by step
>     G4double edep = aStep->GetTotalEnergyDeposit();
> If you find a solution of this problem, please post here. Ivan

Hi Ivan,

I also came across the method you suggested where we could simply find the information of the kinetic energy of the secondary particles. Hopefully there is a way to find the total energy deposited for the secondary particles if this is possible for the primary particles. If I find a way I will let you know!


 Add Message Add Message
to: "Re: Energy deposited by secondary 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 ]