]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCClusterFinder.cxx
Test macro for the paramtrized reconstruction
[u/mrichter/AliRoot.git] / TPC / AliTPCClusterFinder.cxx
index a72e95360608320ac84b368624e5f0b83c35c828..2ae668697a100a35de5b3383f56c7a3ff99cd9dd 100644 (file)
 
 /*
 $Log$
+Revision 1.6  2001/10/21 19:07:24  hristov
+Several pointers were set to zero in the default constructors to avoid memory management problems
+
+Revision 1.5  2001/01/26 19:57:22  hristov
+Major upgrade of AliRoot code
+
+Revision 1.4  2000/10/05 16:08:15  kowal2
+Changes due to a new class AliComplexCluster. Forward declarations.
+
 Revision 1.3  2000/07/10 20:57:39  hristov
 Update of TPC code and macros by M.Kowalski
 
@@ -55,6 +64,7 @@ replacing AliClusterFinder
 #include "AliComplexCluster.h"
 #include "AliTPCClusterFinder.h"
 #include <fstream.h>
+#include <iostream.h>
 
 //direction constants possible direction in 8 different sectors
 //
@@ -99,6 +109,7 @@ ClassImp(AliTPCClusterFinder)
 AliTPCClusterFinder::AliTPCClusterFinder()
 {
   fDigits =0;
+  fCells = 0;
   fDimX = 0;
   fDimY = 0;
   fNoiseTh = 3;
@@ -115,6 +126,7 @@ AliTPCClusterFinder::AliTPCClusterFinder()
 
 
   fDetectorParam = 0;
+  fDetectorIndex = 0;
   ResetStatus(); 
   fBFit = kFALSE;
   fMinuit= new TMinuit(5);
@@ -209,7 +221,7 @@ void AliTPCClusterFinder::GetHisto(TH2F * his2)
        Int_t index = his2->GetBin(i+1,j+1);
        //AliCell * cell = GetCell(i,j);
        //if (cell!=0) cell->SetSignal(his2->GetBinContent(index));
-       SetSignal(his2->GetBinContent(index),i,j);
+    SetSignal(static_cast<int>(his2->GetBinContent(index)),i,j);
       }
    
 }
@@ -631,17 +643,6 @@ Float_t   AliTPCClusterFinder::GetVirtualSignal(Float_t ri, Float_t rj)
 
 
 
-void AliTPCClusterFinder::Streamer(TBuffer & R__b)
-{
-  if (R__b.IsReading()) {
-    //      Version_t R__v = R__b.ReadVersion();
-   } else {
-      R__b.WriteVersion(AliTPCClusterFinder::IsA());    
-   } 
-}
-
-
-
 void AliTPCClusterFinder::SetBlockIndex(Int_t * index)
 {
   //