]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/AliEveTPCLoaderEditor.h
Temporary fix to avoid xrootd thrashing
[u/mrichter/AliRoot.git] / EVE / Alieve / AliEveTPCLoaderEditor.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 ALIEVE_TPCLoaderEditor_H
11 #define ALIEVE_TPCLoaderEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGTextButton;
16 class TGCheckButton;
17 class TGNumberEntry;
18 class TGColorSelect;
19 class TGTextEntry;
20
21 class TEveGValuator;
22
23
24 class AliEveTPCLoader;
25
26 class AliEveTPCLoaderEditor : public TGedFrame
27 {
28   AliEveTPCLoaderEditor(const AliEveTPCLoaderEditor&);            // Not implemented
29   AliEveTPCLoaderEditor& operator=(const AliEveTPCLoaderEditor&); // Not implemented
30
31 protected:
32   AliEveTPCLoader* fM; // fModel dynamic-casted to AliEveTPCLoaderEditor
33
34   TGTextEntry*  fFile;
35   TGTextButton* fOpenFile;
36
37   TEveGValuator* fEvent;
38   TGCheckButton*    fDoubleSR;
39
40   // AliEveTPCData loading settings
41   TEveGValuator* fDataLoadThreshold;
42   TEveGValuator* fDataLoadPedestal;
43   TGCheckButton*    fDataAutoPedestal;
44
45   TGTextButton* fUpdateSectors;
46   TGTextButton* fReloadSectors;
47   TGTextButton* fCreateSectors3D;
48   TGTextButton* fDeleteSectors3D;
49
50 public:
51   AliEveTPCLoaderEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
52                   UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
53   ~AliEveTPCLoaderEditor();
54
55   virtual void SetModel(TObject* obj);
56
57   void FileSelect();
58   void FileChanged();
59   void DoOpen();
60
61   void DoEvent();
62   void DoDoubleSR();
63
64   void DoDataLoadThreshold();
65   void DoDataLoadPedestal();
66   void DoDataAutoPedestal();
67
68   void DoUpdateSectors();
69   void DoReloadSectors();
70   void DoCreateSectors3D();
71   void DoDeleteSectors3D();
72
73   ClassDef(AliEveTPCLoaderEditor, 0); // Editor for AliEveTPCLoader
74 }; // endclass AliEveTPCLoaderEditor
75
76 #endif