Message: GPS Command ignored Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question GPS Command ignored 

Keywords: General Particle Source
Forum: Particles
Date: 02 Sep, 2005
From: Nirmal Painuly <npp56@uow.edu.au>

Hi,
I am simulating a detector which require  multiple microplanar beams originating 
from same source. Simulation runs fine with one source without using GPS 
,however, when I try to run it using GPS it says </gps/hist/point  
command not found. ****** command ignored. I have replaced G4ParticleGun with 
G4GeneralParticleSource in "PrimaryGeneratorAction".
I am using spectrum in GPS which looks like this. 
/gps/particle  gamma
/gps/pos/type  Plane
/gps/pos/shape  Rectangle
/gps/pos/halfx   0.025 mm
/gps/pos/halfy   0.0125 mm
/gps/direction  0 0 1
# energy spectrum
/gps/ene/type User
/gps/ene/emspec  True
/gps/hist/type  energy
/gps/hist/point  1000  0
..
/gps/hist/point  35000  4498

/gps/hist/point  40000  120890
.
/gps/hist/point  600000  15
/tracking/verbose 1
/run/beamOn 1000

Thanks in anticipation.
Nirmal

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

 Add Message Add Message
to: "GPS Command ignored"

 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 ]