Change the definition of distance variables from int to float
authorgconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Nov 2009 11:21:34 +0000 (11:21 +0000)
committergconesab <gconesab@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 13 Nov 2009 11:21:34 +0000 (11:21 +0000)
EMCAL/AliEMCALRecPoint.cxx

index 408f5e9..a752eda 100644 (file)
@@ -522,9 +522,9 @@ void AliEMCALRecPoint::EvalDistanceToBadChannels(AliCaloCalibPedestal* caloped)
        TVector3 dR;    
        TVector3 cellpos;
 
-       Int_t minDist = 100000;
-       Int_t dist = 0;
-       Int_t absId = -1;
+       Float_t minDist = 100000;
+       Float_t    dist = 0;
+       Int_t     absId =-1;
        
        //Loop on tower status map 
        for(Int_t irow = 0; irow < AliEMCALGeoParams::fgkEMCALRows; irow++){