Message: Re: Defining initial track weight Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Defining initial track weight 

Forum: Event and Track Management
Re: None Defining initial track weight (Vlasios Vasileiou)
Re: None Re: Defining initial track weight (Vladimir IVANTCHENKO )
Date: 25 Apr, 2005
From: Vlasios Vasileiou <Vlasios Vasileiou>

Hi,

First of all thanks for your answer.

I started using a modified Cerenkov process, in which

.
.
.
aSecondaryTrack->SetParentID(aTrack.GetTrackID());
aSecondaryTrack->SetWeight(2);
aParticleChange.AddSecondary(aSecondaryTrack);
.
.
.

However, when I try to GetWeight from my fast simulation code I get
weight=1.

G4cout <<fastTrack.GetPrimaryTrack()->GetWeight()<<G4endl;


So..What's wrong?

Thanks,
Vlasios

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

1 None: Re: Defining initial track weight   (Vlasios Vasileiou - 03 May, 2005)
(_ Idea: Re: Defining initial track weight   (Peter Gumplinger - 03 May, 2005)
 Add Message Add Message
to: "Re: Defining initial track weight"

 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 ]