Message: Determine previous volume with sensitive detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Determine previous volume with sensitive detector 

Forum: Event and Track Management
Date: 07 Jun, 2018
From: Wade <Wade>

I have a sensitive detector defined and I would like to know the volume the particle was in just prior to hitting the SD. Since the PreStep starts right at the detector, I don't think I can get that information from the step provided by the SD (please let me know if this is incorrect).

My thoughts are to do something like the extended example runAndEvent/RE01 and save the track, and then in the EventAction, match them up and figure it out that way. Please also let me know if there is a more efficient way to do this (maybe in the stepping action?).

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

1 Idea: Re: Determine previous volume with sensitive detector   (Vladimir Ivanchenko - 04 Jul, 2018)
 Add Message Add Message
to: "Determine previous volume with sensitive detector"

 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 ]