Problem using EvtGen [message #10889] |
Mon, 26 July 2010 13:09 |
Dipanwita Dutta
Messages: 25 Registered: May 2009
|
continuous participant |
From: *gsi.de
|
|
Hi
I was trying to use EvtGen.
After going to pgenerators/EvtGen and
./simpleEvtGen doesn't work
Do I have to compile it?
I tried to compile it in pgenerators/EvtGen dir
by the command ./configure
which shows:
ls: /lib/libpythia*.a: No such file or directory
ls: /lib/libphotos*.a: No such file or directory
ls: /lib/libpdf*.a: No such file or directory
Any path to be set?
Is there any wiki page where can I get
the instructions which work out of box?
The EvtGen Wiki psge somehow confused me.
Please let me know how to proceed.
best regards,
Dipanwita
|
|
|
|
Re: Problem using EvtGen [message #10891 is a reply to message #10889] |
Mon, 26 July 2010 16:49 |
Jens Sören Lange
Messages: 193 Registered: June 2005
|
first-grade participant |
From: *web.vodafone.de
|
|
Hi Dipanwita,
I think your problem could be that probably you didn't set the CERN library.
export CERN_ROOT=....
(whereever your CERN library is).
However, there is now another (probably easier) way to run EvtGen,
namely the PndEvtGenDirect, developed by Björn Spruck (but undocumented yet).
I think so far we only have a small tutorial example existing.
http://panda-wiki.gsi.de/cgi-bin/view/Computing/PandaRootCharmoniumTutor ial
under item (3).
PndEvtGenDirect *EvtGen = new PndEvtGenDirect("psi(2S)","PSI2S.DEC");
primGen->AddGenerator(EvtGen);
is how to use it directly in your simulation macro.
You need a few ASCII files (evt.pdl, DECAY.DEC and your own decay file, e.g. PSI2S.DEC in this case), but it is maybe easier than compiling simpleEvtGen.cc.
cheers, Soeren
|
|
|