Message: Number of Events using Pythia Interface in ExampleN04 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Number of Events using Pythia Interface in ExampleN04 

Keywords: Pythia Interface
Forum: Documentation and Examples
Date: 04 Oct, 2006
From: Stephanie <svh13@student.canterbury.ac.nz>

I am using ExampleN04 with the Pythia Interface.

I have run this example for 100 Pythia events and 10,000 Pythia events
 but the output from both of these is identical which leads me to believe
 that GEANT is not reading in each event correctly.

Is there a limit to the number of events that GEANT can read
 using the Pythia Interface?

If not, I think the problem may be because I am writting out only 
 information concerning particular particles (see Pythia HEP2G4 subroutine
 below). This means the number of entries value at the begining of 
 each event (NHEP) does not correlate to the actual number of 
 lines following it.

Is there a way around this?

       WRITE(6,*) NHEP
       DO IHEP=1, NHEP
       If(abs(IDHEP(IHEP)).eq.211.or.abs(IDHEP(IHEP)).eq.111)then
       WRITE(6,10)
     > ISTHEP(IHEP),IDHEP(IHEP),JDAHEP(1,IHEP),JDAHEP(2,IHEP),
     > PHEP(1,IHEP),PHEP(2,OHEP),PHEP(3,IHEP),PHEP(5,IHEP)
     etc

Thanks for your help, Stephanie

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

1 None: Re: Number of Events using Pythia Interface in ExampleN04   (Makoto Asai - 04 Oct, 2006)
 Add Message Add Message
to: "Number of Events using Pythia Interface in ExampleN04"

 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 ]