Member data shadowing corrected.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Feb 2010 10:03:31 +0000 (10:03 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 27 Feb 2010 10:03:31 +0000 (10:03 +0000)
EVGEN/AliGenTHnSparse.cxx

index c80cdf3..9a25b20 100644 (file)
@@ -144,7 +144,7 @@ void AliGenTHnSparse::SetThnSparse(char *file_name, char *thn_name)
 {
 
     // Open the file and get object
-    TFile *fFile = new TFile(file_name);
-    fHn = (THnSparseF*)(fFile->Get(thn_name));
+  fFile = new TFile(file_name);
+  fHn = (THnSparseF*)(fFile->Get(thn_name));
 
 }