GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Event Generators » Problem using EvtGen
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


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


Current Time: Fri Apr 19 01:08:27 CEST 2024

Total time taken to generate the page: 0.01030 seconds