X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliTPCClusterFinder.cxx;h=2ae668697a100a35de5b3383f56c7a3ff99cd9dd;hb=88ce87da11f481b47fec90877934eae3a456c52a;hp=a72e95360608320ac84b368624e5f0b83c35c828;hpb=67d37b32b48ffc72de2e5ecbbd8dd15dc1b6fdf6;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliTPCClusterFinder.cxx b/TPC/AliTPCClusterFinder.cxx index a72e9536060..2ae668697a1 100644 --- a/TPC/AliTPCClusterFinder.cxx +++ b/TPC/AliTPCClusterFinder.cxx @@ -15,6 +15,15 @@ /* $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 +#include //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(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) { //