]>
Commit | Line | Data |
---|---|---|
e9a38ea3 | 1 | // $Header$ |
2 | ||
3 | #ifndef ALIEVE_TPCLoaderEditor_H | |
4 | #define ALIEVE_TPCLoaderEditor_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGTextButton; | |
9 | class TGCheckButton; | |
10 | class TGNumberEntry; | |
11 | class TGColorSelect; | |
12 | class TGTextEntry; | |
13 | ||
84aff7a4 | 14 | class TEveGValuator; |
e9a38ea3 | 15 | |
16 | namespace Alieve { | |
17 | ||
18 | class TPCLoader; | |
19 | ||
20 | class TPCLoaderEditor : public TGedFrame | |
21 | { | |
265ecb21 | 22 | TPCLoaderEditor(const TPCLoaderEditor&); // Not implemented |
23 | TPCLoaderEditor& operator=(const TPCLoaderEditor&); // Not implemented | |
24 | ||
e9a38ea3 | 25 | protected: |
26 | TPCLoader* fM; // fModel dynamic-casted to TPCLoaderEditor | |
27 | ||
28 | TGTextEntry* fFile; | |
29 | TGTextButton* fOpenFile; | |
30 | ||
84aff7a4 | 31 | TEveGValuator* fEvent; |
6e91772d | 32 | TGCheckButton* fDoubleSR; |
e9a38ea3 | 33 | |
10b1edfc | 34 | // TPCData loading settings |
84aff7a4 | 35 | TEveGValuator* fDataLoadThreshold; |
36 | TEveGValuator* fDataLoadPedestal; | |
10b1edfc | 37 | TGCheckButton* fDataAutoPedestal; |
38 | ||
e9a38ea3 | 39 | TGTextButton* fUpdateSectors; |
10b1edfc | 40 | TGTextButton* fReloadSectors; |
e9a38ea3 | 41 | TGTextButton* fCreateSectors3D; |
42 | TGTextButton* fDeleteSectors3D; | |
43 | ||
44 | public: | |
a8600b56 | 45 | TPCLoaderEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, |
46 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
e9a38ea3 | 47 | ~TPCLoaderEditor(); |
48 | ||
a8600b56 | 49 | virtual void SetModel(TObject* obj); |
e9a38ea3 | 50 | |
51 | void FileSelect(); | |
52 | void FileChanged(); | |
53 | void DoOpen(); | |
54 | ||
55 | void DoEvent(); | |
6e91772d | 56 | void DoDoubleSR(); |
e9a38ea3 | 57 | |
10b1edfc | 58 | void DoDataLoadThreshold(); |
59 | void DoDataLoadPedestal(); | |
60 | void DoDataAutoPedestal(); | |
61 | ||
e9a38ea3 | 62 | void DoUpdateSectors(); |
10b1edfc | 63 | void DoReloadSectors(); |
e9a38ea3 | 64 | void DoCreateSectors3D(); |
65 | void DoDeleteSectors3D(); | |
66 | ||
67 | ClassDef(TPCLoaderEditor, 0); // Editor for TPCLoader | |
68 | }; // endclass TPCLoaderEditor | |
69 | ||
70 | } | |
71 | ||
72 | #endif |