]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveBase/AliEveCosmicRayFitterEditor.h
* hmpid_digits.C, hmpid_raw.C
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveCosmicRayFitterEditor.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_CosmicRayFitterEditor_H
11 #define ALIEVE_CosmicRayFitterEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGNumberEntry;
17 class TGColorSelect;
18
19 class AliEveCosmicRayFitter;
20
21 class AliEveCosmicRayFitterEditor : public TGedFrame
22 {
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
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
48   ClassDef(AliEveCosmicRayFitterEditor, 0); // Editor for AliEveCosmicRayFitter class.
49 };
50
51 #endif