]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Check transport and not done bit.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Sep 2009 12:27:03 +0000 (12:27 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Sep 2009 12:27:03 +0000 (12:27 +0000)
EVGEN/AliGenExtFile.cxx

index 37943937e16a390bee78702b4b2875901eb8ce99..71c06a26652838a7a7610a0a68a204cfa45837cc 100644 (file)
@@ -157,7 +157,7 @@ void AliGenExtFile::Generate()
            origin[2] = fVertex[2] + jparticle->Vz();
        }
        
-       Int_t doTracking = fTrackIt && selected && !(jparticle->TestBit(kDoneBit));
+       Int_t doTracking = fTrackIt && selected && !(jparticle->TestBit(kTransportBit));
        Int_t parent     = jparticle->GetFirstMother();
        
        PushTrack(doTracking, parent, idpart, p, origin, polar, 0, kPPrimary, nt);