]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 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 | ||
a8600b56 | 11 | class RenderElement; |
265ecb21 | 12 | class TrackRnrStyle; |
13 | class TrackList; | |
14 | ||
a8600b56 | 15 | class VSDSelector : public VSD |
265ecb21 | 16 | { |
17 | VSDSelector(const VSDSelector&); // Not implemented | |
18 | VSDSelector& operator=(const VSDSelector&); // Not implemented | |
19 | ||
265ecb21 | 20 | protected: |
21 | TGTextEntry* mParticleSelection; | |
a8600b56 | 22 | TGCheckButton* fRecursiveSelect; |
23 | ||
265ecb21 | 24 | TGTextEntry* mHitSelection; |
25 | TGTextEntry* mClusterSelection; | |
26 | TGTextEntry* mRecSelection; | |
27 | ||
28 | public: | |
a8600b56 | 29 | |
30 | VSDSelector(TGCompositeFrame *tFrame); | |
265ecb21 | 31 | |
32 | virtual void LoadVSD(const Text_t* vsd_file_name, | |
33 | const Text_t* dir_name="Event0"); | |
34 | ||
35 | void SelectParticles (const Text_t* selection=0); | |
a8600b56 | 36 | void ImportDaughtersRec(RenderElement* parent, TrackList* cont, |
37 | Int_t first, Int_t last); | |
38 | ||
265ecb21 | 39 | void SelectHits(); |
40 | void SelectClusters(); | |
41 | void SelectRecTracks(); | |
42 | ||
43 | void SetRecursiveSelection(Bool_t rec){fRecursiveSelect->SetOn(rec,1);} | |
44 | // printf("SetRecursiveSelection is %d on %d \n", rec?1:0,fRecursiveSelect->IsOn()?1:0);} | |
45 | Bool_t GetRecursiveSelection(){return fRecursiveSelect->IsOn();} | |
46 | ClassDef(VSDSelector, 1); | |
47 | }; | |
5a5a1232 | 48 | |
49 | } | |
50 | ||
51 | #endif |