3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //-------------------------------------------------------------------------
10 // AliTagFrame class that describes the event tag frame of the GUI
12 // Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
13 //-------------------------------------------------------------------------
17 //////////////////////////////////////////////////////////////////////////
21 // Event tag tab of the GUI. //
23 //////////////////////////////////////////////////////////////////////////
29 class TGVerticalFrame;
31 class TGNumberEntryField;
39 //___________________________________________________________________________
40 class AliTagFrame : public TGTransientFrame {
42 AliTagFrame(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options, const char* text, Int_t tagId, ETagRangeType range);
45 Int_t GetRangeMin() const {return fMin;}
46 Int_t GetRangeMax() const {return fMax;}
50 //___________________________________________________________________________
52 AliTagFrame(const AliTagFrame&); // copy ctor
53 AliTagFrame& operator= (const AliTagFrame&); // assignment op
55 // methods to build the GUI
56 void CreateTagName(const char* name);
57 void CreateTagRange(TGVerticalFrame* frame, TGNumberEntryField*& entry, const char *name);
58 void CreateTagButton();
60 void (AliTagFrame::*fTagCutMethods [3]) (void); //tag fields
62 Int_t fMin; // min range
63 Int_t fMax; // max range
64 ETagRangeType fRange; // range type
66 TGNumberEntryField *fEntry1, *fEntry2; //range entry fields
68 TGButton *fButton; //button
69 TGVerticalFrame *fVFrame1, *fVFrame2; //vertical frames
71 ClassDef(AliTagFrame, 0) // Tag Frame