Message: Calculate deposit from child track with condition Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Calculate deposit from child track with condition 

Forum: Event and Track Management
Date: 14 Nov, 2017
From: Alexey Solovyev <Alexey Solovyev>

Hello,
I need to score dose deposit from all particles, which born from certain ancestor particle which had some condition. To be more precise, I need to explicitly calculate the deposit from secondary protons and electrons, which born from neutron with < 10 keV, and that neutrons are born somewhere inside my volumes (collimators) or moderated (filters), while particle source is 14 MeV neutrons.

With scoring part I'm pretty certain that I should score deposit in my SD for all particles which have some condition in my class inherited from G4UserTrackInformation. But I'm not sure how I can propagate the initial condition for secondary born neutrons as soon as neither TrackingAction::PreUserTrackingAction nor StackingAction::ClassifyNewTrack don't have access to parent track information (with ClassifyNewTrack I'll probably see some needed secondaries, but I'll still loose ones which born in cascade interactions).

I found some examples at old tips and tricks page http://geant4.slac.stanford.edu/Tips/event/3.html and http://geant4.slac.stanford.edu/Tips/event/6.html but I'm not sure how these examples are consistent with the latest Geant4 releases. Moreover the first example most likely to provide a great overhead for my case, and with second I'm not pretty sure of order call.

The way I see how to do it now is to implement my own G4VProcess which can put a flag in TrackInformation. But maybe there is a much simplier way following the Geant4 design philosophy or I forget some existing methods?

Thanks for any suggestions.

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

1 Idea: Re: Calculate deposit from child track with condition   (Michael H. Kelsey - 14 Nov, 2017)
1 Agree: Re: Calculate deposit from child track with condition   (Alexey Solovyev - 15 Nov, 2017)
2 None: Re: Calculate deposit from child track with condition   (Makoto Asai - 14 Nov, 2017)
1 More: Re: Calculate deposit from child track with condition   (Alexey Solovyev - 15 Nov, 2017)
 Add Message Add Message
to: "Calculate deposit from child track with condition"

 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 ]