Home » PANDA » PandaRoot » Bugs, Fixes, Releases » genfit tracking with GEANE not working since geometry update
Re: genfit tracking with GEANE not working since geometry update [message #9493 is a reply to message #9458] |
Thu, 01 October 2009 11:35 |
Felix Boehmer
Messages: 149 Registered: May 2007 Location: Munich
|
first-grade participant |
From: *e18.physik.tu-muenchen.de
|
|
Hello again,
I've tried the new method in my reco macro, but unfortunately it does not work.
I initialize Geane as a task:
// ----- Digitization run -------------------------------------------
FairRunAna *fRun= new FairRunAna();
fRun->SetInputFile(inFile);
fRun->AddFriend(mcFile);
fRun->SetOutputFile(outFile);
FairGeane *Geane = new FairGeane();
fRun->AddTask(Geane);
std::cout<<"\nGEANE initialized"<<std::endl;
but I get a seg-fault before the cout is reached:
------------------------FairGeane::Init ()------------------------------
Loading Geant3 libraries ...
Loading Geant3 libraries ... finished
MZSTOR. ZEBRA table base TAB(0) in /MZCC/ at adr 736816599 2BEAEDD7 HEX
MZSTOR. Initialize Store 0 in /GCBANK/
with Store/Table at absolute adrs 736925941 736816599
HEX 2BEC98F5 2BEAEDD7
HEX 1A72A 0
relative adrs 108330 0
with 1 Str. in 2 Links in 5300 Low words in 4999970 words.
This store has a fence of 16 words.
MZLOGL. Set Log Level 0 for store 0
1***** GEANT Version 3.21/11 Released on 100298
0***** Correction Cradle Version 0.1100
MZDIV. Initialize Division Constant in Store 0
NW/NWMAX= 20004000000, MODE/KIND= 1 2
Division 20 initialized.
MZLINK. Initialize Link Area /GCLINK/ for Store 0 NL/NS= 20 20
MZLINK. Initialize Link Area /GCSLNK/ for Store 0 NL/NS= 100 100
-I- G3Config: Geant3 with TGeo has been created for Geane.
Energy straggling area parameter from user set to: 0.999
SetCuts Macro: Setting Processes..
SetCuts Macro: Setting cuts..
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb6afc6c0 (LWP 13038)]
0xb647bcfa in TGeoManager::GetListOfVolumes (this=0x0) at include/TGeoManager.h:432
432 TObjArray *GetListOfVolumes() const {return fVolumes;}
(gdb) where
#0 0xb647bcfa in TGeoManager::GetListOfVolumes (this=0x0) at include/TGeoManager.h:432
#1 0xaf7ee7ca in TGeant3TGeo::FinishGeometry (this=0xa8cbd70) at TGeant3/TGeant3TGeo.cxx:2091
#2 0xaf7e7073 in TGeant3::Init (this=0xa8cbd70) at TGeant3/TGeant3.cxx:6214
#3 0xb3dd478e in FairMCApplication::InitMC (this=0xa85fd70, setup=0xa860088 "/home/felix/simulation/trunk/gconfig/Geane.C", cuts=0xb1c91ee0 "")
at /home/felix/simulation/trunk/base/FairMCApplication.cxx:212
#4 0xb1c78904 in FairGeane::Init (this=0xa85fca0) at /home/felix/simulation/trunk/geane/FairGeane.cxx:122
#5 0xb1c78c19 in FairGeane (this=0xa85fca0, UserConfig=
{_vptr.TString = 0xbfe7b2e8, static fgInitialCapac = 15, static fgResizeInc = 16, static fgFreeboard = 15, fData = 0xbfe7b2e0 "h\202��\030\202��h\202��\030\202��C", static fgIsA = 0xa6f4588}, UserCuts=
{_vptr.TString = 0xbfe7b2e0, static fgInitialCapac = 15, static fgResizeInc = 16, static fgFreeboard = 15, fData = 0x6d614e54 <Address 0x6d614e54 out of bounds>, static fgIsA = 0xa6f4588}) at /home/felix/simulation/trunk/geane/FairGeane.cxx:47
#6 0xb1c8decb in G__GeaneDict_172_0_2 (result7=0xbfe871c4, funcname=0xa780658 "\001", libp=0xbfe7cb58, hash=0) at /home/felix/simulation/build/geane/GeaneDict.cxx:415
#7 0xb7092c1b in Cint::G__ExceptionWrapper (funcp=0xb1c8d25b <G__GeaneDict_172_0_2>, result7=0xbfe871c4, funcname=0xa780658 "\001", libp=0xbfe7cb58, hash=0)
at cint/cint/src/Api.cxx:384
#8 0xb71781f2 in G__execute_call (result7=0xbfe871c4, libp=0xbfe7cb58, ifunc=0xa780658, ifn=0) at cint/cint/src/newlink.cxx:2329
#9 0xb71801fc in G__call_cppfunc (result7=0xbfe871c4, libp=0xbfe7cb58, ifunc=0xa780658, ifn=0) at cint/cint/src/newlink.cxx:2515
#10 0xb713a75a in G__interpret_func (result7=0xbfe871c4, funcname=0xbfe8829c "FairGeane", libp=0xbfe7cb58, hash=866, p_ifunc=0xa780658, funcmatch=1, memfunc_flag=3)
at cint/cint/src/ifunc.cxx:5278
#11 0xb71253b7 in G__getfunction (item=0xbfe932ec "FairGeane()", known3=0xbfe932c4, memfunc_flag=3) at cint/cint/src/func.cxx:2534
#12 0xb715ef8f in G__new_operator (expression=0xbfe96dc0 "FairGeane") at cint/cint/src/new.cxx:410
#13 0xb70f550d in G__getexpr (expression=0xbfe96dbc "new FairGeane") at cint/cint/src/expr.cxx:1191
#14 0xb70e4ed8 in G__define_var (tagnum=3918, typenum=-1) at cint/cint/src/decl.cxx:2583
#15 0xb7192377 in G__defined_type (type_name=0xbfe990cc "FairGeane", len=9) at cint/cint/src/parse.cxx:4446
#16 0xb7198750 in G__exec_statement (mparen=0xbfea05a8) at cint/cint/src/parse.cxx:6414
#17 0xb70dbc30 in G__exec_tempfile_core (file=0xbfea1e7c "/home/felix/simulation/trunk/./DATA/dEdx/pion_500MeV_unif_angle/runReco.C", fp=0x0)
at cint/cint/src/debug.cxx:251
#18 0xb70dc019 in G__exec_tempfile (file=0xbfea1e7c "/home/felix/simulation/trunk/./DATA/dEdx/pion_500MeV_unif_angle/runReco.C") at cint/cint/src/debug.cxx:798
#19 0xb71add11 in G__process_cmd (line=0x9f13178 ".X /home/felix/simulation/fairsoft/tools/root/etc/plugins/TVirtualStreamerInfo/P010_TStreamerInfo.C",
prompt=0x9ee542c "", more=0x9ee5424, err=0xbfea47e0, rslt=0xbfea47ac) at cint/cint/src/pause.cxx:3089
#20 0xb7a12fc2 in TCint::ProcessLine (this=0x9ee5408,
line=0x9f13178 ".X /home/felix/simulation/fairsoft/tools/root/etc/plugins/TVirtualStreamerInfo/P010_TStreamerInfo.C", error=0xbfea4f6c)
at core/meta/src/TCint.cxx:413
---Type <return> to continue, or q <return> to quit---
#21 0xb7a094ba in TCint::ProcessLineSynch (this=0x9ee5408,
line=0x9f13178 ".X /home/felix/simulation/fairsoft/tools/root/etc/plugins/TVirtualStreamerInfo/P010_TStreamerInfo.C", error=0xbfea4f6c)
at core/meta/src/TCint.cxx:480
#22 0xb7904f1d in TApplication::ExecuteFile (file=0xbfea4f79 "DATA/dEdx/pion_500MeV_unif_angle/runReco.C", error=0xbfea4f6c, keep=false)
at core/base/src/TApplication.cxx:956
#23 0xb790513c in TApplication::ProcessFile (this=0x9f108a8, file=0xbfea4f79 "DATA/dEdx/pion_500MeV_unif_angle/runReco.C", error=0xbfea4f6c, keep=false)
at core/base/src/TApplication.cxx:841
#24 0xb7907a30 in TApplication::ProcessLine (this=0x9f108a8, line=0xbfea4f76 ".x DATA/dEdx/pion_500MeV_unif_angle/runReco.C", sync=false, err=0xbfea4f6c)
at core/base/src/TApplication.cxx:814
#25 0xb6df3a16 in TRint::Run (this=0x9f108a8, retrn=false) at core/rint/src/TRint.cxx:368
#26 0x08048f47 in main (argc=1, argv=0xbfea70a4) at main/src/rmain.cxx:29
(gdb)
At first glance I would guess this has something to do with the cuts and config files? The error seems to occur in the line
fApp->InitMC(ConfigMacro.Data(), "");
of the Init() method of FairGeane.
For my simulation runs I use custom SetCuts.C and g3Config.C. I tried the FairGeane(TString, TString) constructor that takes custom config files as well, but this gives another error. The config files from the repository are of course present in trunk/gconfig.
Cheers,
Felix
|
|
|
Goto Forum:
Current Time: Thu Mar 28 19:37:53 CET 2024
Total time taken to generate the page: 0.01078 seconds
|