Cut on minimal amplitude to dump
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Jan 2007 16:19:12 +0000 (16:19 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Jan 2007 16:19:12 +0000 (16:19 +0000)
TPC/AliTPCclustererMI.cxx

index b132ab1..5fa8076 100644 (file)
@@ -572,7 +572,7 @@ void AliTPCclustererMI::AddCluster(AliTPCclusterMI &c, Float_t * matrix, Int_t p
   if (matrix) {
     Int_t nbins=0;
     Float_t *graph =0;
-    if (fRecoParam->GetCalcPedestal()){
+    if (fRecoParam->GetCalcPedestal() && cl->GetMax()>fRecoParam->GetDumpAmplitudeMin()){
       nbins = fMaxTime;
       graph = &(fBins[fMaxTime*(pos/fMaxTime)]);
     }