Message: ParticleGun Set energy spectrum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None ParticleGun Set energy spectrum 

Forum: Particles
Date: 25 Mar, 2016
From: <Nicolas78>

Hi everyone,

I'd like to know how to set an energy spectrum without using GPS(for some reasons) but with the particleGun. Indeed, I have a data file with the energy distribution and I want to implement it in my primarygeneratoraction. I've tried the example eventgenerator/particlegun/run2.mac but it doesn't give a complete spectrum (it's not doing the interpolation like in GPS/inter/Lin).

To recap, is it possible to do the following GPS commands with particleGun ? /gps/ene/type Arb /gps/hist/type arb /gps/hist/file ... /gps/hist/inter Lin

Thanks in advance,

Nicolas

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

1 None: Re: ParticleGun Set energy spectrum   (michel maire - 25 Mar, 2016)
(_ None: Re: ParticleGun Set energy spectrum   (Nicolas78 - 25 Mar, 2016)
 Add Message Add Message
to: "ParticleGun Set energy spectrum"

 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 ]