Message: Re: Setting Track Info for secondaries Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Setting Track Info for secondaries  

Forum: Event and Track Management
Re: Question Setting Track Info for secondaries (Nigel Hawkes)
Re: Feedback Re: Setting Track Info for secondaries (Gumplinger Peter)
Re: None Re: Setting Track Info for secondaries (Hisaya Kurashige)
Re: Ok Re: Setting Track Info for secondaries (Nigel Hawkes)
Re: Feedback Re: Setting Track Info for secondaries (Gumplinger Peter)
Date: 28 Nov, 2013
From: Nigel Hawkes <Nigel Hawkes>

On Wed, 27 Nov 2013 20:33:40 GMT, Gumplinger Peter wrote:
> [...]
> It is (unfortunately for you) only called at the end of the producing
> primary's track.
> [...]

Thanks, you saved me a lot of hunting around in the documentation! Looks like it'll have to be Plan B, then...

An "official" way of tagging secondaries on a step-by-step basis would certainly be very welcome.

By the way, the two G4Track functions G4Track::G4Track(const G4Track& right) and G4Track::CopyTrackInfo(const G4Track& right) both use "*this = right". That presumably invokes operator=, so all three end up with the same behaviour.

Nigel

 Add Message Add Message
to: "Re: Setting Track Info for secondaries "

 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 ]