Line data Source code
1 : #ifndef ALIMUONTRACKERDATACOMPAREDIALOG_H
2 : #define ALIMUONTRACKERDATACOMPAREDIALOG_H
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : // $Id$
8 :
9 : /// \ingroup graphics
10 : /// \class AliMUONTrackerDataCompareDialog
11 : /// \brief
12 : ///
13 : /// Author Laurent Aphecetche, Subatech
14 :
15 : #ifndef ROOT_TGFrame
16 : # include "TGFrame.h"
17 : #endif
18 :
19 : #include "AliMUONTrackerData.h"
20 :
21 :
22 : class TGButtonGroup;
23 : class TGComboBox;
24 : class TGCompositeFrame;
25 : class TGTextEntry;
26 :
27 : class AliMUONTrackerDataCompareDialog : public TGTransientFrame
28 : {
29 : public:
30 : AliMUONTrackerDataCompareDialog(const TGWindow* p = 0, const TGWindow* main = 0, UInt_t w = 1, UInt_t h = 1);
31 : virtual ~AliMUONTrackerDataCompareDialog();
32 :
33 : void DoOK();
34 : void DoCancel();
35 :
36 : private:
37 :
38 : /// not defined
39 : AliMUONTrackerDataCompareDialog(const AliMUONTrackerDataCompareDialog& rhs);
40 : /// not defined
41 : AliMUONTrackerDataCompareDialog& operator=(const AliMUONTrackerDataCompareDialog& rhs);
42 :
43 : void CompareData(const char* d1name, const char* d2name, AliMUONTrackerData::EDiffType difftype) const;
44 :
45 : private:
46 :
47 : TGCompositeFrame* fF1; ///< frame for data source 1 selection
48 : TGComboBox* fData1; ///< to select first data
49 : TGCompositeFrame* fF2; ///< frame for data source 2 selection
50 : TGComboBox* fData2; ///< to select second data
51 : TGCompositeFrame* fF3; ///< frame for difference type selection
52 : TGComboBox* fDiffType; ///< to select the kind of difference to make
53 : TGCompositeFrame* fF4; ///< frame for output basename selection
54 : TGTextEntry* fBasename; ///< basename of resulting (diff-ed) data
55 : TGCompositeFrame* fButtonFrame; ///< to hold OK and Cancel buttons
56 : TGTextButton* fOK; ///< ok button
57 : TGTextButton* fCancel; ///< cancel button
58 :
59 12 : ClassDef(AliMUONTrackerDataCompareDialog,2) // Dialog to select two data sources to compare
60 : };
61 :
62 : #endif
|