From 45bcf167fd64e45b7bc147c43419f985c69ee67b Mon Sep 17 00:00:00 2001 From: kowal2 Date: Wed, 5 Mar 2003 11:12:42 +0000 Subject: [PATCH] Corrected for compiler warnings --- CONTAINERS/AliCTypes.h | 3 ++- TPC/AliTPCTrackHitsV2.h | 4 ++-- TPC/AliTPCclustererMI.cxx | 7 ++++--- TPC/AliTPCtrackerMI.cxx | 7 ++++--- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CONTAINERS/AliCTypes.h b/CONTAINERS/AliCTypes.h index a870850cc8d..7188da4cbf3 100644 --- a/CONTAINERS/AliCTypes.h +++ b/CONTAINERS/AliCTypes.h @@ -48,7 +48,8 @@ public: \ void *operator new(size_t sz) { return TStorage::ObjectAlloc(sz); } \ void *operator new(size_t sz, void *vp) { return vp; } \ void Dump(); - static int ImplFileLine(); + +//static int ImplFileLine(){return 0;} #define LClassImp(name) \ void name::Dump() { \ diff --git a/TPC/AliTPCTrackHitsV2.h b/TPC/AliTPCTrackHitsV2.h index 60aa4be55e0..ad208e990b3 100644 --- a/TPC/AliTPCTrackHitsV2.h +++ b/TPC/AliTPCTrackHitsV2.h @@ -84,8 +84,8 @@ public: }; struct AliTPCCurrentHitV2 { - UInt_t fParamIndex;// - current param pointer - UInt_t fStackIndex; // - current hit stack index + Int_t fParamIndex;// - current param pointer + Int_t fStackIndex; // - current hit stack index Double_t fR; //current Radius Bool_t fStatus; //current status }; diff --git a/TPC/AliTPCclustererMI.cxx b/TPC/AliTPCclustererMI.cxx index 7dfd2563b0d..61d333587a9 100644 --- a/TPC/AliTPCclustererMI.cxx +++ b/TPC/AliTPCclustererMI.cxx @@ -428,7 +428,8 @@ void AliTPCclustererMI::AddCluster(AliTPCclusterMI &c){ if (fLoop==2) c.SetType(100); TClonesArray * arr = fRowCl->GetArray(); - AliTPCclusterMI * cl = new ((*arr)[fNcluster]) AliTPCclusterMI(c); + // AliTPCclusterMI * cl = + new ((*arr)[fNcluster]) AliTPCclusterMI(c); fNcluster++; } @@ -541,7 +542,7 @@ void AliTPCclustererMI::Digits2Clusters(const AliTPCParam *par, Int_t eventn) //first loop - for "gold cluster" fLoop=1; Int_t *b=&fBins[-1]+2*fMaxTime; - Int_t crtime = (fParam->GetZLength()-1.05*fRx)/fZWidth-5; + Int_t crtime = Int_t((fParam->GetZLength()-1.05*fRx)/fZWidth-5); for (Int_t i=2*fMaxTime; iGetEntriesFast();i++){ - AliTPCseed *pt=(AliTPCseed*)fSeeds->UncheckedAt(i), &t=*pt; + AliTPCseed *pt=(AliTPCseed*)fSeeds->UncheckedAt(i); if (!pt) continue; if (!pt->IsActive()) continue; pt->PropagateTo(90.); @@ -1837,7 +1837,8 @@ Int_t AliTPCtrackerMI::Clusters2Tracks(const TFile *inp, TFile *out) { vseed->fEPoints = new TClonesArray("AliTPCExactPoint",1); vseed->fPoints->ExpandCreateFast(2); - TBranch * seedbranch = seedtree.Branch("seeds","AliTPCseed",&vseed,32000,99); + //TBranch * seedbranch = + seedtree.Branch("seeds","AliTPCseed",&vseed,32000,99); //delete vseed; nseed=fSeeds->GetEntriesFast(); @@ -2350,7 +2351,7 @@ void AliTPCseed::CookdEdx(Double_t low, Double_t up) { //ampc *= 0.58; // put mean value to channel 50 Float_t w = 1.; // if (type>0) w = 1./(type/2.-0.5); - Float_t z = TMath::Abs(point->GetCPoint().GetZ()); + // Float_t z = TMath::Abs(point->GetCPoint().GetZ()); if (i<64) { ampc /= 0.6; //ampc /= (1+0.0008*z); -- 2.43.0