GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Day1 master macros
Re: Day1 master macros [message #20246 is a reply to message #19386] Mon, 06 February 2017 14:27 Go to previous messageGo to previous message
Dmitry Khaneft is currently offline  Dmitry Khaneft
Messages: 75
Registered: January 2009
continuous participant
From: *emp.him.uni-mainz.de
Now we got problems running it. As Stefano said, we used the following macro without any extra modifications as a test .../macros/qa/day1/sim_complete.C

The software we used:
FairSoft may16p1
FairRoot v-16.06
PandaRoot trunk 29337

Below is the output:

root [0] 
Processing sim_complete.C...
PndFileNameCreator::fFileName psi2s_jpsi2pi_jpsi_mumu 23
[INFO   ] -E- Could not open input file /data/work/kpha4/panda_gegm_sim/PandaDayOne/PandaRoot/macro/params/all_day1.par
Fatal in <FairParAsciiFileIo::open>: Could not open input file
aborting
#0  0x0000003aedaac65e in __libc_waitpid (pid=<value optimized out>, stat_loc=0x7fff042f583c, options=<value optimized out>) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1  0x0000003aeda3e609 in do_system (line=<value optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00002b0c378ea99f in TUnixSystem::StackTrace() () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#3  0x00002b0c37942831 in DefaultErrorHandler(int, bool, char const*, char const*) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#4  0x00002b0c37942296 in ErrorHandler () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#5  0x00002b0c3795fc54 in TObject::Fatal(char const*, char const*, ...) const () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#6  0x00002b0c3e7387e6 in FairParAsciiFileIo::open(char const*, char const*) () at /data/work/kpha4/panda_gegm_sim/PandaDayOne/FairRoot-16.06/parbase/FairParAsciiFileIo.cxx:78
#7  0x00002b0c4c232acb in PndMasterRunSim::Setup(TString) () at /data/work/kpha4/panda_gegm_sim/PandaDayOne/PandaRoot/PndTools/master/PndMasterRunSim.cxx:87
#8  0x00002b0c4c2405eb in G__G__MasterDict_776_0_2(G__value*, char const*, G__param*, int) () at /data/work/kpha4/panda_gegm_sim/PandaDayOne/PandaRoot/buildPanda/PndTools/master/G__MasterDict.cxx:1638
#9  0x00002b0c37e20aee in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#10 0x00002b0c37dc23c7 in G__execute_call () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#11 0x00002b0c37dc274d in G__call_cppfunc () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#12 0x00002b0c37e5ad38 in G__interpret_func () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#13 0x00002b0c37edc777 in G__getfunction () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#14 0x00002b0c37e0c24c in G__getstructmem(int, G__FastAllocString&, char*, int, char*, int*, G__var_array*, int) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#15 0x00002b0c37e04c04 in G__getvariable () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#16 0x00002b0c37e64daf in G__getitem () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#17 0x00002b0c37e6b66c in G__getexpr () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#18 0x00002b0c37db8505 in G__exec_statement () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#19 0x00002b0c37e59779 in G__interpret_func () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#20 0x00002b0c37edc7d5 in G__getfunction () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#21 0x00002b0c37e652b2 in G__getitem () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#22 0x00002b0c37e6b66c in G__getexpr () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#23 0x00002b0c37e761e8 in G__calc_internal () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#24 0x00002b0c37df5a77 in G__process_cmd () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCint.so.5
#25 0x00002b0c378dda80 in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#26 0x00002b0c378da14b in TCint::ProcessLineSynch(char const*, TInterpreter::EErrorCode*) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#27 0x00002b0c379370dc in TApplication::ExecuteFile(char const*, int*, bool) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#28 0x00002b0c37936640 in TApplication::ProcessLine(char const*, bool, int*) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libCore.so.5
#29 0x00002b0c371e1be2 in TRint::Run(bool) () from /data/work/kpha4/panda_gegm_sim/PandaDayOne/fairsoft_may16p1_install/lib/root/libRint.so.5
#30 0x000000000040127c in main ()


And few more questions:
1. What is parAsciiFile?
2. What is inputDir, where should it point to?
3. How to set output file? The command fRun->SetOutput(output); as in digi macro doesn't work in the sim one.

P.S. Sim macro /macro/qa/run3/sim_complete.C works without problems.

Cheers,
Dmitry
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Errors while installing FairSoft
Next Topic: classes for T0 Candidate algorithm implemented
Goto Forum:
  


Current Time: Sat Dec 04 12:28:27 CET 2021

Total time taken to generate the page: 0.02347 seconds