Compilation warnings
authorslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Feb 2011 19:57:15 +0000 (19:57 +0000)
committerslindal <slindal@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Feb 2011 19:57:15 +0000 (19:57 +0000)
HLT/EVE/AliHLTEveHistoMerger.cxx
HLT/EVE/AliHLTEveMultCorr.cxx

index aa265bc..d4bbc7f 100644 (file)
@@ -130,8 +130,8 @@ TObject* AliHLTEveHistoMerger::Process(const TObject * evtData, AliHLTUInt32_t s
 
 // merge histos
 
-    for ( unsigned int iColl = 0; iColl<fStore.size(); iColl++) {
-        AliHLTGlobalHCCollection &c = fStore[iColl];
+    for ( unsigned int jColl = 0; jColl<fStore.size(); jColl++) {
+        AliHLTGlobalHCCollection &c = fStore[jColl];
         if ( !c.fNeedToMerge && c.fMergedObject ) continue;
         if ( c.fInstances.size() <1 ) continue;
         delete c.fMergedObject;
index b08902e..80da268 100644 (file)
@@ -247,7 +247,7 @@ void AliHLTEveMultCorr::AddHistogramToCanvas(TH1* hist, TCanvas* canvas, Int_t&
            if(zoom) 
            {
              TH1F *h = dynamic_cast<TH1F*>(hist);
-             if(h) h->GetXaxis()->SetRange(0, h->GetMaximumBin() + h->GetMaximumBin()*0.2);
+             if(h) h->GetXaxis()->SetRange(0, (Int_t) (h->GetMaximumBin() + h->GetMaximumBin()*0.2));
            }
             dynamic_cast<TH1F*>(hist)->Draw();
         }
@@ -259,8 +259,8 @@ void AliHLTEveMultCorr::AddHistogramToCanvas(TH1* hist, TCanvas* canvas, Int_t&
              TH2F *h = dynamic_cast<TH2F*>(hist);
              if(h)
                {
-                 h->GetXaxis()->SetRange(0, h->GetMaximumBin() + h->GetMaximumBin()*0.2);
-                 h->GetYaxis()->SetRange(0, h->GetMaximumBin() + h->GetMaximumBin()*0.2);
+                 h->GetXaxis()->SetRange(0, (Int_t) (h->GetMaximumBin() + h->GetMaximumBin()*0.2));
+                 h->GetYaxis()->SetRange(0, (Int_t) (h->GetMaximumBin() + h->GetMaximumBin()*0.2));
                }
            }
             dynamic_cast<TH2F*>(hist)->Draw("COLZ");