Message: using spectrum in gps Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question using spectrum in gps 

Forum: Particles
Date: 26 Oct, 2017
From: Salman <Salman>

Hi I want to use the proton spectrum in geant4 with /gps/hist/file proton.txt command

but I have a question, 
 Can I use this command like this?

/gps/ene/type Pow /gps/ene/alpha -1 /gps/ene/min 1 MeV /gps/ene/max 1000 MeV /gps/hist/file proton.txt

or I can just use

/gps/ene/type Arb /gps/hist/file proton.txt /gps/hist/inter Log

in the first one, the program use the pow or my spectrum as source??

Thank you very much,

 Add Message Add Message
to: "using spectrum in gps"

 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 ]