GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » EvtGen: Some Errors and Solutions
EvtGen: Some Errors and Solutions [message #7408] Tue, 14 October 2008 12:23
Andrey Zorin is currently offline  Andrey Zorin
Messages: 2
Registered: June 2008
occasional visitor
From: *
I am thinking this topic will be useful someone.

I want very short describe errors and their solution ONLY for my computer:
for Gentoo, 2.6.25-r7, amd64, gcc-4.1.2

I did standard instruction:
0) emereg cernlib-2006 cern-montecarlo
1) install fairsoft;
2) install panda;

Script files is VERY BETTER then in this spring. Thanks!!
(one week installing process replace one half day)

Follow: ial

BIG Thanks to: DipakMishra and SoerenLange
for useful instructions!

1) EvtGen:


not find library

Because no path to library.

error: makedepend not defined Method::............

Because no path to *. files and not linked some ROOT libraryes.


in configure:

export CERN_ROOT=/usr
(if cernlib installed from gentoo emerge)

echo "EVTPYLIB=Pythia6" >>


EVTDEPINC add path to gcc library (gcc is not fine tuning)
EVTLINK add path to fairsoft/generators/lib
in EVTSYSLIB replace -lg2c follow lib -lgfortran
(links on this library in fairsoft/generator/lib/;
library fairsoft/generator/Pythia6/
Match casse!)


in Makefile,

sections panda/bin

add -lRIO -lMathCore -lThread -pthread -lm -rdynamic -lSQL -lNet

(all ROOT library
> root-config --libs)

2) Simulation:

Error: TpcDetector not defined....

Probably some mistake in file - not correct downloads.

I taken run_sim1.C and entered corrections.

3) Reconstruction:


in mymacro.C


TTree *t=(TTree*)f->Get("cbmsim");


TpcLheTrack replace PndTpcLheTrack
(you can see tree follow command: new TBrowser()Wink

Scincery, Andrey

[Updated on: Tue, 14 October 2008 12:28]

Report message to a moderator

Read Message
Previous Topic: Iron media definition
Next Topic: PropagteToVolume Problem in GeanePro
Goto Forum:

Current Time: Wed Oct 20 16:45:37 CEST 2021

Total time taken to generate the page: 0.02006 seconds