|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Day1 master macros [message #20041 is a reply to message #19386] |
Wed, 07 December 2016 09:38 |
Dmitry Khaneft
Messages: 75 Registered: January 2009
|
continuous participant |
From: *emp.him.uni-mainz.de
|
|
Hi Florian,
Now, I'm not very familiar with git and I followed the instructions given at the PandaRoot Wiki.
After executing (today)
git clone https://github.com/FairRootGroup/FairSoft fairsoft_may16p1
cd fairsoft_may16p1
git checkout -b may16p1 may16p1
Executing git branch in the fairsoft_may16p1 I get
[khaneftd@himster fairsoft_may16p1]$ git branch
master
* may16p1
While in the fairsoft_may16p1/tools/root I get
[khaneftd@himster root]$ git branch
* master
Also, the git log in fairsoft_may16p1/tools/root gives
commit 349cf7f1602eb5ceb0a63e0c84bcf9acde47f89f
Author: Bertrand Bellenot <Bertrand.Bellenot@cern.ch>
Date: Tue Dec 6 15:56:22 2016 +0100
It seems that the root is taken from the master branch, but why?
[Updated on: Wed, 07 December 2016 09:59] Report message to a moderator
|
|
|
|
|
|
|
Re: Day1 master macros [message #20246 is a reply to message #19386] |
Mon, 06 February 2017 14:27 |
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
|
|
|
Re: Day1 master macros [message #20247 is a reply to message #20246] |
Mon, 06 February 2017 14:50 |
Tobias Stockmanns
Messages: 489 Registered: May 2007
|
first-grade participant |
From: *hsi03.unitymediagroup.de
|
|
Dear Dmitry,
could you please check if the file is realy present at this place:
/data/work/kpha4/panda_gegm_sim/PandaDayOne/PandaRoot/macro/params/all_d ay1.par
Now your questions:
1. What is parAsciiFile?
This is a parameter file which contains the settings of parameters in an ASCII format. Just have a look at one of the files in /macro/params
2. What is inputDir, where should it point to?
The inputDir should point to the source directory of PandaRoot. It is automatically set in the macro via the $VMCWORKDIR variable. You have to call ". ./config.sh" in your build directory to set it.
3. How to set output file? The command fRun->SetOutput(output); as in digi macro doesn't work in the sim one.
In this macro the prefix of the output file name is set via PndMasterRunSim::Setup(TString outprefix). If outprefix is empty then the name is generated by the input to the particle generator.
In the other sim_complete.C macros you can set the output file name via FairRunSim::SetOutputFile(...).
Cheers,
Tobias
[Updated on: Mon, 06 February 2017 14:51] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|