GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] method missing in RhoCandidate
[FIXED] method missing in RhoCandidate [message #14871] Wed, 19 June 2013 13:48 Go to next message
Anastasia Karavdina is currently offline  Anastasia Karavdina
Messages: 76
Registered: May 2010
Location: Mainz, Germany
continuous participant

From: *adsl.alicedsl.de
Hi!
I tried to compile macro/lmd and got following error:

../../lib/libRho.so.0.0.0: undefined reference to `RhoCandidate::Daughter(int) const'


My guess this method is missing in cxx file.
Can expert check it, please?

To reproduce this, please, add following line in $PANDAROOT/macro/CMakeLists.txt:
add_subdirectory(lmd)



Best regards,
Anastasia.

[Updated on: Thu, 04 July 2013 12:14] by Moderator

Report message to a moderator

Re: method missing in RhoCandidate [message #14872 is a reply to message #14871] Wed, 19 June 2013 14:52 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Hi Anastasia,

I'll follow up that issue.

Two remarks here:
Please try to get your lmd package into the standard compilation, that such issues are found on the spot during development. Simply ask Stefano to add it into the CMakeLists.
The second thing is why do you depend on rho? Your lmd package is a detector package which should do Monte-Carlo, Digitization, Reconstruction. That's, to my understanding, the convention on detector packages. Rho, however is used for physics analysis on particle candidates. If you happen to do physics analysis and you put it to your lmd package I'd encourage you simply to create a new one for that. This will also avoid a circular dependency between the libraries.

If you get stuck, just ask again. I'll be off sorting the issue from above.

Cheers
Ralf
Re: method missing in RhoCandidate [message #14874 is a reply to message #14872] Wed, 19 June 2013 14:56 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
She is speaking about macro/lmd and not lmd packahe, which is already in the global compilation.
I have seen the macro/lmd cmakelist is following the old structure. You should updated it as Radek has shown several seevogh meetings ago.
Re: method missing in RhoCandidate [message #14876 is a reply to message #14872] Wed, 19 June 2013 15:14 Go to previous messageGo to next message
Anastasia Karavdina is currently offline  Anastasia Karavdina
Messages: 76
Registered: May 2010
Location: Mainz, Germany
continuous participant

From: *adsl.alicedsl.de
Hi Ralf,
Yes, Stefano is right, I am speaking about macro/lmd.
This dependences issue is bothering me since LMD started to use Kalman Filter from GenFit. As far as I remember it required many other systems libraries due to interface and somehow Rho was also needed (maybe because of dependences from Rho in other system)
I haven't check is it still issue now or not. But getting rid of other system dependences in our ToDo list. Thank you for advice.

Stefano, can you, please, post the link to Radek's talk? I can't find it.

Cheers,
Anastasia.
Re: method missing in RhoCandidate [message #14877 is a reply to message #14876] Wed, 19 June 2013 15:45 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
Sure:

http://panda-wiki.gsi.de/pub/Computing/Minutes27May2013/20130527_cmakeli sts.pdf

In theory in this way everything should be done automatically (hopefully). please update your cmakelists, and if it is still producing errors write here so that we can check. However, I feel this depends on the old structure, sicne all the other cmakelists are organized in a different way now. Radek did not check the cmake files not included in the global compilation, this is the reason why you have still the old scheme.
Re: method missing in RhoCandidate [message #14878 is a reply to message #14877] Wed, 19 June 2013 15:52 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Hi.

I also updated how RhoCandidate is used. Now it's pointers only! Since your macro/lmd is not compiled by default I did not notice that there will be changes necessary.

I'll postpone fixing that to tomorrow as I'm not in the office (and therefore lack the comfortable development tools).

Cheers.
Ralf
Re: method missing in RhoCandidate [message #14882 is a reply to message #14871] Wed, 19 June 2013 17:22 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Well.

You don't actually use the Analysis tools there, but the geralTools library. Why it's looking somewhere else is a mystery. BUT. I put a quick fix to the svn (commented a not implemented version of RhoCandidate::Daughter(int)) which was not that obvious.

I'll think of taking AnalysisTools off from the PndTools folder. Is that OK, Stefano?

Cheers
Ralf
Re: method missing in RhoCandidate [message #14883 is a reply to message #14882] Wed, 19 June 2013 17:43 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
Where to put it?
Re: method missing in RhoCandidate [message #14884 is a reply to message #14882] Wed, 19 June 2013 23:37 Go to previous message
Anastasia Karavdina is currently offline  Anastasia Karavdina
Messages: 76
Registered: May 2010
Location: Mainz, Germany
continuous participant

From: *adsl.alicedsl.de
Hi!

Ok, I cleaned dependences in lmd for packages as well as for macros
No dependence from Rho any more Rolling Eyes

Thank you both for your help!

Cheers,
Anastasia.
Previous Topic: [FIXED] crash
Next Topic: [FIXED] Problems in compiling EvtGenDirect
Goto Forum:
  


Current Time: Sun Oct 13 08:43:41 CEST 2024

Total time taken to generate the page: 0.00695 seconds