Merge changes from branches/dev/EVE. This branch was following development in ROOT...
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERSourceList.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveAliEVEHOMERSourceList_H
11 #define AliEveAliEVEHOMERSourceList_H
12
13 #include <TEveElement.h>
14
15 #include <TObject.h>
16
17 #include <map>
18
19 class AliEveHOMERManager;
20 class AliEveHOMERSourceMap;
21
22 class AliEveHOMERSourceList : public TEveElementList
23 {
24 private:
25   AliEveHOMERSourceList(const AliEveHOMERSourceList&);            // Not implemented
26   AliEveHOMERSourceList& operator=(const AliEveHOMERSourceList&); // Not implemented
27
28 protected:
29   //SourceMap_t       fByType;
30   //ESourceGrouping_e fView;
31   //Bool_t            fDefaultState;
32
33   AliEveHOMERManager   *fManager;
34   AliEveHOMERSourceMap *fSrcMap;
35
36 public:
37   AliEveHOMERSourceList(const Text_t* n="HOMER Source List", const Text_t* t="");
38   virtual ~AliEveHOMERSourceList();
39
40   // void InitMap(TList* srcHandles, ESourceGrouping_e
41
42   AliEveHOMERManager* GetManager() const { return fManager; }
43   void SetManager(AliEveHOMERManager* m) { fManager = m; }
44
45   void CreateByDet();  // *MENU*
46   void CreateByType(); // *MENU*
47
48   void RebuildSourceReps();
49
50   //void SelectAll();   // *MENU*
51   //void DeselectAll(); // *MENU*
52
53   ClassDef(AliEveHOMERSourceList, 1);
54 }; // endclass AliEveHOMERSourceList
55
56 #endif