1 #ifndef ALITAGANALYSISFRAME_H
2 #define ALITAGANALYSISFRAME_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
9 // Class AliTagAnalysisFrame
10 // AliTagAnalysisFrame class that describes the event tag frame of the GUI
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
19 // AliTagAnalysisFrame //
21 // Event tag tab of the GUI. //
23 //////////////////////////////////////////////////////////////////////////
30 class TGVerticalFrame;
35 class TGTransientFrame;
42 class AliDetectorTagCuts;
43 class AliEventTagCuts;
46 class AliAlienBrowser;
50 //___________________________________________________________________________
51 class AliTagAnalysisFrame : public TGMainFrame {
53 AliTagAnalysisFrame(const TGWindow *main, UInt_t w, UInt_t h, AliAnalysisGUI* a=0);
54 ~AliTagAnalysisFrame();
56 //___________________________________________________________________________
60 void OnDoubleClick(TGListTreeItem* item, Int_t btn);
62 void InsertTagCutsRangeLocal();
63 void InsertTagCutsRangeGrid();
66 void ProcessSelector(const char* selectorfile);
68 //___________________________________________________________________________
70 AliTagAnalysisFrame(const AliTagAnalysisFrame&); // cp ctor
71 AliTagAnalysisFrame& operator= (const AliTagAnalysisFrame&); // op=
74 void BuildLocalGroup (TGCompositeFrame* frame);
75 void BuildGridGroup (TGCompositeFrame* frame);
76 void InsertTagCutsRange(Int_t id);
77 void AddResult (const char* line);
79 const Int_t fkNumberOfTags; //event tags
81 TGVerticalFrame *fVFrame1, *fVFrame2; //vertical frames
82 TGGroupFrame *fGroup1, *fGroup2, *fGroup3; //group of frames
84 AliAnalysisGUI *fAliAnalysisGUI; //analysis gui pointer
85 AliTagFrame *fTagFrame; //tag frame pointer
86 AliAlienBrowser *fAliEnBrowser; //alien browser pointer
89 TGLabel *fLocalLabel1; //label - local tags
90 TGTextEntry *fLocalPath; //text box - local tags
91 TGButton *fLocalButton, *fButtonInsert, *fButtonRun; //buttons
92 TGComboBox *fComboEventTagCut; //combo box
95 TGLabel *fGridLabel1; //label - grid tags
96 TGTextEntry *fGridPath; //text box - grid tags
97 TGButton *fGridButton, *fButtonInsert2, *fButtonRun2; //buttons
98 TGComboBox *fComboEventTagCut2; //combo box
100 TGridResult *fTagResult; //grid result
101 TChain *fAnalysisChain; //tchain object
103 TGListBox *fListBox; //list box
104 TGTransientFrame *fBrowser; //frame
105 TGButton *fBrowserButton; //browse button
107 // AliRoot Tag cut analysis
108 AliTagAnalysis *fAliTagAnalysis; //alitaganalysis object
109 AliRunTagCuts *fAliRunCuts; //run cuts object
110 AliLHCTagCuts *fAliLHCCuts; //lhc cuts object
111 AliDetectorTagCuts *fAliDetectorCuts; //detector cuts object
112 AliEventTagCuts *fAliEventCuts; //event cuts object
114 const char **fEventTagCutsName; //event tag names
116 ClassDef(AliTagAnalysisFrame, 0); // Tag Analysis Frame