Message: Randomising primary particle based on a different code Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Randomising primary particle based on a different code 

Forum: Particles
Date: 16 Jan, 2014
From: Dipanwita Banerjee <Dipanwita Banerjee>

Hello, I would like to test anti-proton annihilation on a target. But I would like the distribution of my primary particles based on a C++ program I wrote. The anti-protons will have a free fall based on random velocities and will thus have a random distribution on the target. I am attaching a file showing this distribution. How can I incorporate this distribution in my PrimaryGeneratorAction. Is there a way to add my C++ code that generates this distribution into the Geant4 code? Any help will be appreciated....

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/16/01.57-32644-position.png

Thanks,

Dipanwita

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

1 None: Re: Randomising primary particle based on a different code   (michel maire - 16 Jan, 2014)
(_ More: Re: Randomising primary particle based on a different code   (Gumplinger Peter - 16 Jan, 2014)
 Add Message Add Message
to: "Randomising primary particle based on a different code"

 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 ]