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: *jinr.ru
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:
http://panda-wiki.gsi.de/cgi-bin/view/Computing/PandaRootCharmoniumTutor ial

BIG Thanks to: DipakMishra and SoerenLange
=============================================
for useful instructions!

1) EvtGen:

Errors:
================
================

>./configure
not find library

Because no path to library.

>make
error: makedepend not defined Method::............

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


Solution:

in configure:
=============

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

echo "EVTPYLIB=Pythia6" >> config.mk


in config.mk
===============

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
EVTPYLIB=Pythia6
(links on this library in fairsoft/generator/lib/;
library fairsoft/generator/Pythia6/
Match casse!)


(find)

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:

Error:....
====================

in mymacro.C
=============

Corrections

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

and

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: Mon Oct 25 21:04:24 CEST 2021

Total time taken to generate the page: 0.02189 seconds