Message: Re: Particle gun direction Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Particle gun direction 

Forum: Event and Track Management
Re: Question Particle gun direction (Sean Turnbull)
Date: 10 Mar, 2003
From: michel maire <michel maire>

User Sean Turnbull wrote:

>> I have a setup of a lead cylinder of width 300mm and height 200mm.
>> 
>> I am wanting to fire a 500MeV beam of muons (mu-) isotropically over the
>> (flat) top of the cylinder. Also I am wanting the mu- distribution to be
>> random over the cylinder.
>> 
>> Is it possible to randomly alter the angle of incidence (relative to
>> perpendicular) to surface of the muons striking the target as well as
>> the distribution across width of cylinder?
>> 
>> I have this code: I know it is quite ugly though :)
>> http://sean-turnbull.ph.rmit.edu.au/PrimaryGeneratorAction.cc
>> 
>> Thanks all
>> 
>> Sean

examples/novice/N03 gives an example of random beam.
 See README and PrimaryGeneratorAction class.

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

 Add Message Add Message
to: "Re: Particle gun direction"

 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 ]