Message: Re: How to implement in primarygenerator Action spectrum of gamma rays Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: How to implement in primarygenerator Action spectrum of gamma rays 

Keywords: spectrum of gamma rays
Forum: Event and Track Management
Re: Question How to implement in primarygenerator Action spectrum of gamma rays (Hayk Gabrielyan)
Date: 02 Dec, 2005
From: Gumplinger Peter <Gumplinger Peter>

I suggest you use C++ and code it in PrimaryGeneratorAction, throwing random numbers that decide between the energies you want to simulate; or else, you keep a counter.

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

 Add Message Add Message
to: "Re: How to implement in primarygenerator Action spectrum of gamma rays"

 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 ]