GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] PndAnalysis::SetVerbose()
[FIXED] PndAnalysis::SetVerbose() [message #15009] Wed, 24 July 2013 09:47 Go to next message
Simone Esch is currently offline  Simone Esch
Messages: 37
Registered: August 2010
Location: Forschungszentrum Jülich...
continuous participant

From: *ext.kfa-juelich.de
Hello!

I have the following issue on my Mac (OS X 10.8.4)
With apr13 external packages and Pandaroot Rev 20693

I work with the PndAnalysis class. I use several class-functions without a problem.
But when I try to set the verbose level with
theAnalysis=new PndAnalysis("SttMvdGemFtsGenIdealTrackSelection");
theAnalysis->SetVerbose(1);


everything compiles fine, but when I try to run my macro with my own analysis task I get the following output :

dlopen error: dlopen(/Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so, 9): Symbol not found: __ZN11PndAnalysis8fVerboseE
  Referenced from: /Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so
  Expected in: flat namespace
 in /Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so
Load Error: Failed to load Dynamic link library /Users/simone/fairroot/buildpandaroot_newest/lib/libMCMatchExamples.so
Warning: Return value of void run_eventana_complete() ignored run_eventana_complete.C:37:
root [1] 


When I remove from the PndAnalysis task the static definition from the fVerbose variable and the line (line 45 in .cxx)
Int_t PndAnalysis::fVerbose=1;

whitch defines the variable outside of the class evrything works fine.

Is there any reason why it is like this? Can one change this?

Best regards

Simone


[Updated on: Tue, 13 August 2013 14:44]

Report message to a moderator

Re: PndAnalysis::SetVerbose() [message #15014 is a reply to message #15009] Wed, 24 July 2013 10:13 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: 2.235.190*
Why PndAnalysis::fVerbose is static?
Re: PndAnalysis::SetVerbose() [message #15081 is a reply to message #15009] Thu, 01 August 2013 10:26 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Will be fixed.
I have no Idea why this integer is static. It shall not be.

Ralf
Previous Topic: [FIXED] I want to do simulation for pid It is showing warning and error at the time of running
Next Topic: [FIXED] error after updating pandaroot
Goto Forum:
  


Current Time: Fri Apr 19 14:19:31 CEST 2024

Total time taken to generate the page: 0.01091 seconds