]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCClusterFinder.cxx
- Pass (p,E) with PushTrack.
[u/mrichter/AliRoot.git] / TPC / AliTPCClusterFinder.cxx
index a72e95360608320ac84b368624e5f0b83c35c828..a05541321ce5e8fcfd900ad8b85e8119169cbf90 100644 (file)
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
 
-/*
-$Log$
-Revision 1.3  2000/07/10 20:57:39  hristov
-Update of TPC code and macros by M.Kowalski
-
-Revision 1.2  2000/06/30 12:07:49  kowal2
-Updated from the TPC-PreRelease branch
-
-Revision 1.1.2.1  2000/06/25 08:52:51  kowal2
-replacing AliClusterFinder
-
-*/
+/* $Id$ */
 
 //-----------------------------------------------------------------------------
 //
@@ -54,7 +43,8 @@ replacing AliClusterFinder
 #include "TMarker.h"
 #include "AliComplexCluster.h"
 #include "AliTPCClusterFinder.h"
-#include <fstream.h>
+#include <Riostream.h>
+#include <Riostream.h>
 
 //direction constants possible direction in 8 different sectors
 //
@@ -67,7 +57,7 @@ const Int_t kClStackSize =1000;
 
 static AliTPCClusterFinder * gClusterFinder; //for fitting routine
 
-void gauss(Int_t &npar, Double_t *gin, Double_t &f, Double_t *par, Int_t iflag)
+void gauss(Int_t &/*npar*/, Double_t */*gin*/, Double_t &f, Double_t *par, Int_t /*iflag*/)
 {
   AliArrayI * points = gClusterFinder->GetStack();
   const Int_t nbins = gClusterFinder->GetStackIndex();
@@ -99,6 +89,7 @@ ClassImp(AliTPCClusterFinder)
 AliTPCClusterFinder::AliTPCClusterFinder()
 {
   fDigits =0;
+  fCells = 0;
   fDimX = 0;
   fDimY = 0;
   fNoiseTh = 3;
@@ -115,6 +106,7 @@ AliTPCClusterFinder::AliTPCClusterFinder()
 
 
   fDetectorParam = 0;
+  fDetectorIndex = 0;
   ResetStatus(); 
   fBFit = kFALSE;
   fMinuit= new TMinuit(5);
@@ -209,7 +201,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 +623,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)
 {
   //