Message: Infinite loop in GPS when using an user defined energy spectrum Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Infinite loop in GPS when using an user defined energy spectrum 

Forum: Event and Track Management
Date: 09 Sep, 2009
From: David Dennetiere <David Dennetiere>

Hello,

I am trying to use an user defined energy spectrum with GPS, using the "gps/hist/type" Arb option.

But GEANT4 seems to get stuck in an infinite loop when i ask it to run it. Here is my beam macro :

# GPS Specifications

/gps/particle gamma

/gps/position -2.5 0 0 m

/gps/ang/type iso

/gps/ene/type Arb

/gps/ene/min 0.02 MeV

/gps/ene/max 3. MeV

/gps/ene/diffspec false

/gps/hist/type arb

/gps/hist/point 0.030000 961.430176

/gps/hist/point 0.033000 957.592163

/gps/hist/point 0.036000 953.769409

/gps/hist/point 0.039000 949.961975

/gps/hist/point 0.042000 946.169678

/gps/hist/point 0.045000 942.392578

/gps/hist/point 0.048000 938.630554

/gps/hist/point 0.051000 934.883545

/gps/hist/point 0.054000 931.151428

/gps/hist/point 0.057000 927.434265

/gps/hist/point 0.060000 923.731934

/gps/hist/point 0.063000 920.044434

/gps/hist/point 0.066000 916.371582

...

/gps/hist/point 2.994000 18.475063

/gps/hist/point 2.997000 18.401312

1

/gps/verbose 1

/run/beamOn 1

There is less than 1000 points for info.

Has anyone any idea to solve my problem?

Thank you,

David Dennetiere

CEA (France)

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

1 Feedback: Re: Infinite loop in GPS when using an user defined energy spectrum   (Giovanni Santin - 09 Sep, 2009)
(_ Sad: Re: Infinite loop in GPS when using an user defined energy spectrum   (David Dennetiere - 09 Sep, 2009)
(_ Ok: Re: Infinite loop in GPS when using an user defined energy spectrum   (David Dennetiere - 10 Sep, 2009)
 Add Message Add Message
to: "Infinite loop in GPS when using an user defined 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 ]