Message: Re: Optical Photons Spectrum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Optical Photons Spectrum 

Forum: Processes Involving Optical Photons
Re: Question Optical Photons Spectrum (Dragos Constantin)
Re: Feedback Re: Optical Photons Spectrum (Gumplinger Peter)
Date: 21 Jan, 2011
From: Gumplinger Peter <Gumplinger Peter>

> if(theTrack->GetParentID()>0) //<<----- is this necessary ?

In your case, all of the optical photons have a parent ID > 0; e.g. they are not primary particles you have defined in your G4VUserPrimaryGeneratorAction

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

1 More: Re: Optical Photons Spectrum   (Gumplinger Peter - 21 Jan, 2011)
1 Idea: Re: Optical Photons Spectrum   (Benton Pahlka - 21 Jan, 2011)
1 Feedback: Re: Optical Photons Spectrum   (Dragos Constantin - 26 Jan, 2011)
2 Feedback: Re: Optical Photons Spectrum   (Dragos Constantin - 26 Jan, 2011)
 Add Message Add Message
to: "Re: Optical Photons Spectrum"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews