Message: RE: Order of classes/functions called Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None RE: Order of classes/functions called 

Forum: Run Management
Re: None Order of classes/functions called (Mario)
Re: None RE: Order of classes/functions called (Makoto Asai)
Re: None RE: Order of classes/functions called (Mario)
Date: 21 Mar, 2008
From: Jeremy McCormick <Jeremy McCormick>

I second the suggestion to use gdb.

All you need to do is add the "-g" switch to your compiler arguments.

Then run...

gdb ./MyProgram

From within gdb...

> set args [arguments]
> r
[runs to crash]
> bt

Pretty easy and the best way to figure out your problem.

As to your original question, take a look at G4RunManager::DoEventLoop() and G4EventManager::ProcessOneEvent(), which contain the top-level control flow for run/event event processing.

But my guess is that the bug is within your code. The Geant4 run/event loop is unlikely to be causing your problem.

--Jeremy McCormick, SLAC

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

1 None: RE: Order of classes/functions called   (Mario - 22 Mar, 2008)
 Add Message Add Message
to: "RE: Order of classes/functions called"

 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 ]