Message: Re: how to get the parent particle of Cerenkov photon? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: how to get the parent particle of Cerenkov photon? 

Forum: Event and Track Management
Re: None how to get the parent particle of Cerenkov photon?
Date: 18 Aug, 2006
From: Gumplinger Peter <Gumplinger Peter>

There is no quick answer to your question. I suggest you look at these tips:

http://geant4.slac.stanford.edu/Tips/event/1.html http://geant4.slac.stanford.edu/Tips/event/3.html http://geant4.slac.stanford.edu/Tips/event/4.html

You can also learn from LXeUserTrackInformation and LXeUserEventInformation in examples/extended/optical/LXe/

None of these examples does exactly what you want to know, but I am pretty sure that by following these tips and examples, you can store and retreive the parent particle of a Cerenkov photon, that parent particle's track length, and how many Cerenkov photons it produced (you need to count that yourself also). - The central problem is that G4Track is a transient class and any information attached to it or its G4VUserTrackInformation must be transfered over to its secondaries (the Cerenkov photons) or else the information is lost when the G4 navigator is finished tracking that instance of G4Track.

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

 Add Message Add Message
to: "Re: how to get the parent particle of Cerenkov photon?"

 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 ]