X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=EVE%2FEveHLT%2FAliEveHOMERManager.h;h=d89f2d2fb9c21341df71a1868dbdac7d95a1d977;hp=4f3d6ceaf3f8b519680da14c25393934b9bbf5f1;hb=7279ee15a7d8b485afe764c8ccf4c5805f941bc0;hpb=ecb844249824ba0ea582872e576391c9f50adf2b diff --git a/EVE/EveHLT/AliEveHOMERManager.h b/EVE/EveHLT/AliEveHOMERManager.h index 4f3d6ceaf3f..d89f2d2fb9c 100644 --- a/EVE/EveHLT/AliEveHOMERManager.h +++ b/EVE/EveHLT/AliEveHOMERManager.h @@ -31,6 +31,7 @@ #include "AliHLTHOMERSourceDesc.h" #include "AliHLTHOMERBlockDesc.h" #include "AliHLTHOMERReader.h" +#include "AliEveHOMERXMLHandler.h" #include "AliTPCPreprocessorOnline.h" @@ -120,21 +121,6 @@ private: AliEveHOMERManager(const AliEveHOMERManager&); // Not implemented. AliEveHOMERManager& operator=(const AliEveHOMERManager&); // Not implemented. - /* - * --------------------------------------------------------------------------------- - * Source Handling - private - * --------------------------------------------------------------------------------- - */ - - /** Get Information out of a TDS process in XML file */ - Int_t GetTDSAttributes( TXMLNode * xmlNode ); - - /** Resolve Information of hostname and port for source which has to be used by HOMER */ - Int_t ResolveHostPortInformation( TString xmlHostname, TString xmlPort, TString &hostname, Int_t &port ); - - /** Resolve information of source */ - Int_t ResolveSourceInformation( TString xmlParent, AliHLTHOMERSourceDesc * source ); - /* * --------------------------------------------------------------------------------- * Connection Handling - private @@ -142,13 +128,13 @@ private: */ /** Create a readout list for Hostname and ports */ - void CreateReadoutList( const char** socurceHostnames, UShort_t* sourcePorts, UInt_t &sourceCount); + void CreateReadoutList( const char** sourceHostnames, UShort_t* sourcePorts, UInt_t &sourceCount); /** Checks if already connected to HOMER sources */ Bool_t IsConnected() { return fConnected; } // Checks if already connected to HOMER sources - /** Sets realm ( which can be ACR, GPN, HLT ) */ - void SetRealm( TString s ) { fRealm = s; } // Sets realm ( which can be ACR, GPN, HLT + /** Sets realm ( which can be ACR, GPN, HLT, KIP ) */ + void SetRealm( TString s ) { fXMLHandler->SetRealm(s); } // Sets realm ( which can be ACR, GPN, HLT, KIP ) /* --------------------------------------------------------------------------------- * Event Handling - private @@ -212,17 +198,14 @@ private: * --------------------------------------------------------------------------------- */ - // == XML parser == - TString fXMLFile; // XML input file - TDOMParser* fXMLParser; //! XML parser into DOM model - TXMLNode * fRootNode; //! Root node of parsed config file + // == XML handler == + AliEveHOMERXMLHandler* fXMLHandler; //! Handles HLT XML Config Files // == sources == TList * fSourceList; //! List to HOMER sources // == connection == AliHLTHOMERReader* fReader; //! Pointer to HOMER reader - TString fRealm; // Indicates the realm where AliEve can connect to ( HLT, GPN, ACR ); // == blocks == TList * fBlockList; //! List to HOMER blocks