Some more.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 May 2008 09:08:35 +0000 (09:08 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 May 2008 09:08:35 +0000 (09:08 +0000)
FASTSIM/AliQuenchingWeights.cxx

index 0074583..e1e06c0 100644 (file)
@@ -1945,7 +1945,7 @@ void AliQuenchingWeights::PlotAvgELoss(TH1F *hEll,Double_t e) const
   gg->Draw("pl");
 
   TGraph *gratio=new TGraph(20);
-  for(Int_t i=0;i<20;i++){
+  for(i=0;i<20;i++){
     Double_t x,y,x2,y2;
     gg->GetPoint(i,x,y);
     gq->GetPoint(i,x2,y2);
@@ -2023,7 +2023,7 @@ void AliQuenchingWeights::PlotAvgELossVsL(Double_t e)  const
   gg->Draw("pl");
 
   TGraph *gratio=new TGraph((Int_t)fLengthMax*4);
-  for(Int_t i=0;i<=(Int_t)fLengthMax*4;i++){
+  for(i=0;i<=(Int_t)fLengthMax*4;i++){
     Double_t x,y,x2,y2;
     gg->GetPoint(i,x,y);
     gq->GetPoint(i,x2,y2);