- Changes in the calibration framework to write the filtered friends in a
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManager.h
CommitLineData
a82a31af 1//-*- Mode: C++ -*-
2
d810d0de 3// $Id$
4// Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
5
6/**************************************************************************
7 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
8 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
51346b82 9 * full copyright notice. *
d810d0de 10 **************************************************************************/
a15e6d7d 11
a82a31af 12#ifndef ALIEVEHOMERMANAGER_H
13#define ALIEVEHOMERMANAGER_H
059c30e4 14
15/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
16 * See cxx source for full Copyright notice */
17
d810d0de 18/** @file AliEveHOMERManager.h
059c30e4 19 @author Jochen Thaeder
51346b82 20 @date
a82a31af 21 @brief Manager for HOMER in offline. Inherits most functionalitye
22 from AliHLTHOMERManager, with small additions for alieve interface
059c30e4 23*/
a82a31af 24#include <AliHLTHOMERManager.h>
cfa641b1 25//\#include <TEveElementList.h>
46eadbb4 26#include "AliEveHOMERSourceList.h"
cfa641b1 27#include "TString.h"
28class TEveElementList;
6612c5b3 29
cfa641b1 30class AliEveHOMERManager : public TEveElementList, public AliHLTHOMERManager
059c30e4 31{
32public:
33
34 /*
35 * ---------------------------------------------------------------------------------
51346b82 36 * Constructor / Destructor
37 * ---------------------------------------------------------------------------------
059c30e4 38 */
39
46eadbb4 40 /** constructor */
a82a31af 41 AliEveHOMERManager();
46eadbb4 42
059c30e4 43 /** destructor */
d810d0de 44 virtual ~AliEveHOMERManager();
059c30e4 45
059c30e4 46
059c30e4 47 /*
48 * ---------------------------------------------------------------------------------
a82a31af 49 * Source Handling - public
51346b82 50 * ---------------------------------------------------------------------------------
059c30e4 51 */
51346b82 52
a82a31af 53 /** Create Sources List from HOMER-Proxy
54 * @return 0 on success, <0 for failure, 1 for no active service
059c30e4 55 */
a82a31af 56 Int_t CreateEveSourcesList();
9e78371d 57
58 Int_t CreateEveSourcesListLoop();
46eadbb4 59
703482d8 60 Int_t ConnectEVEtoHOMER(TString detector="ALL");
51346b82 61
9e78371d 62 void SetRetryCount(Int_t count, Int_t sleeptime) { fRetryCount = count; fRetrySleeptime = sleeptime; }
63
46eadbb4 64 ///////////////////////////////////////////////////////////////////////////////////
059c30e4 65
66private:
67
a82a31af 68 /** copy constructor prohibited */
69 AliEveHOMERManager(const AliEveHOMERManager&);
059c30e4 70
a82a31af 71 /** assignment operator prohibited */
72 AliEveHOMERManager& operator=(const AliEveHOMERManager&);
059c30e4 73
74 /*
75 * ---------------------------------------------------------------------------------
76 * Members - private
51346b82 77 * ---------------------------------------------------------------------------------
059c30e4 78 */
79
059c30e4 80 // == sources ==
a82a31af 81 AliEveHOMERSourceList* fSrcList; // List of Connected HOMER Sources
059c30e4 82
9e78371d 83 Int_t fRetryCount;
84
85 Int_t fRetrySleeptime;
86
a82a31af 87 ClassDef(AliEveHOMERManager, 0); // Manage connections to HLT data-sources.
51346b82 88
a82a31af 89};
059c30e4 90
6612c5b3 91
059c30e4 92
93#endif