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 #9410 is a reply to message #9408] Fri, 18 September 2009 09:33 Go to previous messageGo to previous message
asanchez is currently offline  asanchez
Messages: 350
Registered: March 2006
first-grade participant
From: *pools.arcor-ip.net
Hi
i have been tracking particles ion-like,
by obtaining the charge by using GetChargeIon(Int_t ion)
in my class PndHypDPatternRecoTask.

If the question concerns whether geane can track particles
with charge magnitude bigger than 1 or not, that i don't know
because i was using LSLTrackRep. But i think it must be any problem. Long time ago, i remmember there were some problems
by trying get rid of pdgcode of ions, but maybe by giving the charge magnitude as I'm doing could solve the problem.

best regards
Alicia.

Int_t PndHypDPatternRecoTask::GetChargeIon(Int_t ion)
261 {
262 Int_t A,Z,L;
263
264 if(ion>1000000000&&(ion<1010000000))
265 { ion -= 1000000000;
266 Z = ion/10000;
267 ion -= 10000*Z;
268 A = ion/10;
269 cout<<" ion charge "<<Z<<endl;
270
271 return Z;
272
273 }


287 }
 
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 Dec 09 01:26:53 CET 2021

Total time taken to generate the page: 0.02438 seconds