Line data Source code
1 : #ifndef ALIMUONALIGNMENTCOMPAREDIALOG_H
2 : #define ALIMUONALIGNMENTCOMPAREDIALOG_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 AliMUONAlignmentCompareDialog
11 : /// \brief
12 : ///
13 : /// Authors Philippe Pillot, Laurent Aphecetche, Subatech
14 :
15 : #ifndef ROOT_TGFrame
16 : # include "TGFrame.h"
17 : #endif
18 :
19 : class AliMUONVTrackerData;
20 : class TGButtonGroup;
21 : class TGNumberEntry;
22 : class TGCompositeFrame;
23 : class TGTextEntry;
24 :
25 : class AliMUONAlignmentCompareDialog : public TGTransientFrame
26 : {
27 : public:
28 : AliMUONAlignmentCompareDialog(const TGWindow* p = 0, const TGWindow* main = 0, UInt_t w = 1, UInt_t h = 1);
29 : virtual ~AliMUONAlignmentCompareDialog();
30 :
31 : void DoOK();
32 : void DoCancel();
33 :
34 : private:
35 :
36 : /// not defined
37 : AliMUONAlignmentCompareDialog(const AliMUONAlignmentCompareDialog& rhs);
38 : /// not defined
39 : AliMUONAlignmentCompareDialog& operator=(const AliMUONAlignmentCompareDialog& rhs);
40 :
41 : AliMUONVTrackerData* CompareAlignment(const char* ocdbPathForAlign1, Int_t run1,
42 : const char* ocdbPathForAlign2, Int_t run2);
43 :
44 : void AddInput(TGCompositeFrame* frame, const char* msg, TGTextEntry*& text, TGNumberEntry*& run);
45 :
46 : private:
47 :
48 : TGCompositeFrame* fF1; ///< frame for align 1 selection
49 : TGTextEntry* fOCDBPath1; ///< to select first alignment path
50 : TGNumberEntry* fRun1; ///< to select first run
51 : TGCompositeFrame* fF2; ///< frame for align 2 selection
52 : TGTextEntry* fOCDBPath2; ///< to select second alignment path
53 : TGNumberEntry* fRun2; ///< to select second run
54 : TGCompositeFrame* fF3; ///< frame for difference type selection
55 : TGTextEntry* fBasename; ///< basename of resulting (diff-ed) data
56 : TGCompositeFrame* fButtonFrame; ///< to hold OK and Cancel buttons
57 : TGTextButton* fOK; ///< ok button
58 : TGTextButton* fCancel; ///< cancel button
59 :
60 12 : ClassDef(AliMUONAlignmentCompareDialog,1) // Dialog to select two data sources to compare
61 : };
62 :
63 : #endif
|