Message: Re: Modifying example Hadr03 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Modifying example Hadr03 

Forum: Hadronic Processes
Re: Question Modifying example Hadr03 (Peter Broere)
Date: 30 May, 2014
From: Dario Lattuada <Dario Lattuada>

On Thu, 22 May 2014 06:29:07 GMT, Peter Broere wrote:
>[cut]
> So my question is basically; is there anyone who has knowledge
> wether or not secondary particles are tracked, and if not, how do I fix
> it in an easy way? I am using DAWN for visualisation.

I'm quite new in G4 but I think that the last line in SteppingAction: 
  // kill event after first interaction
  //
  G4RunManager::GetRunManager()->AbortEvent();  

prevents the tracking of secondaries. You can comment it in order to have the secondaries propagated, but maybe you want to use some cuts now.

Sorry if it doesn't help,

Dario

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

1 Question: Re: Modifying example Hadr03   (jeonyboy@gmail.com - 12 Oct, 2015)
 Add Message Add Message
to: "Re: Modifying example Hadr03"

 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 ]