2 // Author: Matevz Tadel 2007
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 **************************************************************************/
10 //-----------------------------------------------------------------------------
11 // This code defines the Editor coming with the visualisation of cascades,
14 // Origin : Boris Hippolyte, IPHC (hippolyt@in2p3.fr)
15 // Modified : Antonin Maire, April 2009, IPHC (antonin.maire@cern.ch)
16 //-----------------------------------------------------------------------------
19 #ifndef ALIEVECASCADEEDITOR_H
20 #define ALIEVECASCADEEDITOR_H
22 #include "TGedFrame.h"
26 //class TGCheckButton;
27 //class TGNumberEntry;
28 //class TGColorSelect;
32 //______________________________________________________________________________
33 // Short description of AliEveCascadeEditor
36 class AliEveCascadeEditor : public TGedFrame
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() {}
43 virtual void SetModel(TObject* obj);
45 // Declare callback/slot methods
47 void DisplayDetailed();
48 void DisplayMassHyp();
51 AliEveCascade *fM; //! Model object.
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
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
66 AliEveCascadeEditor(const AliEveCascadeEditor&); // Not implemented
67 AliEveCascadeEditor& operator=(const AliEveCascadeEditor&); // Not implemented
69 ClassDef(AliEveCascadeEditor, 0); // GUI editor for AliEveCascade.