This commit was generated by cvs2svn to compensate for changes in r13732,
[u/mrichter/AliRoot.git] / EVE / Reve / VSDSelector.h
1 #ifndef REVE_VSDSelector_H
2 #define REVE_VSDSelector_H
3
4 #include "RGBrowser.h"
5 #include <Reve/VSD.h>
6
7 #include <TGTextEntry.h>
8
9 namespace Reve {
10
11   class TrackRnrStyle;
12   class TrackList;
13
14   class VSDSelector : public ::Reve::VSD
15   {
16   private:
17     void NotifyBrowser(TGListTreeItem* parent); 
18     TGListTree*               fListTree;
19
20   protected:
21     TGTextEntry*              mParticleSelection;   
22     TGTextEntry*              mHitSelection;   
23     TGTextEntry*              mClusterSelection;   
24     TGTextEntry*              mRecSelection;  
25
26   public: 
27     TGCheckButton*            fRecursiveSelect;
28     VSDSelector(TGListTree* lt, TGCompositeFrame *tFrame);
29
30     virtual void LoadVSD(const Text_t* vsd_file_name,
31                          const Text_t* dir_name="Event0");
32
33     void SelectParticles (const Text_t* selection=0);
34     void ImportDaughtersRec(TGListTreeItem* parent, TrackList* cont, Int_t first, Int_t last);
35     void SelectHits();
36     void SelectClusters();
37     void SelectRecTracks();
38
39     void SetRecursiveSelection(Bool_t rec){fRecursiveSelect->SetOn(rec,1);}
40     //      printf("SetRecursiveSelection is %d on %d \n", rec?1:0,fRecursiveSelect->IsOn()?1:0);}
41     Bool_t GetRecursiveSelection(){return fRecursiveSelect->IsOn();}
42     ClassDef(VSDSelector, 1);
43   };
44
45 }
46
47 #endif