Changes in the clusterizer requested by MinJung
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Dec 2006 15:41:46 +0000 (15:41 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Dec 2006 15:41:46 +0000 (15:41 +0000)
TRD/AliTRDRecParam.cxx
TRD/AliTRDclusterizerV1.cxx

index 053194ad4781830247689882a36a8603e77e4d69..1226449d9e2b58486d75fd4fca1f27523868f027 100644 (file)
@@ -180,8 +180,8 @@ void AliTRDRecParam::Init()
   //
   
   // The default parameter for the clustering
-  fClusMaxThresh = 3.5;
-  fClusSigThresh = 1.5;
+  fClusMaxThresh = 4.5;
+  fClusSigThresh = 3.5;
 
   // Use the LUT
   fLUTOn         = kTRUE;
index 6f8f68f09fb2a7842ca81f3b1db7ee0b91d29cfa..c7d1e2fb0a9fd56449cabfc391789909a07fa159 100644 (file)
@@ -290,7 +290,8 @@ Bool_t AliTRDclusterizerV1::MakeClusters()
               if (signalM >= maxThresh) {
                 if ((TMath::Abs(signalL) <= signalM) && 
                     (TMath::Abs(signalR) <= signalM)) {
-                 if ((TMath::Abs(signalL) + TMath::Abs(signalR)) > sigThresh) {
+                 if ((TMath::Abs(signalL) >= sigThresh) ||
+                     (TMath::Abs(signalR) >= sigThresh)) {
                     // Maximum found, mark the position by a negative signal
                     digitsOut->SetDataUnchecked(row,col-1,time,-signalM);
                  }