GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problems with integer FairTrackPar charge
Re: Problems with integer FairTrackPar charge [message #9431 is a reply to message #9400] Mon, 21 September 2009 16:08 Go to previous message
Felix Boehmer is currently offline  Felix Boehmer
Messages: 149
Registered: May 2007
Location: Munich
first-grade participant

From: *e18.physik.tu-muenchen.de
Hi,

to me it looks like the int cast goes wrong. This would somehow explain why this is platform-dependant.

I replaced the corresponding fq assignments in FairTrackParP with statements like

  if(fQp<0)
    fq = -1;
  else
    fq = 1;


and it works now.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Crash in genfit/geane
Next Topic: Bug in sigleton classes in fairbase/base
Goto Forum:
  


Current Time: Thu Oct 10 21:17:12 CEST 2024

Total time taken to generate the page: 0.00932 seconds