GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Can't run Geane
Can't run Geane [message #9638] Fri, 30 October 2009 12:10 Go to next message
Anonymous Poster From: *inp.nsk.su
Hello!

I am trying to run run_kalman_stt.C macro from tutorials/analysis package. But it crashes with following error message:
FairGeanePro::TGeant3 has not been initialized! ABORTING!
terminate called without an active exception


The same happens for example, when I tried runGEANE1.C macro from tutorials/geane/ex1/ package.

Does somebody know how to correct this?

Best regards,


Andrey Sokolov
Re: Can't run Geane [message #9639 is a reply to message #9638] Fri, 30 October 2009 14:27 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,
please try to update the macros in tutorials/lhetrack.
I have fixed the mapper also for stt case.
Let me know, in my pc the stt macros work.
Re: Can't run Geane [message #9646 is a reply to message #9639] Mon, 02 November 2009 11:54 Go to previous messageGo to next message
Anonymous Poster From: *inp.nsk.su
Hi Stefano,

I have update the macros in the tutorials/lhetrack.
run_sim_sttcombi_evtgen.C is running without a problem. But run_digi_sttcombi.C crashes with following output:
digicounter: 14
n of hits: 14
MINUIT FIT 14
*******MINUIT********
D   SEED: 38.9956
PHI SEED: -2.79381
R   SEED: 1.01081
********************
 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 xc          -3.76113e+01  1.00000e-01   -3.00000e+03  3.00000e+03
     2 yc          -1.36348e+01  1.00000e-01   -3.00000e+03  3.00000e+03
     3 r            1.01081e+00  1.00000e-01    0.00000e+00  3.00000e+03
xcstart: -37.6113 ycxtart: -13.6348 rstart: 1.01081
xc: -37.6115
yc: -13.635
R:  1.01
n of hits: 14

 *** Break *** floating point exception
(no debugging symbols found)
Attaching to program: /proc/26427/exe, process 26427
(no debugging symbols found)...done.
(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
[


If I decrease the number of events to 5 it's finished without a crash. But when I tried run_reco_sttcomby.C it also crashed with following error message:
- RTDB container factory PndPidContFact 
-I- FairRunAna: Opening Input file: digi_sttcombi.root
-I- FairRunAna Input file: digi_sttcombi.root is connected to friend: points_sttcombi.root

 *** Break *** segmentation violation
(no debugging symbols found)
Attaching to program: /proc/26615/exe, process 26615
(no debugging symbols found)...done.


Andrey
Re: Can't run Geane [message #9647 is a reply to message #9646] Mon, 02 November 2009 13:24 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,
quite strange.
Are you sure you have cleaned the old files (i.e. the param file), and that you are using a recent version of the trunk?
Maybe you have something mixed up, in theory that macro should wotk, there were no substantial changes in the digi code.
Re: Can't run Geane [message #9655 is a reply to message #9647] Tue, 03 November 2009 08:34 Go to previous messageGo to next message
Anonymous Poster From: *inp.nsk.su
Hi Stefano,

you were right! After updating (to the rev. 6858) and cleaning up everything I am able to run run_digi_stt_sttcombi.C and run_reco_sttcombi.C from tutorial/lhetrack. But now I have the next problem when I run run_kalman_stt.C. It crashes with the following output:
 
Cross section calculation concluded successfully
 -I- FairMCApplication:: Monte carlo Engine Initialisation  with TGeant3TGeo
I- FairGeane::FairGeane:  Geane is Initialized 
-E- FairRootManager Branch: PndTpcCluster not found in Tree
-E- FairRootManager Branch: PndTpcCluster not found in Tree
Error in <PndLheKalmanTask::PndLheKalmanTask::Init>: PndTpcCluster array not found
-E- FairRootManager Branch: GEMHit not found in Tree
-E- FairRootManager Branch: GEMHit not found in Tree
Error in <PndLheKalmanTask::PndLheKalmanTask::Init>: GEMHit array not found
  *** S/R ERPROP   IERR =    2


     *** Error in subr. TRPROP   2  called bysubr. ERPROP


  *** S/R ERPROP   IERR =    2


     *** Error in subr. TRPROP   2  called bysubr. ERPROP



Do you have an idea what's wrong?

Andrey
Re: Can't run Geane [message #9656 is a reply to message #9655] Tue, 03 November 2009 09:37 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
Yes,
there is some but at the geane level that Lia is trying to solve.
In order to get rid of that crash, you have to copy the file

macro/pid/Geane.C


in your gconfig directory.
If you see still some crash, then please try to decrease the parameter for "air" step 0.01.
Please try and let me know.
Re: Can't run Geane [message #9659 is a reply to message #9656] Tue, 03 November 2009 12:59 Go to previous messageGo to next message
Anonymous Poster From: *inp.nsk.su
Thanks Stefano,

I have followed your advice and now it's running. Razz

I still have a question - when I run plot_kalman_stt.C it crashes because momfit histogram doesn't exist. Where it should be defined?

Andrey
Re: Can't run Geane [message #9660 is a reply to message #9659] Tue, 03 November 2009 13:56 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
in reality the macros you are referring are not updated anymore, because of the changes of the code last June

However, the lines:

lhe->Draw("LhePidTrack.GetMomentum().Mag()>>momlhe(100,0.5,1.5)","","goff");
momlhe->GetXaxis()->SetTitle("Momentum [GeV/c]");

fit->Draw("LheGenTrack.getMom().Mag()>>momfit(100,0.5,1.5)","","goff");
momfit->GetXaxis()->SetTitle("Momentum [GeV/c]");


should become:

lhe->Draw("LheTrack.GetParamFirst().GetMomentum().Mag()>>momlhe(100,0.5,1.5)","","goff");
momlhe->GetXaxis()->SetTitle("Momentum [GeV/c]");

fit->Draw("LheGenTrack.GetParamFirst().GetMomentum().Mag()>>momfit(100,0.5,1.5)","","goff");
momfit->GetXaxis()->SetTitle("Momentum [GeV/c]");


Becuase now all the tracks have a "PndTrack" structure.

Fixed in svn.

[Updated on: Tue, 03 November 2009 14:06]

Report message to a moderator

Previous Topic: Bug in sigleton classes in fairbase/base
Next Topic: libEmc.so: undefined symbol: _ZNK17IfdDataProxyIFace9make_vtabEv
Goto Forum:
  


Current Time: Sun Dec 01 02:02:16 CET 2024

Total time taken to generate the page: 0.01126 seconds