Message: New user, need some tips. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea New user, need some tips. 

Forum: Documentation and Examples
Date: 01 Mar, 2007
From: Alex <>


I am a first year student, and I need geant4 for a simulation.

I started reading the application developer guide, but I would be grateful if you could guide me with some problems I encountered in my setup.

I need to create a box with a magnetic field inside to deviate some random particles generated with a particle gun. The particles will be deviated under a certain angle. At a given location I must insert a detector (Si detector) that should count the number of particles that hit that certain detector. This is the first part of the simulation (just to get the hang of it, and then create the complex setup I need).

So I started to modify the ExeampleN01. I know have a PB box and a particle gun that shots a proton. I also added physics processes after looking over ExampleN02.

So, what do I need to study next in order to create a detector that will count the particles that went throught it? I need to also see some information about the particles (kinetic energy for example). And I still could not figure it out how to shoot for example 1000 particles under different angle from the same particle gun. I modified nb_particles and it shoots 1000 particles, but how can I generate a random angle for each one?

Sorry if this sounds simple to you, but for a beginner this small things makes you loose a lot of time, sometimes not knowing where to start from.

Thank you for you time.

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

1 None: Re: New user, need some tips.   (Vladimir IVANTCHENKO - 01 Mar, 2007)
(_ None: Re: New user, need some tips.   (alex - 07 Mar, 2007)
 Add Message Add Message
to: "New user, need some tips."

 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 ]