Message: changing weight of the primary Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question changing weight of the primary 

Keywords: changinf weight
Forum: Event and Track Management
Date: 12 Jan, 2007
From: Alexei Klimenko <klilmenko@passportsystems.com>

Greetings,

I am trying to implement survival biasing. In order to do that I need to be able to change the weight of the primary particle.

I tried using ProposeParentWeight with no luck. It never actually changes the weight for the PostStepPoint.

I started going to deeper into the code.

It looks like Weight of the PostStepPoint should be updated through UpdateStepForPostStep in G4VParticleChange.icc. However this function never gets called by the SteppingManager. Instead InvokePSDIP function from G4SteppingManager.cc calls UpdateStepForPostStep from the concrete instance G4ParticleChange.cc.

What am I missing?

Thank you, Alexei

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

1 None: Re: changing weight of the primary   (Jane Tinslay - 16 Jan, 2007)
 Add Message Add Message
to: "changing weight of the primary"

 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 ]