[FIXED] Possible bug in PndEmcClusterMoments.cxx [message #17131] |
Tue, 05 August 2014 10:59 |
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
|
|
|