Coverity fix (Alis Rodriguez Manso):
authormiweber <m.weber@cern.ch>
Thu, 4 Dec 2014 10:03:41 +0000 (11:03 +0100)
committermiweber <m.weber@cern.ch>
Thu, 4 Dec 2014 10:03:41 +0000 (11:03 +0100)
- remove unused dphistarmin

PWGCF/EBYE/BalanceFunctions/AliBalancePsi.cxx

index 41fa4ca..f638b97 100644 (file)
@@ -597,7 +597,7 @@ void AliBalancePsi::CalculateBalance(Double_t gReactionPlane,
            const Float_t kLimit = fHBTCutValue * 3;
            
            Float_t dphistarminabs = 1e5;
-           Float_t dphistarmin = 1e5;
+           //Float_t dphistarmin = 1e5;
            
            if (TMath::Abs(dphistar1) < kLimit || TMath::Abs(dphistar2) < kLimit || dphistar1 * dphistar2 < 0 ) {
              for (Double_t rad=0.8; rad<2.51; rad+=0.01) {
@@ -605,7 +605,7 @@ void AliBalancePsi::CalculateBalance(Double_t gReactionPlane,
                Float_t dphistarabs = TMath::Abs(dphistar);
                
                if (dphistarabs < dphistarminabs) {
-                 dphistarmin = dphistar;
+                 //dphistarmin = dphistar;
                  dphistarminabs = dphistarabs;
                }
              }