GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Error running macro/run/sim_complete.C with Geant3
[FIXED] Error running macro/run/sim_complete.C with Geant3 [message #15737] Tue, 19 November 2013 15:43 Go to previous message
Maria Patsyuk is currently offline  Maria Patsyuk
Messages: 58
Registered: April 2010
continuous participant
From: *gsi.de
Dear all,

I'm trying to run the macro/run/sim_complete.C (see attached) with Geant3 and I'm getting the following error appearing at random event numbers (depending on the seed value). Is it possible to run this macro with Geant3? What should I do about this error? (What is the proper Geant version for these macros???)



Calculating cross section tables, see gphysi.dat for more information

Cross section calculation concluded successfully
[INFO ] Monte carlo Engine Initialisation with : TGeant3TGeo
**** GTRIGI: IEVENT= 1 IDEVT= 1 Random Seeds = 1106029016 0
[INFO ] FairPrimaryGenerator: (Event 1) 1 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 42.777955 (ns)
**** GTRIGI: IEVENT= 2 IDEVT= 2 Random Seeds = 1106029016 0
[INFO ] FairPrimaryGenerator: (Event 2) 1 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 46.327665 (ns)
**** GTRIGI: IEVENT= 3 IDEVT= 3 Random Seeds = 1106029016 0
[INFO ] FairPrimaryGenerator: (Event 3) 1 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 48.566205 (ns)
**** GTRIGI: IEVENT= 4 IDEVT= 4 Random Seeds = 1106029016 0
[INFO ] FairPrimaryGenerator: (Event 4) 1 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 57.228030 (ns)
**** GTRIGI: IEVENT= 5 IDEVT= 5 Random Seeds = 1106029016 0
[INFO ] FairPrimaryGenerator: (Event 5) 1 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 61.168181 (ns)
**** GTRIGI: IEVENT= 6 IDEVT= 6 Random Seeds = 1106029016 0
[INFO ] FairPrimaryGenerator: (Event 6) 1 primary tracks from vertex (0.000000, 0.000000, 0.000000 ) with beam gradiant (0.000000, 0.000000) Event Time = 61.669152 (ns)
Fatal in <TGeant3TGeo::CurrentBoundaryNormal>: The option SetComputeNextMatrix has not been activated.
aborting
#0 0x00007fd93329983e in __libc_waitpid (pid=<optimized out>, stat_loc=0x7fffeca715ac, options=<optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1 0x00007fd9332372c9 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:149
#2 0x00007fd93422cf06 in TUnixSystem::Exec (this=0x1a55430, shellcmd=0xa189330 "/d/panda01/mpatsyuk/apr13/apr13/etc/gdb-backtrace.sh 7710 1>&2") at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:2088
#3 0x00007fd93422d7d4 in TUnixSystem::StackTrace (this=0x1a55430) at /d/panda01/mpatsyuk/apr13/tools/root/core/unix/src/TUnixSystem.cxx:2336
#4 0x00007fd93411d51e in DefaultErrorHandler (level=6000, abort_bool=true, location=0x7fd9349fc20e "TGeant3TGeo::CurrentBoundaryNormal", msg=0x2a963f0 "The option SetComputeNextMatrix has not been activated.") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TError.cxx:188
#5 0x00007fd93411d82a in ErrorHandler(Int_t, const char *, const char *, typedef __va_list_tag __va_list_tag *) (level=6000, location=0x7fd9349fc20e "TGeant3TGeo::CurrentBoundaryNormal", fmt=0x7fd9238fafc0 "The option SetComputeNextMatrix has not been activated.", ap=0x7fffeca73a50) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TError.cxx:244
#6 0x00007fd934137e03 in TObject::DoError (this=0x6715770, level=6000, location=0x7fd9238faff8 "CurrentBoundaryNormal", fmt=0x7fd9238fafc0 "The option SetComputeNextMatrix has not been activated.", va=0x7fffeca73a50) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TObject.cxx:861
#7 0x00007fd934138317 in TObject::Fatal (this=0x6715770, location=0x7fd9238faff8 "CurrentBoundaryNormal", fmt=0x7fd9238fafc0 "The option SetComputeNextMatrix has not been activated.") at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TObject.cxx:926
#8 0x00007fd92386cdbf in TGeant3TGeo::CurrentBoundaryNormal (this=0x6715770, x=
0x7fffeca73d68, y=
0x7fffeca73d60, z=
0x7fffeca73d58) at TGeant3/TGeant3TGeo.cxx:708
#9 0x00007fd9259e4530 in PndDrc::ProcessHits (this=0x2a40b30, vol=0x9fc04a0) at /u/mpatsyuk/PANDA/new_trunk/drc/PndDrc.cxx:1105
#10 0x00007fd9291d4e0a in FairMCApplication::Stepping (this=0x2ab13d0) at /u/mpatsyuk/PANDA/new_trunk/base/sim/FairMCApplication.cxx:412
#11 0x00007fd92386bea2 in gustep_ () at TGeant3/TGeant3gu.cxx:869
#12 0x00007fd92384c372 in jumpt0_ (iadr=0x7fd923bb3448) at minicern/jumptn.c:74
#13 0x00007fd923683a32 in g3track () at gtrak/gtrack.F:222
#14 0x00007fd923869275 in gutrak_ () at TGeant3/TGeant3gu.cxx:554
#15 0x00007fd9236850da in gtreveroot () at gtrak/gtreveroot.F:168
#16 0x00007fd923869297 in gutrev_ () at TGeant3/TGeant3gu.cxx:574
#17 0x00007fd92384c372 in jumpt0_ (iadr=0x7fd923bb3460) at minicern/jumptn.c:74
#18 0x00007fd923507d39 in g3trig () at gbase/gtrig.F:62
#19 0x00007fd92385cc93 in TGeant3::Gtrig (this=0x6715770) at TGeant3/TGeant3.cxx:3264
#20 0x00007fd923863645 in TGeant3::ProcessEvent (this=0x6715770) at TGeant3/TGeant3.cxx:6411
#21 0x00007fd923863551 in TGeant3::ProcessRun (this=0x6715770, nevent=10) at TGeant3/TGeant3.cxx:6381
#22 0x00007fd9291d4212 in FairMCApplication::RunMC (this=0x2ab13d0, nofEvents=10) at /u/mpatsyuk/PANDA/new_trunk/base/sim/FairMCApplication.cxx:233
#23 0x00007fd9291c1b9a in FairRunSim::Run (this=0x25d2520, NEvents=10, NotUsed=0) at /u/mpatsyuk/PANDA/new_trunk/base/steer/FairRunSim.cxx:351
#24 0x00007fd9292245b4 in G__G__BaseDict_618_0_6 (result7=0x7fffeca80540, funcname=0x25ce350 "", libp=0x7fffeca75b30, hash=0) at /u/mpatsyuk/PANDA/build_Squeeze64_Apr2013/base/G__BaseDict.cxx:8423
#25 0x00007fd93262cecc in Cint::G__ExceptionWrapper (funcp=0x7fd92922442d <G__G__BaseDict_618_0_6(G__value*, char const*, G__param*, int)>, result7=0x7fffeca80540, funcname=0x25ce350 "", libp=0x7fffeca75b30, hash=0) at cint/cint/src/Api.cxx:393
#26 0x00007fd9327096e5 in G__execute_call (result7=0x7fffeca80540, libp=0x7fffeca75b30, ifunc=0x25ce350, ifn=0) at cint/cint/src/newlink.cxx:2408
#27 0x00007fd93270a098 in G__call_cppfunc (result7=0x7fffeca80540, libp=0x7fffeca75b30, ifunc=0x25ce350, ifn=0) at cint/cint/src/newlink.cxx:2612
#28 0x00007fd9326e2a6b in G__interpret_func (result7=0x7fffeca80540, funcname=0x21a00d0 "Run", libp=0x7fffeca75b30, hash=309, p_ifunc=0x25ce350, funcmatch=1, memfunc_flag=1) at cint/cint/src/ifunc.cxx:5791
#29 0x00007fd9326bba79 in G__getfunction (item=0x1a75ac6 "Run(nEvents)", known3=0x7fffeca817e8, memfunc_flag=1) at cint/cint/src/func.cxx:2660
#30 0x00007fd9327fa8fd in G__getstructmem (store_var_type=112, varname=..., membername=0x1a75ac6 "Run(nEvents)", memnamesize=2147483647, tagname=0x219f4a0 "fRun", known2=0x7fffeca817e8, varglobal=0x7fd932ac5160, objptr=2) at cint/cint/src/var.cxx:6818
#31 0x00007fd9327ea1db in G__getvariable (item=0x1a75ac0 "fRun->Run(nEvents)", known=0x7fffeca817e8, varglobal=0x7fd932ac5160, varlocal=0x7fffeca84a80) at cint/cint/src/var.cxx:5404
#32 0x00007fd9326aa788 in G__getitem (item=0x1a75ac0 "fRun->Run(nEvents)") at cint/cint/src/expr.cxx:1906
#33 0x00007fd9326a7f37 in G__getexpr (expression=0x1a909f0 "fRun->Run(nEvents)") at cint/cint/src/expr.cxx:1488
#34 0x00007fd93273d2ab in G__exec_function (statement=..., pc=0x7fffeca8415c, piout=0x7fffeca84158, plargestep=0x7fffeca84150, presult=0x7fffeca84080) at cint/cint/src/parse.cxx:645
#35 0x00007fd93274e28c in G__exec_statement (mparen=0x7fffeca84d8c) at cint/cint/src/parse.cxx:7371
#36 0x00007fd9326e611d in G__interpret_func (result7=0x7fffeca8fb70, funcname=0x1a68050 "sim_complete", libp=0x7fffeca85160, hash=1281, p_ifunc=0x2172fd0, funcmatch=1, memfunc_flag=0) at cint/cint/src/ifunc.cxx:6710
#37 0x00007fd9326bc83d in G__getfunction (item=0x1a67830 "sim_complete()", known3=0x7fffeca8fe38, memfunc_flag=0) at cint/cint/src/func.cxx:2901
#38 0x00007fd9326aa8a8 in G__getitem (item=0x1a67830 "sim_complete()") at cint/cint/src/expr.cxx:1918
#39 0x00007fd9326a7f37 in G__getexpr (expression=0x2258b20 "sim_complete()") at cint/cint/src/expr.cxx:1488
#40 0x00007fd93269473b in G__calc_internal (exprwithspace=0x1a698a0 "sim_complete()") at cint/cint/src/expr.cxx:1071
#41 0x00007fd9327592a9 in G__process_cmd (line=0x2258940 ".X /u/mpatsyuk/PANDA/new_trunk/macro/run/./sim_complete.C", prompt=0x1a590e8 "", more=0x1a590e0, err=0x7fffeca9384c, rslt=0x7fffeca937e0) at cint/cint/src/pause.cxx:2333
#42 0x00007fd9341d43f2 in TCint::ProcessLine (this=0x1a590a0, line=0x2258940 ".X /u/mpatsyuk/PANDA/new_trunk/macro/run/./sim_complete.C", error=0x7fffeca96674) at /d/panda01/mpatsyuk/apr13/tools/root/core/meta/src/TCint.cxx:545
#43 0x00007fd9341d4a84 in TCint::ProcessLineSynch (this=0x1a590a0, line=0x2258940 ".X /u/mpatsyuk/PANDA/new_trunk/macro/run/./sim_complete.C", error=0x7fffeca96674) at /d/panda01/mpatsyuk/apr13/tools/root/core/meta/src/TCint.cxx:624
#44 0x00007fd9340f8fe1 in TApplication::ExecuteFile (file=0x7fffeca94613 "sim_complete.C", error=0x7fffeca96674, keep=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:1028
#45 0x00007fd9340f8856 in TApplication::ProcessFile (this=0x1ba1550, file=0x7fffeca94613 "sim_complete.C", error=0x7fffeca96674, keep=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:904
#46 0x00007fd9340f8773 in TApplication::ProcessLine (this=0x1ba1550, line=0x7fffeca94610 ".x sim_complete.C", sync=false, err=0x7fffeca96674) at /d/panda01/mpatsyuk/apr13/tools/root/core/base/src/TApplication.cxx:877
#47 0x00007fd933cb648c in TRint::Run (this=0x1ba1550, retrn=false) at /d/panda01/mpatsyuk/apr13/tools/root/core/rint/src/TRint.cxx:418
#48 0x0000000000401322 in main (argc=1, argv=0x7fffeca96828) at /d/panda01/mpatsyuk/apr13/tools/root/main/src/rmain.cxx:29


Best regards,
Maria Patsyuk

[Updated on: Fri, 22 November 2013 10:13] by Moderator

Report message to a moderator

 
Read Message
Read Message
Previous Topic: [FIXED] Error while digi_complete.C with Geant4
Next Topic: [FIXED] crash in run/sim_complete.C with Geant4
Goto Forum:
  


Current Time: Tue May 28 01:28:59 CEST 2024

Total time taken to generate the page: 0.01143 seconds