Fix in hits pattern update
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2012 16:16:33 +0000 (16:16 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 26 Nov 2012 16:16:33 +0000 (16:16 +0000)
ITS/UPGRADE/AliITSUSeed.h

index 54711c8..c52338c 100644 (file)
@@ -47,7 +47,7 @@ inline void AliITSUSeed::SetLrClusterID(Int_t lr, Int_t cl)
 {
   // assign layer, cluster (if -1 - no hit on this layer)
   fClID = PackCluster(lr,cl);
-  if (cl>=0) fHitsPattern &= 0x1<<lr;
+  if (cl>=0) fHitsPattern |= 0x1<<lr;
 }