g3config.C and g3config_new.C [message #8193] |
Thu, 09 April 2009 14:52 |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *kph.uni-mainz.de
|
|
Hi,
I'm trying to produce some simulation data.
At present, I'm following the example in the macro/fsim/* and macro/run/*
When I do run my MC script with fRun->SetName("TGeant4");,
the script is working properly well.
But if I try to run fRun->SetName("TGeant3");, they could not access gconfig/g3Config.C
Error message looks like this:
------------------------------------------------------------
FairGeanePro::TGeant3 has not been initialized! ABORTING!
terminate called without an active exception
------------------------------------------------------------
I found in gconfig/ that there are new additional version with name of g3Config_new.C. Now, I assume that I have to exchange this file.
How can I change from g3Config.C to g3Config_new.C
Do I need to recomplie full pandaroot after rename of this file?
or is it possible to change this file locally?
What do I have to do?
Best regards,
Donghee Kang
|
|
|
Re: g3config.C and g3config_new.C [message #8194 is a reply to message #8193] |
Thu, 09 April 2009 15:38 |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *kph.uni-mainz.de
|
|
When I try to run a demo with following script which is introduced in genfit tutorial
> root -l -q recotasks/demo/runMC.C
I have same problem with TGeant3.
But if I use TGeant4, it is going to be smooth.
Some messages from using TGeant3 are attached in below at the end.
Does anybody teach me what is happening in Geant3 part?
Thank you!
Error message:
==============================================================
============== FairRunSim: Initialising simulation run ==============
Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created
-I- FairGeoMedia Read media
FairRunSim::Init() create visualisation manager
-------------- Standard Config is called ------------------------------------
Loading Geant3 libraries ...
Loading Geant3 libraries ... finished
Error: Symbol TGeant3 is not defined in current scope /home/donghee/GSI/pandaroot/gconfig/g3Config.C:9:
Warning: Automatic variable TGeant3* geant3 is allocated /home/donghee/GSI/pandaroot/gconfig/g3Config.C:9:
(long)0
*** Interpreter error recovered ***
SetCuts Macro: Setting Processes..
Error: illegal pointer to class object gMC 0x0 1584 /home/donghee/GSI/pandaroot/gconfig/SetCuts.C:23:
*** Interpreter error recovered ***
*** Break *** segmentation violation
Attaching to program: /proc/13241/exe, process 13241
[Thread debugging using libthread_db enabled]
[New Thread 0xb6c446c0 (LWP 13241)]
done.
0xb7efd410 in __kernel_vsyscall ()
error detected on stdin
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/13241/exe, process 13241
[Updated on: Thu, 09 April 2009 15:40] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Re: g3config.C and g3config_new.C [message #8209 is a reply to message #8208] |
Tue, 14 April 2009 11:55 |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *kph.uni-mainz.de
|
|
Dear all,
After putting this special line gSystem->Load("SIMPATH/transport/geant3/lib/libgeant321.so"); in basiclib().
The message of TGeant3Geo loading error disappears and it seems to be worked.
However still I have a lot of other problem for understanding of all class and pandastructure.
Thank you for your kind help again.
I will post my other problem with different title soon.
Best wishes,
Donghee
|
|
|