Moving to standard names
[u/mrichter/AliRoot.git] / EVE / EveHLT / AliEveHOMERSourceList.h
CommitLineData
d810d0de 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 *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
9
a15e6d7d 10#ifndef AliEveAliEVEHOMERSourceList_H
11#define AliEveAliEVEHOMERSourceList_H
d810d0de 12
13#include <TEveElement.h>
14
15#include <TObject.h>
16
a15e6d7d 17#include <map>
18
19class AliEveHOMERManager;
20class AliEveHOMERSourceMap;
21
d810d0de 22class AliEveHOMERSourceList : public TEveElementList
23{
d810d0de 24public:
25 AliEveHOMERSourceList(const Text_t* n="HOMER Source List", const Text_t* t="");
a15e6d7d 26 virtual ~AliEveHOMERSourceList();
27
28 // void InitMap(TList* srcHandles, ESourceGrouping_e
29
30 AliEveHOMERManager* GetManager() const { return fManager; }
31 void SetManager(AliEveHOMERManager* m) { fManager = m; }
32
46eadbb4 33 Bool_t GetSelectedSources();
34
a15e6d7d 35 void CreateByDet(); // *MENU*
36 void CreateByType(); // *MENU*
37
38 void RebuildSourceReps();
d810d0de 39
a15e6d7d 40 //void SelectAll(); // *MENU*
41 //void DeselectAll(); // *MENU*
d810d0de 42
4b456ebb 43protected:
44 //SourceMap_t fByType;
45 //ESourceGrouping_e fView;
46 //Bool_t fDefaultState;
47
48 AliEveHOMERManager *fManager;
49 AliEveHOMERSourceMap *fSrcMap;
50
51private:
52 AliEveHOMERSourceList(const AliEveHOMERSourceList&); // Not implemented
53 AliEveHOMERSourceList& operator=(const AliEveHOMERSourceList&); // Not implemented
54
55 ClassDef(AliEveHOMERSourceList, 0); // Interface to a list of HOMER sourcces.
56};
d810d0de 57
58#endif