]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/FORWARD/analysis2/AliFMDMCTrackDensity.cxx
Fixed warnings [-Wunused-but-set-variable] from GCC 4.6 -
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / AliFMDMCTrackDensity.cxx
index 66b5f5444938452221ba178efd5c38102ce85e53..0cf1e6e6aa6eb3e7693124d8a0422090cf4920d3 100644 (file)
@@ -281,7 +281,7 @@ AliFMDMCTrackDensity::Calculate(const AliESDFMD&  input,
     Char_t   oR       = '\0';
     UShort_t nC       = 0;
     UShort_t nT       = 0;
     Char_t   oR       = '\0';
     UShort_t nC       = 0;
     UShort_t nT       = 0;
-    Double_t oTheta   = 0;
+    // Double_t oTheta= 0;
     for (Int_t iTrRef = 0; iTrRef < nTrRef; iTrRef++) { 
       AliTrackReference* ref = particle->GetTrackReference(iTrRef);
       
     for (Int_t iTrRef = 0; iTrRef < nTrRef; iTrRef++) { 
       AliTrackReference* ref = particle->GetTrackReference(iTrRef);
       
@@ -364,7 +364,7 @@ AliFMDMCTrackDensity::Calculate(const AliESDFMD&  input,
        longest = iTrRef;
        angle   = ang;
       }
        longest = iTrRef;
        angle   = ang;
       }
-      oTheta = ang;
+      // oTheta = ang;
     } // Loop over track references
     if (longest < 0) continue; // Nothing found
 
     } // Loop over track references
     if (longest < 0) continue; // Nothing found