GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » Problems with FTF/DPM with Geant4
icon8.gif  Problems with FTF/DPM with Geant4 [message #18104] Wed, 01 April 2015 17:30 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Dear DPM and FTF experts,
trying to use these event generators with new packages I have found several problems once using geant4, while with geant3 everything seems fine.

In particular, if I run dpm direct with geant4 (macro/qa/dpm4/sim_complete.C) I have the following error once TGeant4 is created (I believe):

Info in <TG4RootNavMgr::SetNavigator>: TG4RootNavigator created and registered to G4TransportationManager

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PART002
      issued by : G4ParticleTable::CheckReadiness()
Illegal use of G4ParticleTable :  Access to G4ParticleTable for finding a particle or equivalent
operation occurs before G4VUserPhysicsList is instantiated and
assigned to G4RunManager. Such an access is prohibited by
Geant4 version 8.0. To fix this problem, please make sure that
your main() instantiates G4VUserPhysicsList and set it to
G4RunManager before instantiating other user classes such as
G4VUserPrimaryParticleGeneratorAction.
*** Fatal Exception *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***



If I try ftf with geant4 (macro/qa/ftf4/sim_complete.C):

Info in <TG4RootNavMgr::SetNavigator>: TG4RootNavigator created and registered to G4TransportationManager

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : Run0002
      issued by : G4RunManagerKernel::G4RunManagerKernel()
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 G4RunManagerKernel fatal exception
  -- Following particles have already been registered
     before G4RunManagerKernel is instantiated.
     B+
     B-
     B0
     Bc+

Toggle Spoiler

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

*** Fatal Exception *** core dump ***
-------- EEEE -------- G4Exception-END --------- EEEE -------


*** G4Exception: Aborting execution ***


The latter case comes from the fact that FTF is using Geant4 particle table without the G4RunManagerKernel initialization. The first i case I do not understand since it seems to me the DPM code is not using geant4.

I would like to ask the experts to check and fix, in practice now we cannot produce background events with geant4.
 
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Test
Next Topic: FTF stand-alone
Goto Forum:
  


Current Time: Tue Apr 23 12:53:19 CEST 2024

Total time taken to generate the page: 0.01090 seconds