]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveBase/AliEveCascadeListEditor.h
Update master to aliroot
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveCascadeListEditor.h
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef ALIEVECASCADELISTEDITOR_H
11 #define ALIEVECASCADELISTEDITOR_H
12
13 //------------------------------------------------------------------------------
14 // This code defines the List Editor coming with the visualisation of cascades,
15 // within AliEVE
16 //
17 // Origin :   Boris Hippolyte, IPHC (hippolyt@in2p3.fr)
18 // Modified : Antonin Maire, April 2009, IPHC (antonin.maire@cern.ch)
19 //------------------------------------------------------------------------------
20
21
22 //class TGButton;
23 //class TGCheckButton;
24 //class TGNumberEntry;
25 //class TGColorSelect;
26 class TEveGDoubleValuator;
27 class TGComboBox;
28
29 class AliEveCascadeList;
30
31 #include "TGedFrame.h"
32
33 //______________________________________________________________________________
34 // Short description of AliEveCascadeListEditor
35 //
36
37 class AliEveCascadeListEditor : public TGedFrame
38 {
39 public:
40   AliEveCascadeListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
41                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
42   virtual ~AliEveCascadeListEditor() {}
43
44   virtual void SetModel(TObject* obj);
45
46   // Declare callback/slot methods
47   void DoMinMaxRCut();
48   void DoMinMaxDaughterDCA();
49   void DoMinMaxPt();
50   
51   void DoSelectInvMassHyp(Int_t rInvMassHyp);
52   void DoMinMaxInvariantMass();
53
54 protected:
55   AliEveCascadeList    *fM; //! Model object.
56
57   // Declare widgets
58   // TGSomeWidget*   fXYZZ;
59   TGComboBox*          fCascadeSpecies;         //! Box meant to choose the mass hyp. to be applied : Xi or Omega ?
60   
61   TEveGDoubleValuator* fMinMaxRCut;             //! Transverse radius range targeted by the user
62   TEveGDoubleValuator* fMinMaxDaughterDCA;      //! DCA (between Xi daughters) range targeted by the user
63   TEveGDoubleValuator* fMinMaxPt;               //! Pt range targeted by the user
64   TEveGDoubleValuator* fMinMaxInvariantMass;    //! Inv Mass range targeted by the user
65
66 private:
67   AliEveCascadeListEditor(const AliEveCascadeListEditor&);            // Not implemented
68   AliEveCascadeListEditor& operator=(const AliEveCascadeListEditor&); // Not implemented
69
70   ClassDef(AliEveCascadeListEditor, 1); // GUI editor for AliEveCascadeList.
71 };
72
73 #endif