]>
Commit | Line | Data |
---|---|---|
e7aa1ed8 | 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_CosmicRayFitterEditor_H | |
11 | #define ALIEVE_CosmicRayFitterEditor_H | |
12 | ||
13 | #include <TGedFrame.h> | |
14 | ||
15 | class TGCheckButton; | |
16 | class TGNumberEntry; | |
17 | class TGColorSelect; | |
18 | ||
e7aa1ed8 | 19 | class AliEveCosmicRayFitter; |
20 | ||
21 | class AliEveCosmicRayFitterEditor : public TGedFrame | |
22 | { | |
e7aa1ed8 | 23 | public: |
24 | AliEveCosmicRayFitterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
25 | virtual ~AliEveCosmicRayFitterEditor() {} | |
26 | ||
27 | virtual void SetModel(TObject* obj); | |
28 | ||
29 | void DoStart(); | |
30 | void DoFit(); | |
31 | void DoReset(); | |
32 | void DoStop(); | |
33 | void DoGraph(); | |
34 | ||
4b456ebb | 35 | protected: |
36 | AliEveCosmicRayFitter* fM; // fModel dynamic-casted to AliEveCosmicRayFitterEditor | |
37 | ||
38 | TGTextButton* fFit; // button to fit selection | |
39 | TGTextButton* fReset; // button to reset selection | |
40 | TGTextButton* fStart; // button to connect to signal | |
41 | TGTextButton* fStop; // button to disconnect from signal | |
42 | TGTextButton* fGraph; // button to draw graph | |
43 | ||
44 | private: | |
45 | AliEveCosmicRayFitterEditor(const AliEveCosmicRayFitterEditor&); // Not implemented | |
46 | AliEveCosmicRayFitterEditor& operator=(const AliEveCosmicRayFitterEditor&); // Not implemented | |
47 | ||
e7aa1ed8 | 48 | ClassDef(AliEveCosmicRayFitterEditor, 0); // Editor for AliEveCosmicRayFitter class. |
49 | }; | |
50 | ||
51 | #endif |