]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONmassPlot_ESD.C
Fixing what I think was a bug (Laurent)
[u/mrichter/AliRoot.git] / MUON / MUONmassPlot_ESD.C
index e2a5979954d3664557932a1379b0cdae781f9779..f2e93bda73dea4ef7871a7c108e37b5d4301853b 100644 (file)
@@ -173,8 +173,8 @@ Bool_t MUONmassPlot(char* filename = "galice_sim.root", Int_t ExtrapToVertex = -
     Error("CheckESD", "no ESD tree found");
     return kFALSE;
   }
-  tree->SetBranchAddress("ESD", &esd);
-  
+//  tree->SetBranchAddress("ESD", &esd);
+  esd->ReadFromTree(tree);
   
 
   runLoader->LoadHeader();