Message: A question concerning the event biasing Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None A question concerning the event biasing  

Forum: Particles
Date: 16 May, 2012
From: Olivier Dadoun <Olivier Dadoun>

Dear all,

I have an electron phase space input file for Geant4. The format of my file is the following:

x1(cm) y1(cm) px1(MeV) py1(MeV) pz1(MeV) N1


xi(cm) yi(cm) pxi(MeV) pyi(MeV) pzi(MeV) Ni

Where Ni is the number of electrons which have the same phase parameters (xi,pi).

To manage this I can inside my PrimaryGeneratorAction do:





(and make a loop over all the file).

I would like to know if there is better way to proceed ? I though to the event biasing method (with some Weight for the particle considered) but I am not sure it is applicable here ...

Do you have any suggestions ?

By advance thank you



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

1 Feedback: Re: A question concerning the event biasing   (Gumplinger Peter - 16 May, 2012)
 Add Message Add Message
to: "A question concerning the event biasing "

 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 ]