GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Tracking » Charge in FairTrackPar and GeaneTrackRep
Re: Charge in FairTrackPar and GeaneTrackRep [message #11114 is a reply to message #11113] Fri, 22 October 2010 10:24 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi,
I remember some time ago it was decided to use the integer for the charge in geane interface and, in trackbase, all the double were changed to int with the function TMath::Sign, e.g.:
fq = (int)TMath::Sign(1.0, fQp);
to avoid bad conversions.
Ciao,
Lia.
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Geometry of STT
Next Topic: Bug in PndGenfitAdapters
Goto Forum:
  


Current Time: Mon May 27 20:59:42 CEST 2024

Total time taken to generate the page: 0.01144 seconds