GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » Problem using EvtGen
Problem using EvtGen [message #10889] Mon, 26 July 2010 13:09 Go to next message
Dipanwita Dutta is currently offline  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 #10890 is a reply to message #10889] Mon, 26 July 2010 16:39 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
there is a wiki page about it:

http://panda-wiki.gsi.de/cgi-bin/view/Computing/EvtGen

Good luck.
Re: Problem using EvtGen [message #10891 is a reply to message #10889] Mon, 26 July 2010 16:49 Go to previous message
Jens Sören Lange is currently offline  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


Previous Topic: PndFlukaGenerator and FairPrimaryGenerator
Next Topic: EvtGen and its future
Goto Forum:
  


Current Time: Fri Apr 26 02:59:23 CEST 2024

Total time taken to generate the page: 0.00851 seconds