]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing wrong usage of bits
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Jul 2011 23:13:49 +0000 (23:13 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 28 Jul 2011 23:13:49 +0000 (23:13 +0000)
STEER/STEERBase/AliTrackReference.cxx

index 8157ab3b4671aad6ab37c17616f031671ce37101..549844bce38d0ef8169184d9287f4cfd4651fa8c 100644 (file)
@@ -118,16 +118,16 @@ AliTrackReference::AliTrackReference(Int_t label, Int_t id) :
   // Set Up status code 
   // Copy Bits from virtual MC
 
-  for(Int_t i=0; i<16; i++) ResetBit(BIT(i));
-
-  SetBit(BIT(0), gMC->IsNewTrack());
-  SetBit(BIT(1), gMC->IsTrackAlive());
-  SetBit(BIT(2), gMC->IsTrackDisappeared());
-  SetBit(BIT(3), gMC->IsTrackEntering());
-  SetBit(BIT(4), gMC->IsTrackExiting());
-  SetBit(BIT(5), gMC->IsTrackInside());
-  SetBit(BIT(6), gMC->IsTrackOut());
-  SetBit(BIT(7), gMC->IsTrackStop()); 
+  for(Int_t i=14; i<22; i++) ResetBit(BIT(i));
+
+  SetBit(BIT(14), gMC->IsNewTrack());
+  SetBit(BIT(15), gMC->IsTrackAlive());
+  SetBit(BIT(16), gMC->IsTrackDisappeared());
+  SetBit(BIT(17), gMC->IsTrackEntering());
+  SetBit(BIT(18), gMC->IsTrackExiting());
+  SetBit(BIT(19), gMC->IsTrackInside());
+  SetBit(BIT(20), gMC->IsTrackOut());
+  SetBit(BIT(21), gMC->IsTrackStop()); 
   //
   // This particle has to be kept