Message: Track particle ID through specific volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Track particle ID through specific volume 

Forum: Event and Track Management
Date: 08 Mar, 2018
From: Ruaridh Scott <Ruaridh Scott>


I'm pretty new to Geant4, so apologies if this is a stupid question.

I'm trying to track the decays of neutral kaons through a simple geometry. What I want to read out is the physical volume each particle propagates through as well as the number for that particle. I can get the volume and ParentID from the track i.e track-.GetPhysicalVolume(), but the numbers that are coming out don't match the Geant4 particle list for the particle names. I've also tried track ID but I'm not sure what this does. Do I have to use sensitive detector and get the step properties or is there a simpler way?

Thanks in advance,


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

1 Feedback: Re: Track particle ID through specific volume   (Michael H. Kelsey - 08 Mar, 2018)
 Add Message Add Message
to: "Track particle ID through specific volume"

 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 ]