Message: Having two run managers co-existing for full-simulation and quick reconstruction Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Having two run managers co-existing for full-simulation and quick reconstruction 

Forum: Run Management
Date: 10 Feb, 2006
From: Chris Tunnell <tunnell@mail.hep.utexas.edu>

In G4RunManager and the other RunManagers, there is a line in the constructor which prohibits multiple construction. This is a problem for me because in my geant4 detector simulation, I want to have reconstruction run in EndOfEventAction. What I would like to have happen is when EndOfEventAction receives an event, it loads up a run manager with a simplified geometry and physics list, and then geant4 propogates light until it triggers a PMT, and then this simple reconstruction simulation would return to the full simulation EndOfEventAction, just now the function had the simple reconstruction data.

Is this possible with or without hacking up geant4? All I can think of is having two seperate processes with different memory allocated for each so that way the static variables for both runmanagers cannot interfere.

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

1 None: Re: Having two run managers co-existing for full-simulation and quick reconstruction   (Makoto Asai - 10 Feb, 2006)
 Add Message Add Message
to: "Having two run managers co-existing for full-simulation and quick reconstruction"

 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 ]