Warning removal
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 Mar 2009 14:00:05 +0000 (14:00 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 22 Mar 2009 14:00:05 +0000 (14:00 +0000)
AliTPCkalmandEdx.cxx - initialize fInit in copy constructor - OK
AliTPCcalibBase.cxx  - initialize fTriggerClass in copy constructor
AliTPCCalPadRegion.cxx - warning: comparison between signed and unsigned integer expressions
AliTPCcalibCalib.cxx - double to integer

TPC/AliTPCCalPadRegion.cxx
TPC/AliTPCcalibBase.cxx
TPC/AliTPCcalibCalib.cxx
TPC/AliTPCkalmandEdx.cxx

index 3af7ec5..01e9315 100644 (file)
@@ -92,7 +92,7 @@ void       AliTPCCalPadRegion::SetObject(TObject* obj, UInt_t segment, UInt_t pa
     fObjects = new TObjArray(fgkNSegments * fgkNPadTypes);
     fObjects->SetOwner(kTRUE);
   }
-  if (fObjects->GetEntriesFast()<fgkNSegments * fgkNPadTypes){
+  if (fObjects->GetEntriesFast()<Int_t(fgkNSegments * fgkNPadTypes)){
     fObjects->Expand(fgkNSegments * fgkNPadTypes);
   }
   if (BoundsOk("SetObject", segment, padType)){ 
@@ -105,7 +105,7 @@ TObject*   AliTPCCalPadRegion::GetObject(UInt_t segment, UInt_t padType){
   //
   //
   //
-  if (fObjects->GetEntriesFast()<fgkNSegments * fgkNPadTypes){
+  if (fObjects->GetEntriesFast()<Int_t(fgkNSegments * fgkNPadTypes)){
     fObjects->Expand(fgkNSegments * fgkNPadTypes);
   }
   return fObjects->At(segment+fgkNSegments*padType); 
index 6c1a930..f0812f3 100644 (file)
@@ -105,6 +105,7 @@ AliTPCcalibBase::AliTPCcalibBase(const AliTPCcalibBase&calib):
   fTriggerMaskAccept(calib.fTriggerMaskAccept),   //trigger mask - accept trigger
   fHasLaser(calib.fHasLaser),                    //flag the laser is overlayed with given event
   fRejectLaser(calib.fRejectLaser),                 //flag- reject laser
+  fTriggerClass(calib.fTriggerClass),
   fDebugLevel(calib.fDebugLevel)
 {
   //
index e308d66..b7ea0f8 100644 (file)
@@ -224,6 +224,7 @@ Bool_t  AliTPCcalibCalib::RefitTrack(AliESDtrack * track, AliTPCseed *seed){
          "cl.="<<cluster<<
          "cy="<<dy<<
          "cz="<<dz<<
+         "cY="<<corrclY<<
          "cR="<<corrR<<
          "dxq="<<dxq<<
          "dyq="<<dyq<<
@@ -385,7 +386,7 @@ Bool_t  AliTPCcalibCalib::RefitTrack(AliESDtrack * track, AliTPCseed *seed){
   AliExternalTrackParam *t = &trackIn;
   track->Set(t->GetX(),t->GetAlpha(),t->GetParameter(),t->GetCovariance());
   seed->Set(t->GetX(),t->GetAlpha(),t->GetParameter(),t->GetCovariance());
-  seed->SetNumberOfClusters((nclIn+nclOut)*0.5);
+  seed->SetNumberOfClusters((nclIn+nclOut)/2);
   return kTRUE;
 }
 
index 5f844d2..d9173f7 100644 (file)
@@ -86,7 +86,8 @@ AliTPCkalmandEdx::AliTPCkalmandEdx(const AliTPCkalmandEdx & kalman):
   fNpad(kalman.fNpad),                  // number of pad types
   fNpar(kalman.fNpar),                // number of parameters
   fNelem(kalman.fNelem),                // number of elements
-  fSampleSize(kalman.fSampleSize)
+  fSampleSize(kalman.fSampleSize),
+  fInit(kalman.fInit)
 {
   //
   // copy constructor