GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » [FIXED] Possible bug in PndEmcClusterMoments.cxx
[FIXED] Possible bug in PndEmcClusterMoments.cxx [message #17131] Tue, 05 August 2014 10:59 Go to previous message
Dariusch Deermann is currently offline  Dariusch Deermann
Messages: 2
Registered: August 2014
Location: Germany
occasional visitor
From: *ext.kfa-juelich.de
I tried installing Pandaroot with the newest external packages and received an error in PndEmcClusterMoments.cxx at line 340.
I was told to use the external packages from apr13 and now its compiling without any error or warning regarding this line, but when looking into it it really seems not correct:

aVector += displacement * displacement * digi->GetEnergy();

Here we have a TVector3 += TVector3^2 (=scalar) * scalar. So basically TVector3 += scalar, which doesn't make sense to me.
Since Pandaroot is now compiling without an error or warning for this, i'm not sure whether this is relevant, but it looks strange to me.

[Updated on: Wed, 10 September 2014 12:00] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Possible bug in scrut14 release?
Next Topic: [FIXED] dec13p1 fairsoft and evt-gen incompatible
Goto Forum:
  


Current Time: Sat Nov 23 01:36:13 CET 2024

Total time taken to generate the page: 0.01013 seconds