Message: Run Geant4 + Geant4e simultaneously Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Run Geant4 + Geant4e simultaneously 

Forum: Run Management
Date: 13 Jan, 2012
From: <>

Hi everyone,

I'm actually trying to improve a tracking software for the Belle-II experiment. I want to do track extrapolation with Geant4e error propagation. This is because the old extrapolation package is still based on Geant3/Geane which is too unprecise and uses a different geometry format.

For developing and testing reasons I made a Geant4 program which produces hits in a simple detector construction, and hands them over to the fitting/extrapolation software (GENFIT). This works great for the old version based on Geane.

But if I now try my own version updated to Geant4e, it throws exeptions like

*** G4Exception : RunInitializationAtIncorrectState
      issued by : G4RunManagerKernel::RunInitialization
Geant4 kernel not in Idle state : method ignored.
*** This is just a warning message.

when doing G4ErrorPropagatorManager::GetErrorPropagatorManager()->InitGeant4e(); in the constructor of the class responsible for extrapolation;

and later

ERROR - G4ErrorPropagator::PropagateOneStep()
        Called before initialization is done for this track.
        Please call G4ErrorPropagatorManager::InitGeant4e().

*** G4Exception : InvalidCall
      issued by : G4ErrorPropagator::PropagateOneStep()
Called before initialization is done for this track!
*** Fatal Exception *** core dump ***

*** G4Exception: Aborting execution ***

when trying to do the propagation.

So, how can I fix this to work properly? I've already heard that it's a bit tricky to use G4 and G4e simultaneously... there seem to be needed different PhysicsLists and a detector without sensitive parts. Does anyone know how to do that in detail?

Thanks for the effort..! Regards, Phil

 Add Message Add Message
to: "Run Geant4 + Geant4e simultaneously"

 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 ]