]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveHLT/AliEveHOMERManager.cxx
Wrong forward declaration.
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManager.cxx
index ec5b5643e257916fe4eac2437a1a6847df5199d8..5738b62854022625598b7fc929b4623eebb6fa62 100644 (file)
@@ -103,7 +103,7 @@ Int_t AliEveHOMERManager::CreateEveSourcesList() {
 ///_______________________________________________________________
 void AliEveHOMERManager::StartEveSourceListLoop() {
   HLTInfo("Starting source list timer");
-  fSourceListTimer->Start(1000); 
+  fSourceListTimer->Start(5000); 
 }
 ///_______________________________________________________________
 void AliEveHOMERManager::StopEveSourceListLoop() {
@@ -164,25 +164,15 @@ TList * AliEveHOMERManager::NextHOMEREvent() {
   
   if(!Connected()) {
     HLTInfo("Homer is not connected, trying to reconnect!");
-    Int_t iResult = ReConnectHOMER();
-    if(iResult)  {
-      HLTError("Error establishing connection to sources");
-      return NULL;
-    } else {
-      HLTInfo("New connection established, trying again to fetch event");
-      return NextHOMEREvent();
-    }
+    ReConnectHOMER();
+    return NULL;
   }
   
   
   if ( NextEvent() ) {
-    
     HLTInfo("Failed getting next event, trying to reconnect");
-    Int_t iResult = ReConnectHOMER();
-    if(iResult)  {
-      HLTError("Error establishing connection to sources");
-      return NULL;
-    }    
+    ReConnectHOMER();
+    return NULL;
   }
   
   return GetBlockList();