]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveHLT/AliEveHOMERManager.h
Changes from Svein Lindal
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERManager.h
1 //-*- Mode: C++ -*-
2
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          *
9  * full copyright notice.                                                 *
10  **************************************************************************/
11
12 #ifndef ALIEVEHOMERMANAGER_H
13 #define ALIEVEHOMERMANAGER_H
14
15 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
16  * See cxx source for full Copyright notice                               */
17
18 /** @file   AliEveHOMERManager.h
19     @author Jochen Thaeder
20     @date
21     @brief  Manager for HOMER in offline. Inherits most functionalitye
22     from AliHLTHOMERManager, with small additions for alieve interface
23 */
24 #include <AliHLTHOMERManager.h>
25 //\#include <TEveElementList.h>
26 #include "AliEveHOMERSourceList.h"
27 #include "TString.h"
28 class TEveElementList;
29
30 class AliEveHOMERManager : public TEveElementList, public AliHLTHOMERManager
31 {
32 public:
33
34   /*
35    * ---------------------------------------------------------------------------------
36    *                            Constructor / Destructor
37    * ---------------------------------------------------------------------------------
38    */
39
40   /** constructor */
41   AliEveHOMERManager();
42
43   /** destructor */
44   virtual ~AliEveHOMERManager();
45
46
47   /*
48    * ---------------------------------------------------------------------------------
49    *                            Source Handling - public
50    * ---------------------------------------------------------------------------------
51    */
52
53   /** Create Sources List from HOMER-Proxy 
54    *  @return 0 on success, <0 for failure, 1 for no active service
55    */
56   Int_t CreateEveSourcesList();
57
58   Int_t CreateEveSourcesListLoop();
59   
60   Int_t ConnectEVEtoHOMER(TString detector="ALL");
61
62   //  Int_t CheckTriggerDecision(TString triggers="ALL");
63
64   void SetRetryCount(Int_t count, Int_t sleeptime) { fRetryCount = count; fRetrySleeptime = sleeptime; }
65
66   ///////////////////////////////////////////////////////////////////////////////////
67
68 private:
69
70   /** copy constructor prohibited */
71   AliEveHOMERManager(const AliEveHOMERManager&);
72
73   /** assignment operator prohibited */
74   AliEveHOMERManager& operator=(const AliEveHOMERManager&);
75
76   /*
77    * ---------------------------------------------------------------------------------
78    *                            Members - private
79    * ---------------------------------------------------------------------------------
80    */
81
82   // == sources ==
83   AliEveHOMERSourceList* fSrcList;                // List of Connected HOMER Sources
84
85   Int_t fRetryCount;
86
87   Int_t fRetrySleeptime;
88
89   ClassDef(AliEveHOMERManager, 0); // Manage connections to HLT data-sources.
90
91 };
92
93
94
95 #endif