]>
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 | **************************************************************************/ | |
9851a663 | 9 | |
10 | //----------------------------------------------------------------------------- | |
11 | // This code defines the Editor coming with the visualisation of cascades, | |
12 | // within AliEVE | |
13 | // | |
14 | // Origin : Boris Hippolyte, IPHC (hippolyt@in2p3.fr) | |
15 | // Modified : Antonin Maire, April 2009, IPHC (antonin.maire@cern.ch) | |
16 | //----------------------------------------------------------------------------- | |
17 | ||
2991d609 | 18 | |
19 | #ifndef ALIEVECASCADEEDITOR_H | |
20 | #define ALIEVECASCADEEDITOR_H | |
21 | ||
22 | #include "TGedFrame.h" | |
23 | ||
24 | class TGButton; | |
9851a663 | 25 | class TGLabel; |
26 | //class TGCheckButton; | |
27 | //class TGNumberEntry; | |
28 | //class TGColorSelect; | |
2991d609 | 29 | |
30 | class AliEveCascade; | |
31 | ||
32 | //______________________________________________________________________________ | |
33 | // Short description of AliEveCascadeEditor | |
34 | // | |
35 | ||
36 | class AliEveCascadeEditor : public TGedFrame | |
37 | { | |
38 | public: | |
39 | AliEveCascadeEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
40 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
41 | virtual ~AliEveCascadeEditor() {} | |
42 | ||
43 | virtual void SetModel(TObject* obj); | |
44 | ||
45 | // Declare callback/slot methods | |
46 | // void DoXYZZ(); | |
47 | void DisplayDetailed(); | |
9851a663 | 48 | void DisplayMassHyp(); |
2991d609 | 49 | |
50 | protected: | |
9851a663 | 51 | AliEveCascade *fM; //! Model object. |
2991d609 | 52 | |
9851a663 | 53 | TGLabel *fInfoLabelRadius; //! label about transverse radius decay for the cascade |
54 | TGLabel *fInfoLabelDCA; //! label about the DCA between Xi daughters | |
55 | TGLabel *fInfoLabelCharge; //! label about the charge of the cascade | |
56 | TGLabel *fInfoLabelPhi; //! label about phi | |
57 | TGLabel *fInfoLabelTheta; //! label about theta | |
58 | TGLabel *fInfoLabelPtot; //! label about total momentum, Ptot | |
59 | TGLabel *fInfoLabelPt; //! label about transverse momentum, Pt | |
60 | TGLabel *fInfoLabelEta; //! label about pseudo-rapidity | |
61 | ||
62 | TGButton *fXButtonDetailedView; //! button to get the detailed view | |
63 | TGButton *fXButtonMassHyp; //! button to printf the calculation of eff inv mass, under Xi and Omega hypotheses | |
2991d609 | 64 | |
65 | private: | |
66 | AliEveCascadeEditor(const AliEveCascadeEditor&); // Not implemented | |
67 | AliEveCascadeEditor& operator=(const AliEveCascadeEditor&); // Not implemented | |
68 | ||
69 | ClassDef(AliEveCascadeEditor, 0); // GUI editor for AliEveCascade. | |
70 | }; | |
71 | ||
72 | #endif |