]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/AliEveTrackFitterEditor.h
Temporary fix to avoid xrootd thrashing
[u/mrichter/AliRoot.git] / EVE / Alieve / AliEveTrackFitterEditor.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_TrackFitterEditor_H
11 #define ALIEVE_TrackFitterEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGNumberEntry;
17 class TGColorSelect;
18
19
20 class AliEveTrackFitter;
21
22 class AliEveTrackFitterEditor : public TGedFrame
23 {
24 private:
25   AliEveTrackFitterEditor(const AliEveTrackFitterEditor&);            // Not implemented
26   AliEveTrackFitterEditor& operator=(const AliEveTrackFitterEditor&); // Not implemented
27
28 protected:
29   AliEveTrackFitter* fM; // fModel dynamic-casted to AliEveTrackFitterEditor
30
31   TGTextButton* fFit;   // button to fit selection
32   TGTextButton* fReset; // button to reset selection
33   TGTextButton* fStart; // button to connect to signal
34   TGTextButton* fStop;  // button to disconnect from signal
35   TGTextButton* fGraph; // button to draw graph
36
37 public:
38   AliEveTrackFitterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
39   virtual ~AliEveTrackFitterEditor() {}
40
41   virtual void SetModel(TObject* obj);
42
43   void DoStart();
44   void DoFit();
45   void DoReset();
46   void DoStop();
47   void DoGraph();
48
49   ClassDef(AliEveTrackFitterEditor, 0); // Editor for AliEveTrackFitter class.
50 }; // endclass AliEveTrackFitterEditor
51
52 #endif