From Cvetan: when opening an event from ESD get the first tree-entry so that run...
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Jun 2008 17:26:54 +0000 (17:26 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Jun 2008 17:26:54 +0000 (17:26 +0000)
EVE/EveBase/AliEveEventManager.cxx

index 7d98be9..b2883d5 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