GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Geant4 not working with mc generation
Geant4 not working with mc generation [message #13688] Mon, 02 July 2012 16:57 Go to previous message
Raghav Kunnawalkam is currently offline  Raghav Kunnawalkam
Messages: 63
Registered: February 2012
Location: Stony Brook, New York
continuous participant
From: *physics.sunysb.edu
Hi All

I was doing mc simulations based on the examples given in fairroot and i have just noticed that i was using TGeant3 for all my stuff. I changed it to TGeant4 to see whats the difference since i was told the Geant4 has much better implementation of physics process for particles through a medium and it looks like my program is not able to see it. But i am very sure that my geant4 is properly defined.


here is the error message:

Loading Geant4 global libraries ...Our Macro
sh: /Users/raghav/fairsoft/bin/geant4-config: No such file or directory
Error in <TUnixSystem::GetFromPipe>: command "$SIMPATH/bin/geant4-config --libs" returned 32512
Loading VGM libraries ...
Loading g4root library ...
dlopen error: dlopen(/Users/raghav/fairsoft/transport/geant4_vmc/lib/libg4root.so, 9): Symbol not found: __ZTI27G4VUserDetectorConstruction
Referenced from: /Users/raghav/fairsoft/transport/geant4_vmc/lib/libg4root.so
Expected in: flat namespace
in /Users/raghav/fairsoft/transport/geant4_vmc/lib/libg4root.so
Load Error: Failed to load Dynamic link library /Users/raghav/fairsoft/transport/geant4_vmc/lib/libg4root.so
Warning: Return value of void g4libs_global() ignored /Users/raghav/fairsoft/transport/macro/g4libs.C:135:
Error: Symbol TG4RunConfiguration is not defined in current scope /Users/raghav/fairroot/example/gconfig/g4Config.C:29:
Error: Symbol TG4RunConfiguration is not defined in current scope /Users/raghav/fairroot/example/gconfig/g4Config.C:29:
Error: type TG4RunConfiguration not defined FILE:/Users/raghav/fairroot/example/gconfig/g4Config.C LINE:29
Error: Invalid type 'TG4RunConfiguration*' in declaration of 'runConfiguration' /Users/raghav/fairroot/example/gconfig/g4Config.C:29:
*** Interpreter error recovered ***
SetCuts Macro: Setting Processes..
Error: illegal pointer to class object gMC 0x0 3002 /Users/raghav/fairroot/example/gconfig/SetCuts.C:23:
*** Interpreter error recovered ***

*** Break *** segmentation violation

I appreciate the help guys,
Cheers
Raghav
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: My updated fairtools library not loading
Next Topic: Questions on HIts in detector and MCPoint
Goto Forum:
  


Current Time: Sat Nov 23 05:43:47 CET 2024

Total time taken to generate the page: 0.00770 seconds