]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removed completelly high noise at channel > 700 (Marian)
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 15 Jun 2008 12:52:42 +0000 (12:52 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 15 Jun 2008 12:52:42 +0000 (12:52 +0000)
TPC/AliTPCclustererMI.cxx

index afd6b76b86819dc03f16c99ca7a26c1450ce999f..b0923dd14c8a6990194d8c7bb1abfb3bfc809b4d 100644 (file)
@@ -1055,15 +1055,18 @@ void AliTPCclustererMI::FindClusters(AliTPCCalROC * noiseROC)
 
 Bool_t AliTPCclustererMI::AcceptCluster(AliTPCclusterMI *cl){
   //
-  // Currently hack to filter digital noise (13.06.2008)
+  // Currently hack to filter digital noise (15.06.2008)
   // To be parameterized in the AliTPCrecoParam
   // More inteligent way  to be used in future
+  // Acces to the proper pedestal file needed
   //
   if (cl->GetMax()<400) return kTRUE;
   Double_t ratio = cl->GetQ()/cl->GetMax();
+  if (cl->GetMax()>700){
+    if ((ratio - int(ratio)>0.8)) return kFALSE;
+  }
   if ((ratio - int(ratio)<0.95)) return kTRUE;
   return kFALSE;
-
 }