1 #ifndef ALIMUONALIGNMENTCOMPAREDIALOG_H
2 #define ALIMUONALIGNMENTCOMPAREDIALOG_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMUONAlignmentCompareDialog
13 /// Authors Philippe Pillot, Laurent Aphecetche, Subatech
19 class AliMUONVTrackerData;
22 class TGCompositeFrame;
25 class AliMUONAlignmentCompareDialog : public TGTransientFrame
28 AliMUONAlignmentCompareDialog(const TGWindow* p = 0, const TGWindow* main = 0, UInt_t w = 1, UInt_t h = 1);
29 virtual ~AliMUONAlignmentCompareDialog();
37 AliMUONAlignmentCompareDialog(const AliMUONAlignmentCompareDialog& rhs);
39 AliMUONAlignmentCompareDialog& operator=(const AliMUONAlignmentCompareDialog& rhs);
41 AliMUONVTrackerData* CompareAlignment(const char* ocdbPathForAlign1, Int_t run1,
42 const char* ocdbPathForAlign2, Int_t run2);
44 void AddInput(TGCompositeFrame* frame, const char* msg, TGTextEntry*& text, TGNumberEntry*& run);
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
60 ClassDef(AliMUONAlignmentCompareDialog,1) // Dialog to select two data sources to compare