]>
Commit | Line | Data |
---|---|---|
2991d609 | 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 | ||
9851a663 | 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 | ||
2991d609 | 21 | |
9851a663 | 22 | //class TGButton; |
23 | //class TGCheckButton; | |
24 | //class TGNumberEntry; | |
25 | //class TGColorSelect; | |
2991d609 | 26 | class TEveGDoubleValuator; |
9851a663 | 27 | class TGComboBox; |
2991d609 | 28 | |
29 | class AliEveCascadeList; | |
30 | ||
9851a663 | 31 | #include "TGedFrame.h" |
32 | ||
2991d609 | 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(); | |
9851a663 | 50 | |
51 | void DoSelectInvMassHyp(Int_t rInvMassHyp); | |
52 | void DoMinMaxInvariantMass(); | |
2991d609 | 53 | |
54 | protected: | |
9851a663 | 55 | AliEveCascadeList *fM; //! Model object. |
2991d609 | 56 | |
57 | // Declare widgets | |
58 | // TGSomeWidget* fXYZZ; | |
9851a663 | 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 | |
2991d609 | 65 | |
66 | private: | |
67 | AliEveCascadeListEditor(const AliEveCascadeListEditor&); // Not implemented | |
68 | AliEveCascadeListEditor& operator=(const AliEveCascadeListEditor&); // Not implemented | |
69 | ||
9851a663 | 70 | ClassDef(AliEveCascadeListEditor, 1); // GUI editor for AliEveCascadeList. |
2991d609 | 71 | }; |
72 | ||
73 | #endif |