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 #9428 is a reply to message #9423] Mon, 21 September 2009 11:43 Go to previous messageGo to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Following the previous suggestions I have substituted, in FairTrackParP.cxx, all the:

fq = int(P * fQp)


with:

fq = (int)TMath::Sign(1.0, fQp)


Now the code does not crash anymore (with 200 events), then maybe the problem is solved. Maybe this fix should be done even on the helix parameters...

I do not have the rights to write inside trackbase, therefore somebody else should do these changes and commit the code...
 
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: Fri Apr 19 16:05:16 CEST 2024

Total time taken to generate the page: 0.00737 seconds