]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix in AliDigits2Memory. Do not remove single timebins on one pad, because
authorvestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 May 2002 14:42:08 +0000 (14:42 +0000)
committervestbo <vestbo@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 22 May 2002 14:42:08 +0000 (14:42 +0000)
they can be a part of a bigger cluster...

HLT/src/AliL3FileHandler.cxx

index 9685842f66bf2fc4b9daa354bde3a0d052626e1d..b26415c67ebebbf32a72ce8995e6c9a81ff0982c 100644 (file)
@@ -261,11 +261,14 @@ AliL3DigitRowData * AliL3FileHandler::AliDigits2Memory(UInt_t & nrow,Int_t event
         pad=fDigits->CurrentColumn();
         dig = fDigits->GetDigit(time,pad);
         if(dig<=fParam->GetZeroSup()) continue;
-        if(time < fParam->GetMaxTBin()-1 && time > 0)
-          if(fDigits->GetDigit(time+1,pad) <= fParam->GetZeroSup()
-             && fDigits->GetDigit(time-1,pad) <= fParam->GetZeroSup())
-            continue;
-
+        
+       /*
+         if(time < fParam->GetMaxTBin()-1 && time > 0)
+         if(fDigits->GetDigit(time+1,pad) <= fParam->GetZeroSup()
+         && fDigits->GetDigit(time-1,pad) <= fParam->GetZeroSup())
+         continue;
+       */
+       
         AliL3Transform::Raw2Local(xyz,sector,row,pad,time);
         if(fParam->GetPadRowRadii(sector,row)<230./250.*fabs(xyz[2]))
           continue;
@@ -310,11 +313,14 @@ AliL3DigitRowData * AliL3FileHandler::AliDigits2Memory(UInt_t & nrow,Int_t event
         pad=fDigits->CurrentColumn();
         dig = fDigits->GetDigit(time,pad);
        if (dig <= fParam->GetZeroSup()) continue;
-       if(time < fParam->GetMaxTBin()-1 && time > 0)
+       
+       /*
+         if(time < fParam->GetMaxTBin()-1 && time > 0)
           if(fDigits->GetDigit(time-1,pad) <= fParam->GetZeroSup() &&
-             fDigits->GetDigit(time+1,pad) <= fParam->GetZeroSup()) continue;
-
-        //Exclude data outside cone:
+         fDigits->GetDigit(time+1,pad) <= fParam->GetZeroSup()) continue;
+       */
+        
+       //Exclude data outside cone:
         AliL3Transform::Raw2Local(xyz,sector,row,pad,time);
         if(fParam->GetPadRowRadii(sector,row)<230./250.*fabs(xyz[2]))
           continue;