Inverted logic for kTransportBit
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Sep 2009 14:13:21 +0000 (14:13 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Sep 2009 14:13:21 +0000 (14:13 +0000)
EVGEN/AliGenExtFile.cxx

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