]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/Cal/AliTRDCalPIDRefMaker.cxx
First cleanup of Loaders
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalPIDRefMaker.cxx
index fbc0e140296e1ded5269f98eb3d90363933f62fb..7f2260c57d0141bc5fadc86f7a48e91878b6d564 100644 (file)
@@ -238,7 +238,7 @@ Bool_t AliTRDCalPIDRefMaker::BuildLQReferences(const Char_t *File, const Char_t
                                
                                // Load MC info
                                fRunLoader->GetEvent(iEvent);
-                               AliStack* stack = gAlice->Stack();
+                               AliStack* stack = AliRunLoader::GetRunLoader()->Stack();
                                TArrayF vertex(3);
                                fRunLoader->GetHeader()->GenEventHeader()->PrimaryVertex(vertex);