Fixing shadowing
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 May 2008 09:25:39 +0000 (09:25 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 20 May 2008 09:25:39 +0000 (09:25 +0000)
EVGEN/AliGenCocktailEntry.cxx
EVGEN/AliGenCocktailEntry.h

index b9fa2c8..8d81bf5 100644 (file)
@@ -42,8 +42,8 @@ AliGenCocktailEntry::AliGenCocktailEntry():
 }
 
 AliGenCocktailEntry:: AliGenCocktailEntry
-(AliGenerator* Generator, const char* Name, Float_t RateExp):TNamed(Name, "Generator Cocktail Entry"),
-    fGenerator(Generator),
+(AliGenerator* pGenerator, const char* Name, Float_t RateExp):TNamed(Name, "Generator Cocktail Entry"),
+    fGenerator(pGenerator),
     fNGenerated(0),
     fFirst(-1),
     fLast(-1),
index 3c31b68..a7ce86e 100644 (file)
@@ -20,7 +20,7 @@ class AliGenCocktailEntry : public TNamed
     AliGenCocktailEntry();
     AliGenCocktailEntry(const AliGenCocktailEntry &entry);
     AliGenCocktailEntry
-       (AliGenerator* Generator, const char* Name, Float_t RateExp);
+       (AliGenerator* pGenerator, const char* Name, Float_t RateExp);
     ~AliGenCocktailEntry(){;}
     AliGenerator* Generator() {return fGenerator;}
     void SetGenerator(AliGenerator* generator){fGenerator=generator;}