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 #9413 is a reply to message #9411] Fri, 18 September 2009 13:20 Go to previous messageGo to previous message
Lia Lavezzi
Messages: 291
Registered: May 2007
Location: Torino
first-grade participant

From: *pv.infn.it
Hi all,
to answer your questions about GEANE: geane is able to track any particle (so also particle with charge different from +1 and -1 and neutral particles).

I will check with prof. Rotondi the interface to be sure that everything works fine: it surely works for charge +1 or -1,
it should be working also for other charged tracks (I made a quick test and it seems right) and it surely does not work for neutral particles (since we store as first track parameter q/p and in that case q = 0).

By the side of geane it should be enough to use, as Ralf said, the TMath::Nint(Float_t) function if we want to have an integer charge (or to go back to double if we decide to).

Best regards,
Lia.
 
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: Sat Dec 07 15:42:01 CET 2024

Total time taken to generate the page: 0.00710 seconds