Message: fKillTrackAndSecondaries Background Process Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question fKillTrackAndSecondaries Background Process 

Forum: Event and Track Management
Date: 27 Jun, 2018
From: <fran>

Dear all,

can anyone explain what exactly happens when setting the track status in UserSteppingAction to fKillTrackAndSecondaries? More specifically, imagine a gamma passing a collimator slit (Wolfram) and interacting via compton scattering in a water phantom located right after the collimator. Imagine the case of a large scattering angle causing the gamma to be backscattered to the collimator and interacting with wolfram. In my scenario I would like to exclude any collimator scattering effects, so if track->GetMaterial()->GetName() is equal to "Wolfram", I call track->SetTrackStatus(fKillTrackAndSecondaries); However, in my simulations I get an unrealistic intensity drop when excluding collimator scattering. Is fKillTrackAndSecondaries killing all secondary particles currently in the stack (so in my example the secondary electron from compton scattering in water as well) or just the secondary particles produced in the step where gamma is interacting with Wolfram?

I would be very grateful for any hints, thank you in advance!

Best regards, Fran

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

1 Idea: Re: fKillTrackAndSecondaries Background Process   (Vladimir Ivanchenko - 04 Jul, 2018)
(_ Feedback: Re: fKillTrackAndSecondaries Background Process   (fran - 30 Jul, 2018)
 Add Message Add Message
to: "fKillTrackAndSecondaries Background Process"

 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 ]