From Cvetan: when opening an event from ESD get the first tree-entry so that run...
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveEventManager.cxx
index 7d98be9b8ee51867a5c0ec2426fdf340e159db2f..b2883d5346726d566749cda9e7d7f2040f302edf 100644 (file)
@@ -206,6 +206,7 @@ void AliEveEventManager::Open()
     if (fESDTree != 0)
     {
       fESD->ReadFromTree(fESDTree);
+      fESDTree->GetEntry(0);
       runNo = fESD->GetESDRun()->GetRunNumber();
 
       // Check if ESDfriends exists and attach the branch