From 703482d8a213b763d764024eda0ebd1751772f77 Mon Sep 17 00:00:00 2001 From: jthaeder Date: Tue, 1 Sep 2009 19:48:46 +0000 Subject: [PATCH] Minor bugfixes and extensions for the onlineDiplay Interface --- EVE/EveHLT/AliEveHOMERManager.cxx | 10 +++++----- EVE/EveHLT/AliEveHOMERManager.h | 2 +- HLT/BASE/AliHLTHOMERManager.cxx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/EVE/EveHLT/AliEveHOMERManager.cxx b/EVE/EveHLT/AliEveHOMERManager.cxx index 5a714acdf65..55c02e8ce3b 100644 --- a/EVE/EveHLT/AliEveHOMERManager.cxx +++ b/EVE/EveHLT/AliEveHOMERManager.cxx @@ -99,10 +99,10 @@ Int_t AliEveHOMERManager::CreateEveSourcesListLoop() { break; else if (iResult == 1) { - HLTWarning( Form("Couldn't find active services, sleeping %d s\n", fRetryCount) ) ; + HLTWarning( Form("Couldn't find active services, sleeping %d s", fRetryCount) ) ; } else if (iResult == 2) { - HLTWarning( Form("Services List empty, sleeping %d s\n", fRetryCount) ) ; + HLTWarning( Form("Services List empty, sleeping %d s", fRetryCount) ) ; } else { HLTError( Form("Other problem ... \n") ); @@ -113,7 +113,7 @@ Int_t AliEveHOMERManager::CreateEveSourcesListLoop() { } if ( iResult ) { - HLTError( Form("Couldn't find active services.\n") ); + HLTWarning( Form("Couldn't find active services.") ); return iResult; } @@ -121,10 +121,10 @@ Int_t AliEveHOMERManager::CreateEveSourcesListLoop() { } //################################################################################## -Int_t AliEveHOMERManager::ConnectEVEtoHOMER() { +Int_t AliEveHOMERManager::ConnectEVEtoHOMER( TString detector ) { // see header file for class documentation fStateHasChanged = fSrcList->GetSelectedSources(); - return ConnectHOMER(); + return ConnectHOMER(detector); } diff --git a/EVE/EveHLT/AliEveHOMERManager.h b/EVE/EveHLT/AliEveHOMERManager.h index 330464e1c14..ec900f749c5 100644 --- a/EVE/EveHLT/AliEveHOMERManager.h +++ b/EVE/EveHLT/AliEveHOMERManager.h @@ -56,7 +56,7 @@ public: Int_t CreateEveSourcesListLoop(); - Int_t ConnectEVEtoHOMER(); + Int_t ConnectEVEtoHOMER(TString detector="ALL"); void SetRetryCount(Int_t count, Int_t sleeptime) { fRetryCount = count; fRetrySleeptime = sleeptime; } diff --git a/HLT/BASE/AliHLTHOMERManager.cxx b/HLT/BASE/AliHLTHOMERManager.cxx index 2234e86c332..cd6e9a5cd27 100644 --- a/HLT/BASE/AliHLTHOMERManager.cxx +++ b/HLT/BASE/AliHLTHOMERManager.cxx @@ -32,7 +32,7 @@ using namespace std; #endif -#define EVE_DEBUG 0 +#define EVE_DEBUG 1 #include "AliHLTHOMERManager.h" // -- -- -- -- -- -- -- @@ -313,7 +313,7 @@ Int_t AliHLTHOMERManager::NextEvent(){ return -iResult; } else if ( iResult == 110 ) { - HLTError(Form("Timout occured, reading event from source %d: %s (%d)", + HLTError(Form("Timeout occured, reading event from source %d: %s (%d)", fReader->GetErrorConnectionNdx(), strerror(iResult), iResult)); return -iResult; } -- 2.39.3